Friday 27 December 2013

How to download Maintenance certificate

How to Download and Apply Maintenance Certificate in SAP


Maintenance certificate  become mandatory from Jan -09. This remains valid for three months.
You have to apply maintenance certificate for every three month. 

If you do not apply maintenance certificate then SPAM will not work and you will get this error



TO apply maintenance certificate Goto T-Code Slicense















See your system details here like hardware key, installation no and your system no then download the license from marketplace
Select the tab Help & Support then Connect to SAP click on Maintain connections.
Then you will get this screen 
Now Select the system for which you want apply Maintenance Certificate

Now click on System data
Here select the License Key & Maintenance Certificate
Enter your E-mail address to receive Maintenance certificate.

After some time you will receive this mail with attached scripted file of certificate.
Download the attachment & Upload this certificate to your system through T-Code Slicense.


Click on Install radio button select the encrypted text file.
Now certificate has been uploaded successfully. You can see the green indication and validity date.







Thursday 12 December 2013

SAP Kernel Upgrade

                                                  SAP Kernel Upgrade on Windows Server

About the Kernel:
Kernel is the set of executables,  in kernel upgrade old executables are replaced by new set of executables.
SAP Kernel Resides in /sapmnt/<SID>/exe (or)
/usr/sap/<SID>/SYS/exe/UC/NTAMD64 for 64bit Machines

Kernel needs to be upgraded before support pack upgrade. 
We can check the Kernel Version by executing command
1) “disp+work” in cmd on Windows Environment   
2) SAP level go to the menu system-->status-->Shift+F5 


Objective :
Upgrade Kernel to Patch level 402.

Information:
Current Kernel Release :    720
Current Kernel Patch no:    300
Target Kernel Patch no  :   402 


Check the current Kernel Level

Check at SAP Level


Now download the kernel from marketplace
Login to service market place then follow the below navigation to download the kernel.













Download Database Independent and Database dependent .SAR file 








Two files will be downloaded
SAPEXE_40210007259.SAR and SAPEXEDB_40210007258.SAR

Shutdown the SAP Application server
Go to SAP MMC


In Kernel release 720 <SAPoscol>  OS service is not available






Now take the backup of old Sap executables (SAP Kernel). Backup The Kernel Directory for Rollback in any inconsistencies with the new kernel.



Uncar the kernel







Now replace the executables


 Kernel has been upgraded




Note:-  Kernel 720_rel patch level 401 instead of 402  
720 Kernel patch level 402 sap level on the SAP service marketplace is 402
Once installed however it shows patch level 401
Reason. 
Due to a critical security vulnerability in the SAP message server
(SAP note 1800603) Potential remote code execution.
SAP development had to replace the current stack kernel 720 with a new
version, PL#402, on service marketplace. Since only the SAP message
server was affected by the vulnerability and in order to minimize risks
of unwanted side-effects, they decided to replace only the SAP message
server within the corresponding archive.
Consequently all other executable files remained unchanged from the previous version, PL#401.
Especially disp+work from patch level 402 still shows it's version as
patch level 401. This is intended and normal behavior. 
( according to  http://wiki.scn.sap.com)


Now start the SAP system







Tuesday 3 December 2013

How to Generate Doveloper Access Key

Developer Access Key

If a developer want to develop any object in SAP namespace then system ask for developer access key. 
That mean if a ABAP developer  want to change standard SAP object then he need a access key.  See how to generate access key.
If a developer want to edit this object 

Generating Access Key
Go to Market Place      
service.sap.com/licensekeys

Select SSCR Keys and click on Register Object
You will see the following screen



 Register object

Now select the Basis Release as per 1st screenshot
fill up the entries Release 620,
Program ID - R3TR
Type - CLAS
Object name - CL_SEND_REQUEST_BCS





Select the installation no as per the first screen shot then click on Register Access key will be generated.




After the successful registration of the object the the access key will be generated.


This is the desired Access key..:)





Usefull SAP Weblinks

Useful SAP Links:

SAP Service Marketplace                            http://service.sap.com
SAP Community Network (SCN)                  http://scn.sap.com
Americas SAP Users Group (ASUG)           http://asug.com/
SAP Help Portal                                          http://help.sap.com/
SAP Wikipedia                                            http://wiki.scn.sap.com
SAP Press Book Store                                http://www.sap-press.com/