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/




Thursday, 28 November 2013

Failed Backgraound Jobs

                                 Reasons for Background Jobs Cancellaton:

1. User Id/Password mismatch or other authorization issues.
2. User is Locked (who defined the background job).
3. Variant issues due to program change, variant deletion/modification.
4. File input/output error (Program is not able to find required file or not able to process the format).
5. Space Issues While connected to the backend system, connectivity issues, Ports Blockage.
6. Database issues - ora-1653/1654/ 1631/1632/255/272  etc..
7. Failure of Dependent Jobs.
8. Program is not allowed to run in background mode ( e.g. RSM10032)

JSPM: Java Support Package Manager

                              JSPM: Java Support Package Manager

JSPM is a widely used tool to apply support packages in Java stack or Dual stack SAP system. Now a days we use SUM (Software Upgrade Manager ) to update support packages or version upgrade.
Java Support package manager is consistent /stable/reliable tool used to deploy the patches. It works similar to SPAM/SAINT and reads from EPS/in. It is also used to deploy the kernel.
it is accessed by path usr/sap/SID/DVEBMGS00/j2ee/jspm/go.bat
It requires SDM password and  works only in the <SID>ADM environment.
Un-deployment function is not available in JSPM.(it handles the task of spam and saint)
It displays the source version and calculates the target version from EPS/in.
It is used to apply new usage types, support packages, add-ons, business packages, support stack update along with SAP Kernel. It is also possible to skip the packages that are in queue

Software Deployement Manager (SDM)

                                     SDM:(Software Deployment Manager)

Software Deployment Manager is a  tool widely used in WEBAS 640 and replaced by JSPM in Netweaver 7.0 and completely phased out in Netweaver 7.1.
It requires SDM password and port 50018 which runs based on JLaunch process.
it is accessed  by using  /usr/sap/SID/Instance/SDM/program/remotegui.bat in windows and remotegui.sh in Linux operating system.it contains its own startup menu, inbox, log etc.

it is used to deploy and undeploy the support packages, business packages, add-ons etc in Netweaver Java system.it is used to deploy the patches to Java Engine, File System (j2ee/cluster/server/apps) and Database.It requires manual feed(frontend)unlike spam/saint/jspm which reads from EPS/in.
Due to its un-deployment feature it is discontinued from Netweaver 7.1. If a content is selected for un-deployment it does not check the dependencies and the functionality of the deployed content is lost.
it is necessary to redeploy the content which is un-deployed (probably with an older version).
Example: Visual Composer is updated from patch level 12 to 15,but 15 found to be not compatible, so it is un-deployed. un-deploy means the complete content of visual composer is un-deployed and visual composer no more works. So redeploy the visual composer with version 12 or higher version 18
The SPAM/SAINT are incremental and they could not be reverted where as the java patches are cumulative and replaces the content.The SDM deploys the files with extension *.sca,*.sda,*.war,*.ear etc.
sdm starts by reading the profile sdm_jstartup.propertes.it stores the information in sdmrepository.sdc and backup the file in predefined intervals
SDM contains SDM Logs, Documentation, temp directory(used during export and import).