Quantcast
Channel: SAP NetWeaver Administrator
Viewing all 185 articles
Browse latest View live

R3trans, tp and transports-How are they all connected with SP/SAINT/SUM

$
0
0

R3trans, tp and transports-How are they all connected.

 

It is important that a transport administrator or a Basis administrator understands these concepts.

 

tp: tp is a utility for controlling transports.

 

    tp calls the following:

 

    R3trans is usually called in particular from tp

 

  1. R3 trans --Import DDIC objects into the data base
  2. sapevent is triggered--RDD jobs are scheduled--Activates DDIC objects (wp in SAP are allocated)
  3. R3trans--the main import takes place
  4. sapevt--XPRAS (wp in SAP are allocated)

 

When we assign R3trans parallel process to support packages or SAINT upgrades or SUM upgrades.

 

How are the R3trans process allocated?

 

R3trans is an operating system process, so when we assign parallel process those many operating system processes will be performing the transports.

 

Only while Activating the DDIC objects and performing the XPRAS, these operating system processes may call the SAP work process.

 

For example, let us assume that while performing the support packages, we have allocated 16 R3trans parallel process.

 

Grep the total number of wp from the operating system.

 

(16+parent process+grep process)

 

$> ps -ef | grep R3trans | wc –l

18

R3trans.jpg

Note: We cannot assign as many wp’s as we wish, this will utilize the CPU, I/O operations will be consumed to the maximum.


Hope this is useful to get the basics


Regards,

Sebastian


SAP Portal mass user creation

$
0
0

Step 1: Prepare an excel sheet with all the required columns.



 

User IDFirst nameLast NameGroup or roleEmail address


Step 2: Click on the option Step By Step Merge Wizard in MS word document


step2.png


Step 3: Select the radio button next to Letters on the right pane and click Next

 

step3.png

 

Step 4: Choose radio Button next to the Use Current Document and click on Next

 

step4.png

 

Step 5: Click on Browse and chose the excel file created

 

step5.1.pngstep5.2.png

 

 

click ok

 

Then copy below in the word document =

 

User]

uid=

last_name=

first_name=

email_address=

password=

group=

 

Step 6: Map the columns with the required fields after you copy the format from an existing exported user file


now map this fields with the corresponding  excel fields. To map this put cursor on uid and click on Insert merge field as shown below. Complete this for all fileds

 

5.2.jpg

 

6.1.jpg

6.2.jpg6.3.jpg

 

click ok

 

Once you click on ok you will get all excel fields & their value mapped. Now just select all from word document and paste into one text file.

 

7.4.JPG

 

Step 7: Login to SAP Portal User administration  and go to User administartion - Import


7.3.JPG


7.2.JPG7.3.JPG

All the users in excel got created now.

DMIS 2011 add-on

$
0
0

We had DMIS 2006 component installed in NW 701 / EHP 4 server and wanted to upgrade it to DMIS 2011 component.

 

During the installation, DMIS 2011 add-on gave below error in saint.

 

We tried for a day to find some notes in marketplace for this issue and finally raised a OSS. SAP was able to give the solution in first attempt

 

Table cnvc_cce_filter did not have tarbart entry in IAORA table

 

Se11 technical settings below

 

This data class  was missing in IAORA table

 

we could see data class was available in TAORA and DDART tables but not in IAORA table

 

 

 

Added the entry to IAORA table and reran saint which fixed the issue

 

 

I believe this blog will help others who might face this issue and can solve it quickly rather than spending time on marketplace and google.

 

Thanks,

Ranjith

Back to Basis - The Evolution

$
0
0

I wanted to follow-up on my original Back to Basis Blog I posted almost 6 years ago, but instead of adding to the list of never ending tasks and products I will like to focus on the evolution of the role itself.

 

Traditionally your regular SAP Basis was a trusted workhorse that spent his days mainly working in the background (also known as the grumpy fellow in the corner that most people were afraid to talk to), as any other IT job Basis was almost invisible in a business as usual scenario, as long as the system was running the business had little interaction with us.

 

In the last few years as SAP products evolved and integrated with almost everything the SAP Basis role also evolved drastically, raising from a necessary evil into a core position to the point that now a days most of the SAP Technical Architects come from a SAP Basis background.

 

But Why?... The answer is simple: No-one knows your SAP Landscape as SAP Basis does!

 

Let me explain:

 

To begin with we gather the business data required for the systems sizing, which goes all the way from the number of users and their projected activity levels to the number of invoices produced at peak hours.

 

We analyze the output of the sizing and choose the architecture (Liaising with business, infrastructure, partner’s influences, etc…. I can go on and on about how Basis can increase the ROI with basic choices but I won’t, that’s a different subject)

 

We build the systems from scratch.

 

We integrate the systems with each other and with other 3rd party systems covered by a particular project which is a big advantage from the understanding of the SAP Landscape as a whole, meaning:

- We know WHAT integrates with WHAT.

- We know the WHY.

- We know HOW.

 

We understand the business processes and translate them into technical solutions. We are well suited to tell the business what are the options available and list the best practices.

 

No other consultant can tell you how your BW infocubes are filled and at the same time tell you how products and stock are CIF’ed between ERP and SCM, how the SRM workflow works, or how the different PI Channels handle the messages.

 

To conclude,

 

Our role gives us a unique perspective that let us understand the intrinsic relation in between people and system. That knowledge makes us the right choice when searching for a SAP Technical Architect.

 

So, the next time you find yourself in a pickle, talk to your Basis… If we don’t have the answer we know where to find it.

 

Love to hear your comments

System copy-import fails with error ORA-01452

$
0
0

Hi Folks,

 

When doing system copy import for oracle database, sometime we are hitting error "ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found".

 

The description of  ORA-01452 clearly tells us there are duplicate keys in the table, you cannot create unique index. As the name "unique index" means the index cannot include duplicate keys, if we have duplicate keys in the table, then we cannot create unique index on the corresponding columns, thus error ORA-01452 occurs.

 

When this error ORA-01452 occurs, we know below:

1. Target system:

table to be created unique index has duplicate keys

 

2. Source system:

2.1 the table content should be the same with target system (this is what system copy does!), so there should be duplicate keys on source table already!

2.2 the unique index already in the table (that is why import is trying to create unique index on target system)

 

We already have unique index on source table, how this could happen that source system has duplicate keys?

-Answer: Probably the index has corruption, which does not do the unique check correctly.


Then we need to check below to double confirm this assumption:

 

1. count the entries via table full scan
SELECT /*+ full(<table_name>) */ COUNT(*) FROM <schema>.<table_name>;


2. count the entries via unique index

SELECT /*+ index(<table_name> <unique index name>) */ COUNT(*) FROM <schema>.<table_name>;

or

SELECT COUNT(*) FROM <schema>.<table_name>;


If the two count results are different, then we can perform the corruption check:

 

analyze table <schema>.<table_name> validate structure cascade online;


If indeed, the index has corruption, we cannot simply solve it via rebuilding. We have to follow up SAP note 23237 and 11369 to remove the duplicates first. Please note the application consultant who owns the table should be responsible for which entries can be removed, which cannot removed. DO NOT REMOVE ANY ENTRIES IF YOU ARE NOT SURE. Afterwards we can recreate the unique index on source system.


Above can be a guideline to think about this problem, because there could be TINY possibility that system copy-import insert the same line one more times.

 

Reference SAP notes:

 

#11369 - ORA-1452 during import after export from other system

#23237 - duplicate keys, duplicate rows, duplicate records

#1413928 - Index corruption/wrong results after rebuild index ONLINE

 

Best regards,
James

SUM SP13-14 - FAIL: SSSLERR_PEER_CERT_UNTRUSTED (WSATYPE_NOT_FOUND

$
0
0

Hi All,

 

When we are running the SUM we are getting below errors

 

ERROR 1 :  Specify Credential Phase

 

The following problem has occurred during step execution: com.sap.sdt.tools.sysinfo.InstanceDetectorException: The update tool was unable to connect to the SAPControl web service on any of the detected instance numbers. Check that the SAP Start Services are running for all instances in the cluster. See SAP Note 1401712 for further information.

The update tool is unable to detect the instances information for instance number: 0 on host: null via the SAPCONTROL web service API. Either the SAP Start Service associated with this instance is not running or a required functionality is not supported by the current version of the Kernel. See SAP Note 1401712 for further information.

Sapcontrol client could not perform action get instance properties on instance 0

Return code condition success evaluated to false for process sapcontrol for action get instance properties

 

 

ERROR 2 : Execution Phase

 

Could not start instance with number 5. Could not send the command to start the instance with number <$$> on host <hostname>. Detected the instance check started has an Gateway feature. It cannot be handled by SUM and will be ignored.  Return code condition success evaluated to false for process sapcontrol for action check started.

 

You need to open the corresponding INPUT_USER_PASSWORD_01.log and RESTART-SYSTEM-JAVAONLY_XX.LOG.

 

Jan 22, 2016 11:07:17 AM [Info  ]: Process ID 49, name sapcontrol has been started.

Jan 22, 2016 11:07:17 AM [Info  ]:   Command line:sapcontrol -nr 0 -host localhost -user <sid>adm <SecureField> -prot NI_HTTPS -function GetInstanceProperties

Jan 22, 2016 11:07:17 AM [Info  ]:   Standard out: F:\sum\SUM\sdt\tmp\SAPCONTROL_GETINSTANCEPROPERTIES_0_08.OUT

Jan 22, 2016 11:07:17 AM [Info  ]: Process ID 49 has been started.

Jan 22, 2016 11:07:17 AM [Info  ]: Waiting for process ID 49, name sapcontrol to finish.

Jan 22, 2016 11:07:17 AM [Info  ]: Process ID 49, name sapcontrol has been finished, exit code 1.

 

 

Since the exit code value is 1 , it means the sapcontrol has gone into error. So you need copied the command from the corresponding log file and run it on command prompt or os level of unix/linux. Once you fired the command you will get a error SSSLERR_PEER_CERT_UNTRUSTED (WSATYPE_NOT_FOUND)

 

sapcontrol -nr 0 -host localhost -user <sid>adm <SecureField> -prot NI_HTTPS -function GetInstanceProperties

 

 

 

sapparam: sapargv(argc, argv) has not been called!

sapparam(1c): No Profile used.

sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline

 

22.01.2016 11:45:16

GetInstanceProperties

FAIL: SSSLERR_PEER_CERT_UNTRUSTED (WSATYPE_NOT_FOUND: The specified class was no

t found.), SapSSLSessionStart failed in plugin_fopen()

 

 

You need to run the same command with an argument -debug

 

sapcontrol -nr 0 -host localhost -user <sid>adm <SecureField> -prot NI_HTTPS -function GetInstanceProperties -debug

 

You will get a trace of the problem with SSSLERR_PEER_CERT_UNTRUSTED (WSATYPE_NOT_FOUND)

 

SSL.PNG

 

 

Analyze the log. Now you need to copy the content from BEGIN CERTIFICATE to END CERTIFICATE in a notepad as below and save the notepad with .cer extension

cert.PNG

 

Save the file with .cert extension.

 

Now you need to add this certificate in your SAPSSLC.PSE file by firing the below command.

 

sapgenpse maintain_pk -p SAPSSLC.PSE -a <Give the location of .cert file>

 

Once done , then you need to retry the step in SUM.

 

With Regards

Ashutosh Chaturvedi

Is your SAP GUI Connection encrypted? Can someone eavesdrop your passwords?

$
0
0

SNC Client Encryption

 

It was nice to hear that we could secure SAP GUI communication.

Most customers are not aware of this and use SAP GUI w/o encryption in clear text mode.

 

SNC Client Encryption is a tool that could be used for encryption without license fee.

I configured our ABAP Systems and SAP GUIs for encryption with the help of SAP notes, guides, help pages and scn blogs.

 

Like Phillip Hofmeister said in his blog I also had some difficulties for finding the right guide for configuring SNC Client Encryption.

Then I decided writing this blog for newer versions of SAP and CommonCryptoLib.

 

You can go below links to have detailed information.

 

I want to share how I did the configuration step by step.

 

Notes and links that needs to be read;

   How SNC Client Encryption Works

   Using SNC Client Encryption for Password Logon

   1643878 - Release Notes for SNC Client Encryption

   2185235 - Using SNC Client Encryption (SCE) for Encrypting SAP GUI Connection with CommonCryptoLib

(This note has the right configuration Guide -Configuring SNC Client Encryption with CCL.pdf- that I realized lately)

 

I tried to follow the help page but unfortunately it was not clear and was not a step by step guide. (Some guys were complaining about this kinds of telling to do the things but not showing how to do that documents in discussions and blogs) I lost some time for this reason. At last I found the right guide attached to the note 2185235 that is very easy to use and helpful. No need to other documents.

 

Configurations Steps that I performed;


1 - Kernel Patch from 7.20 to 7.22 SP 23 (So CommonCryptoLib 8.4.30 is available in Kernel.)

   Our system's Kernel version was low so I changed the Kernel to 7.22 that is including the prerequisite CommonCryptoLib version 8.4.30 or higher condition.

 

2 - Check and apply the notes 1561161, 1580808, 1616598, 1617641 if applicable.

 

3 - Created an AD user

I asked System Administrators to create a user with below properties.

 

Logon Name             : SNC-CE-USER

First Name             : SNC

Last Name              : Client Encryption User

Password               : <Define a Password>

Service Principal Name : SAP/SNC-CE-USER

 

User Cannot Change Password

Password nnever expires

 

You can check SPN with below command.

setspn -Q SAP/SNC-CE-USER      

SNC_setspn.jpg

 

4 - Defined below SNC parameters

Using RZ10 transaction you must define below parameters to enable SNC

 

snc/enable                  = 1

snc/permit_insecure_start   = 1

snc/accept_insecure_gui     = 1

snc/accept_insecure_rfc     = 1

snc/accept_insecure_cpic    = 1

snc/r3int_rfc_qop           = 8

snc/r3int_rfc_secure        = 0

snc/data_protection/use     = 3

snc/data_protection/min     = 2

snc/data_protection/max     = 3

snc/force_login_screen      = 0

snc/identity/as             = p:CN=SNC-CE-USER@MYDOMAIN.COM

snc/gssapi_lib              = D:\usr\sap\<SID>\DVEBMGS00\exe\sapcrypto.dll

 

5 -  Create your Kerberos keytab

 

Login to your SAP Systems OS with sidadm and using cmd create the keytab

 

set SECUDIR=D:\usr\sap\<SID>\DVEBMGS00\sec

 

sapgenpse keytab -p SAPSNCSKERB.pse -x  <password for PSE> -y  <password of user SNC-CE-USER> -a SNC-CE-USER@MYDOMAIN.COM

sapgenpse_1.jpg

sapgenpse seclogin -p SAPSNCSKERB.pse -x <password for PSE> -O SAPService<SID>      

sapgenpse_2.jpg

You can check the PSE with below command;

sapgenpse keytab -p SAPSNCSKERB.pse -x <password for PSE> -nopsegen      

sapgenpse_3.jpg

You can check if the credentials were successfully created with below command

sapgenpse seclogin -l

sapgenpse_4.jpg

 

6 - Restart your SAP system

When you restart SAP system if there is problem with keytab SAP system does not start. That time you can change snc/enable parameter to 0 and restart the system. After correcting the inconsistencies, you need to enable SNC again and restart your system.

You can check dev_wX trace files for troubleshooting the SNCinit problems.

 

7- Install SNC Client Encryption on the Windows hosts for the SAP GUI for Windows clients.

You install the SNC Client Encryption program on clients systems.

SNC_CE.jpg

 

You can check if SNC_LIB environment parameter is defined after the installation.

(i.e. SNC_LIB = C:\Program Files (x86)\SAP\FrontEnd\SAP GUI\Encryption\secgss.dll)

 

8 - Configure SAP GUI for Windows to use SNC Client Encryption.

SNC_GUI.jpg

 

9 - Check the GUI connection

When you connect to the system you could see a lock symbol on the left bottom corner of the GUI screen like below.

      SNC_encrypted.jpg

     If you could see this lock on your GUIs you have managed configuring SNC Client Encryption, too.

     Congratulations.

 


Links that I visited and had some knowledge for troubleshooting

https://scn.sap.com/thread/3544987

https://scn.sap.com/thread/3813876

https://scn.sap.com/thread/3389036

http://scn.sap.com/docs/DOC-45138

http://wiki.scn.sap.com/wiki/display/Security/SNC+Client+Encryption

SNC: Using SNC to Encrypt Traffic - Client/Server (No SSO)

Installation, Configuration, and Administration Guide SAP NetWeaver Single Sign-On SP1 Secure Login Library

SAP Single Sign-On 2.0 SP04 Document Version: 1.0 - 2014-10-28 Secure Login for SAP Single Sign-On Implementation Guide

 

Wishes;

  • I wish SAP could have mentioned the note 2185235 and attached document in the help page.
  • I wish SAPA could provide encryption without these kinds of many configuration steps. It could have been done with activation of a parameter and check box filling on SAP GUI.

 

Questions;

  • Are your customers (for consultants) or are you aware of clear text communication between GUI and SAP Server?
  • Do you think SNC Client Encryption is a useful tool?
  • Do you use SNC Client Encryption  for your systems?


Thanks for your interest.




SAPHOSTAGENT 721 SP9 is pubulished.


SAPHOSTAGENT 721 SP10 is pubulished.

Need to change before its too Late!!!

$
0
0

Dear Experts,

 

My Self SAP R/3 4.0B who was supported by Solaris 5.1 and Oracle 8.1. We have been together for a long time supporting each other to full fill the requirement of our co-workers. But now i am looking for change and growth in the valley of SAP. During the time i have read the below phrase and decided to have a change!!!

 

                                              

 

                                                             Change is the law of life.

                              And those who look only to the past or present are

                                               certain to miss the future.

                                                                       BY John F Kennedy




                    So i want to upgrade by self to the new platform and yes i know without a struggle there will be no change.

                    Raodmap which i have chosen to upgrade myself is tuff but feasible to achieve it. So here i go with a ray of hope.



  Source System Configuration


 

Environment
Version
SAP SystemSAP R/3 4.0B
Operating SystemSolaris 5.1
DatabaseOracle 8.2

      


Target System Configuration



 

EnvironmentVersion
SAP SystemEHP7 for SAP ERP 6.0
Operating SystemLinux Suse SLES11
DatabaseOracle 11g



Migration Path Chosen by me for my New Destination


I have divided my journey in two parts which has  2migration_2SAP upgrade_1Oracle upgarde.


First migration consist of below environment and steps.


We have checked the SAP note 149065 for the below feasibility.


1. Performed system copy of source system to the below environment as per the sapnote 149065 (Export/import method)

2. After the system copy , Upgrade the system to 4.6C

3.  After the upgrade of the SAP system , Upgrade the oracle


 

Environment/System CopyVersion
SAP SystemSAP R/3 4.0B
Operating SystemLinux Suse SLES8
OracleOracle 9.2.0
SAP system UpgradeUpgrade the system from SAP R/3 4.0B to SAP R/3 4.6C
Oracle UpgradeUpgrade the oracle to 11g


Second Migration consist of below Environment and Steps.


1. Performed another system copy using backup/restore method as per the sapnote 1487754 and on the environment mentioned in the below table.

2. Upgrade the SAP System from SAP R/3 4.6C to EHP7 for SAP ERP 6.0


 

EnvironmentVersion
SAP SystemSAP R/3 4.6C
Operating SystemLinux Suse SLES 11
OracleOracle 11g
Upgrade the SAP SystemUpgrade the SAP System from SAP R/3 4.6


                                                           Overall Plan for my Change in the Valley of SAP


migration Path.PNG


Requesting all the Experts to share their views on this.


With Regards

Ashutosh Chaturvedi

SAP upgrade after upgrading oracle from 11g to 12C: ORA-00922

$
0
0

Dear Experts,

 

We have faced a issue while upgrading the SAP system from SAP Netweaver 7.0 to SAP Netweaver 7.4 in execution phase after upgrading the Oracle from 11g to 12c in SUBPHASE MAIN_NEWBAS/PARCONV_UPG_DS

 

 

 

Overview

 

In this phase, the application tables are adjusted to the structure of the target release. Here, several conversion program processes (in the SAP system) and tp processes run simultaneously.

It is essential that this phase is completed without any errors. If errors are ignored here, the view usually cannot be created in the PMVNTAB_UPG phase.

In this phase, problems may occur when you create secondary indexes. Since these are mainly required for performance optimization and not to ensure that the table key is unique, errors that occur when you create secondary indexes do not cause the phase to terminate, but instead they are displayed in the LONGPOST.LOG file after the downtime has passed.

 

Error Description

 

 

                                      SUMupg.PNG                        


After check the logs PARCONV.log and NCONV00.<SID> we find that it is not able to execute the CREATE command in command.

The error was  ORA-00922: missing or invalid option


4 EGT281 sql:

4 EGT231 "CREATE TABLE 'QCM8SALV_WD_ADMI'"

4 EGT231 "('CLNT' VARCHAR2 (000009)"

4 EGT231 "DEFAULT '000' NOT NULL,"

4 EGT231 "'OBJECT' VARCHAR2 (000090)"

4 EGT231 "DEFAULT ' ' NOT NULL,"

4 EGT231 "'VALUE' VARCHAR2 (000090)"

4 EGT231 "DEFAULT ' ' NOT NULL)"

4 EGT231 "PCTFREE 10"

4 EGT231 "PCTUSED 00"

4 EGT231 "INITRANS 001"

4 EGT231 "TABLESPACE PSAPSR3"

4 EGT231 "NOCOMPRESS"

4 EGT231      "NO INMEMORY"

4 EGT231 "STORAGE (INITIAL 0000000016 K"

4 EGT231 "NEXT 0000000040 K"

4 EGT231 "MINEXTENTS 0000000001"

4 EGT231 "MAXEXTENTS UNLIMITED"

4 EGT231 "PCTINCREASE 0000"

4 EGT231 "FREELISTS 001"

4 EGT231 "FREELIST GROUPS 01)"

2 ED0314 ORA-00922: missing or invalid option




SQL command has come up with some invalid option which are not supported with 11g but supported on 12C.


Now the question comes,  After upgrading the ORACLE from 11g to 12C , why the error ORA-00922: missing or invalid option is coming?


Yes , we have upgraded the oracle to 12C , which is true ,  but we have not maintained the compatible parameter for oracle to 12C. It was having a value for 11g.



After changing the parameter of  COMPATIBLE to '12.1.0.2.0'  from '11.2.0' the below sql query which was invalid earlier become valid for oracle 12c.


 

4 EGT281 sql:

4 EGT231 "CREATE TABLE 'QCM8SALV_WD_ADMI'"

4 EGT231 "('CLNT' VARCHAR2 (000009)"

4 EGT231 "DEFAULT '000' NOT NULL,"

4 EGT231 "'OBJECT' VARCHAR2 (000090)"

4 EGT231 "DEFAULT ' ' NOT NULL,"

4 EGT231 "'VALUE' VARCHAR2 (000090)"

4 EGT231 "DEFAULT ' ' NOT NULL)"

4 EGT231 "PCTFREE 10"

4 EGT231 "PCTUSED 00"

4 EGT231 "INITRANS 001"

4 EGT231 "TABLESPACE PSAPSR3"

4 EGT231 "NOCOMPRESS"

4 EGT231      "NO INMEMORY"

4 EGT231 "STORAGE (INITIAL 0000000016 K"

4 EGT231 "NEXT 0000000040 K"

4 EGT231 "MINEXTENTS 0000000001"

4 EGT231 "MAXEXTENTS UNLIMITED"

4 EGT231 "PCTINCREASE 0000"

4 EGT231 "FREELISTS 001"

4 EGT231 "FREELIST GROUPS 01)"


After this , we resume the SUM and it passed the error with a lightening speed.

 

With Regards

Ashutosh Chaturvedi

Does a permission make you install a system 3 times?

$
0
0

I want to share a case that I had when I was refreshing my quality system from the production system last week.

 

My system is ERP 6.0 EHP7 on HANA DB.

 

I did my system refresh according to the note "1844468 - Homogeneous system copy on SAP HANA". In this note there are two options. You can either run "Standart System " option or run "Database Refresh or move" option as seen below.

 

DBRefresh_1.jpg

Both option does the DB recovery in one of the installation steps.

First I run the Database Refresh option. During this run I got a warning after recovery step that was saying "A timeout occured while starting the database instance. Please check the database log and start the database manually before continuing." Here is the warning.

 

DBRefresh_2.jpg

So I checked the DB diagnostic files, saw nothing unusual and started the DB manually and finished the installation. I did not get any more error. But when I login to system I realized that the data of production system was not in my Qas system.

I checked the installation logs (sapinst.log) there I saw that DB recovered successfully. But no fresh data in Qas system. That was strange.

 

DBRefresh_3.jpg

I was suspicious about the recovery but could not find anything in logs. I supposed that this is because of Database Refresh so I run Standart System copy. Running standart system copy took the same warning either. I finished recovery process with manual start of database and finished the installation. Of course copy process was not successfull again. The Quality system's data was the old data again. This was strange too. What was the problem? Why I could not do the system copy that I did many times before.

 

As third try I uninstalled the system, deleted DB and rerun the standart system copy process. This time since I deleted the DB I got connection errors during installation. This brought something to my mind. I investigated the problem in detail and realized that there is an error in backup.log file. That was "Permission denied". Very simple thing that I forgot.

Here is the backup.log file content.

DBRefresh_4.jpg

After I changed the permissions of the backup files as seen below I rerun the installation and finished without any warning or error.

This installation was successfull also in refreshing the data.

DBRefresh_5.jpg

 

At last I was successful.

 

Lesson learnt for me;

  • Permissions are important things for linux systems
  • Donot ignore or underestimate any warnings during installations
  • Never give up you will succeed
  • Every problem is an opportunity

 

I wish no one encounters this kind of inconsistencies.

 

Regards,

Yuksel AKCINAR

 

SPAM / SAINT Update

$
0
0

When we try to update a Support Package, this issue can occur:img1.png
Details:

img2.png


This is because the SPAM and SAINT are not up to date.

 

To check the current SPAM version, you can also go to tcode SPAM, and check the top of the screen.


So, to download the latest version  for your spam:


https://support.sap.com/software/patches.html

 

"Browse Download Catalog" / "Additional Components" / "SAP SPAM/SAINT UPDATE", get the latest one.

 

Put the file downloaded in folder /usr/sap/trans/EPS/in of your system.

 

Then, log on client 000, and access the tcode SPAM, to import the file:

 

img4.pngimg4.1.png

 

Go to "import SPAM/SAINT", and confirm:

img5.1.png

img5.2.png

 

After that, just go to "import Queue":

 

img6.png

 

That´s it, Regards

http://rbrehmer.com

Client Import within Local Transport Directory

$
0
0

After the client exporting in source system, the client content transports are not automatically add to input queue of target system for non-sharing transport directory.

 

Current Situation:

There is not central transport directory for SAP transport domain.

SAP Development System -> local /usr/sap/trans

SAP Test System -> local /usr/sap/trans

SAP Production System -> local /usr/sap/trans

 

Then how to find the transport request of client data?

Transaction Code STMS -> Import Overview -> select target SAP system-> click extras -> other requests -> Find in other group -> In all transport groups, decide whether to start immediate or start in background.

Find in Other Groups.png

 

For more information, please refert to Finding Requests in Other Groups - Software Logistics - SAP Library

 

After finishing, the corresponding datafiles and cofiles for these transport request are automatically copied from source to target transport directory. At the same time, the transport requests for client content are added into the transport directory of target system.

Setting rdisp/bufrefmode if error occurs in SUM

$
0
0

Dear experts,

 

while upgrading a ERP 6.00 (without EHP) to HANA with EHP 7 using SUM DMO I was confronted with this error.

 

06-03-2016 20-34-10.png

 

"To ensure a smooth operation, you have to perform the following changes to your profile /usr/sap/SID/SYS/profile/DEFAULT.PFL before continuing:

 

Buffers of your SAP system are not automatically validated. Change profile parameter "rdisp/bufrefmode" to contain "exeauto"."

 

So I went to RZ10, changed profile parameter to "exeauto" and tried to continue. But the error occured again, again, again...

 

After hours of changing profile, restarting instance, resetting and switching SUM directory, reboot of the machine, searching via Google in SCN and so on, I found SAP note 1953668, which tells you to set the parameter to "sendon,exeauto"!!! After that SUM continues.

 

I hope this info helps everyone, who is in this situation, too.


SAPHOSTAGENT 721 SP11 is pubulished.

Reset "transport request" through OS

$
0
0

Hello,

 

Sometimes, when you are updating a Support Package in SPAM transaction, and for example, you lost your connection with SAP, then you start SPAM again, and your update does not work anymore. So, in those cases, you must reset the transport queue through OS with the commands below:

 

Firts, login with user SIDadm on linux.

 

 

-- to show the buffer queue:

tp showbuffer <SID> pf=/usr/sap/trans/bin/TP_DOMAIN_<SID>.PFL tag=SPAM

 

What is in the queue:

Capturar.PNG

 

-- To reset the transport:

tp r3i SAPKB70026<SID> client=000 pf=/usr/sap/trans/bin/TP_DOMAIN_<SID>.PFL TAG=SPAM

 

That´s it, now you can try SPAM again.

 

If it doest not work, you should restart SAP instance.

 

 

Regards,

Richard W. L. Brehmer
http://rbrehmer.com

A Deadly Embrace of SAP Note Corrections

$
0
0

In many ways SNOTE has been a wonderful boon to Basis admins everywhere when applying SAP Notes. It's not just how the tool can find the right spot to insert the code corrections, nor how it can check if the Note is valid for your release and support pack level, but also how it can alert you to other conditions. Is there a known side effect to the Note that has been corrected by a later Note? SNOTE will notify you, and download the side effect correction Note for you so it's ready to go. Is there a prerequisite Note that must be implemented first? SNOTE will download it and put it together in a queue with your original Note to be implemented together. Magic!

 

But all this hand-holding can come at a cost.

 

Not All That Glitters Is Gold

 

For instance, those who manage Solution Manager systems (isn't that all of us, whether we want to or not?) are familiar with the need to apply a new "Basic Functions" Note with each new support pack, and in turn how that Note triggers the implementation of dozens (upon dozens) of other Notes, resulting in Note implementation queues so long, with Correction Instructions intertwined in such a seemingly self-referential way that you half-expect the thing to gain artificial consciousness on the spot.

 

 

In such circumstances, I'm glad to have SNOTE! I well remember the days when applying a Note meant opening SE38 and manually inserting the new code, and the opportunities for error were frequent, not to mention the process time-consuming.

 

Periodically, however, it happens that one has to update that Solution Manager Basic Functions Note, which typically means downloading updated versions of all the "prerequisite" Notes as well. Mostly this goes ok, but sometimes the tool gets itself into a bit of a spin, as it wants to first de-implement the old version of the Note in question, then implement the new version. Sounds logical, right? And usually this isn't a problem for SNOTE, but sometimes you end up with...

 

 

... a list of inconsistent Notes. Why are they inconsistent? Usually it is because the tool had some problem it could not resolve during de-implementation, typically related to dependency. No, I don't mean substance addiction, but rather that you tried to de-implement a prerequisite Note while the dependent Note is still in the system. This results in error message SCWN027: Unable to deimplement or reset to original.

 

The Circular Reference

 

Fortunately, in the long text of the error message you will find the Note (sometimes several Notes) that is dependent upon the one in question. "No problem!" you say to yourself, because the clever tool just gave you a list of what you have to do: go de-implement the dependent Note first. We'll call this Note B, with Note A having been the one you were originally interested in updating.

 

So you click on down to Note B and hit Reset SAP Note Implementation. Oh oh; you got the same error message as before. "Ok," you think, "this might be a little more involved, but I can handle this." You check which Note is dependent upon Note B, ready to go de-implement that one first instead, and...

 

... it's Note A.

 

That's right. You just found that Note A is dependent upon Note B, and Note B is dependent upon Note A.

 

How Did That Occur????

 

The only way for this situation to occur is for at least one of the two Notes to have at least two different sets of Correction Instructions included. So,

  • Note A, Correction 1 has no prerequisites.
  • Note B, Correction 1, which came out later, is dependent upon Note A, Correction 1.
  • Later still, Note A is updated to include Correction 2, which is dependent upon Note B, Correction 1.

 

It would be literally impossible for you to implement either of these Notes individually using SNOTE. The tool would not let you. However, as soon as you attempted to implement either one, the tool would detect the dependency, download the other Note, and then propose to implement them together as a queue:

  1. Note A, Correction 1
  2. Note B, Correction 1
  3. Note A, Correction 2

 

For a real world example, I give you Exhibit A: Notes 2066029 and 2080527. Note 2066029 has two Correction Instructions:

 

 

Correction Instruction 1443728 has no dependencies, except for a valid support pack range. Correction Instruction 1484151, on the other hand, has:

 

 

Note 2080527 has only a single Correction Instruction, 1468114, and its dependency is:

 

 

That's right. It points back to the first Correction Instruction of the first Note.

 

Not All Who Wander Are Lost

 

Except sometimes we are. It is all well and good that SNOTE has a mechanism for implementing Notes together in a queue (oh, and by the way, you cannot manually create Note queues; the tool must create them automatically for you when dependencies are detected). What SNOTE lacks, however, is a mechanism for de-implementing Notes in a queue. It is not possible to de-implement either of the above Notes singly, because there is always a dependency in the system by the other Note. A smart queue would seem to be the only way to do it, but the tool does not allow that. I know. I've tried.

 

Another possibility would seem to be de-implementing or resetting just one Correction Instruction at a time, thus peeling back the onion bit by bit, carefully.

charlie_tuna.jpg

Sorry, Charlie.

 

SNOTE doesn't do individual Correction Instructions; it's the whole Note or nothing. Of course, this is to protect us from ourselves, and with good reason, but sometimes it can be a little frustrating.

 

What this means, in practice, is that not only can we not de-implement or reset Notes in such a deadlock, we cannot update them either, due to the need to de-implement old versions first.

 

There's another old database term for this situation: the deadly embrace.

 

So Where's The Happy Ending?

 

At the moment, there isn't one. When I am able to find a solution, I'll report back here. Meanwhile, I'm thinking of a feature request to SAP: add queue functionality to Note de-implementations.

 

Or better yet, don't build circularly referential Notes.

SAPHOSTAGENT 721 SP12 is pubulished.

ERROR => SAP kernel 7XX with basic release 7XX only supported with Oracle server >= 11.2

Viewing all 185 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>