Friday, 12 December 2014

SAP SUPPORT PATCH UPGRADE

SAP SUPPORT PATCH UPGRADE
SUPPORT PATCH
From time to time SAP does modifications to the various objects of its R/3 software and makes the modifications available to the customers in form of support packs and CRTs. Customers are required to check for the latest updates on the changes being made by SAP to its software and accordingly apply them at their installations. The support packs and CRTs are made available by SAP on their mySAP.com Marketplace site (earlier known as SAP Net).
The following is procedure to show you step-by-step process of applying different support packages into your system.
  • It is always advisable to first verify the SPAM/SAINT version in the system.
  • If you do not have, download the latest SPAM/SAINT package.
  • There are certain support packages, which require certain level of SPAM/SAINT. For such packages, you first have to update the SPAM/SAINT
  • SPAM/SAINT update and support packs are applied through Transaction code SPAM.
  • The SPAM/SAINT updates and support packs files are .CAR (compressed archive) files, which need to be unpacked. Each CAR files is an archive of two files.
  • Supports packs for Applications area (i.e. changes made to the objects of various functional modules of SAP) are also known as HOTPACKS
Purpose
  • A Support Package is a quantity of corrected SAP objects. Support Packages Are required to correct errors in various components. This is done by replacing erroneous objects with corrected versions of these objects.
  • Each software component has a separate sequence of Support Packages. The following list contains the technical names of a number of components and the notation for their Support Packages:
  • COP (Component Package)

SAP_APPL (SAP R/3 Support Package)
Naming conversion of SAP_APPL is SAPKH

SAP_APPL Stands sap application platform
SAP_BASIS (Basis Support Package)

Naming conversion of SAP_BASIS is SAPKB
SAP_BASIS Stands sap basis component

SAP_ABA (Application Interface SP)
Naming conversion of SAP_ABA is SAPKA

SAP_ABA Stands sap cross application component
SAP_HR (SAP R/3 HR Support Package)

Naming conversion of SAP_HR is SAPKE
SAP_HR stands human resources

SAP_APO (APO Support Package): SAPKY
SAP_BW (BW Support Package): SAPKW

SAP_CRM (CRM Support Package): SAPKU
SAP_SRM (SRM Support Package): SAPKU
SAP_SEM (SEM-BW Support Package): SAPGKS
Requirement of Support packages
  1. A support packages is a quantity of corrected SAP objects.
  2. Support packages are required to correct errors in various components. This is done by replacing erroneous objects with corrected versions of these objects.
  3. Each software component has a separate sequence of Support Packages.
Prerequisites of Support Packages:
  1. Login to 000 client with user like DDIC.
  2. Support packages and patches are applied in T-code SPAM (support package manager)
  3. No aborted packages should be available in the system.
  4. Download the support packages from marketplace.
  5. Always use the updated SPAM & SAINT versions to Apply Support Packages.
  6. There should be enough space in EPS directory to hold support directory.
  7. There should be at least two background processes reserved for this process.
  8. Functional and technical consultants should be around for applying changes to data dictionary elements and repository objects.
  9. Take the database backup before going to apply support packages.
  10. In order to avoid network congestion the files which are more than 10MB has to be applied through “application server”. Patches which are less than 10MB can be applied through front end
  11. There should be enough space in table space in the table spaces (DB02),it should not be above 90%.
  12. Apply patches in the sequence defined in the composite note. Patches can be applied individually or bundled together.
  13. Patches can’t be reverted by consultants, only SAP can revert patches by developing a negative patches if required.
  14. Schedule the downtime before going to apply support packages.
  15. Go through the composite note and document the sequence and CRT.
  16. Observe the system behavior.
  17. Check STMS configuration before going to apply support package.
  18. Before going to apply support package we need to check either any side effects if we apply the patch.
Procedure
The support packages are needed to be applied to the system depending on the requirement from functional and technical consultants’ support package can make changes to objects are data dictionary level or at repository level. It requires to be applied during non-peak hours. It provides enhanced functionality. Sap recommended applying patches for the known problems.

SAP AddOn Components

SAP AddOn components are extra functionalities that do not come with main SAP product. Different organizations have different requirements, so SAP has recognized some main functionalities that are in demand and builds that functionality as a components, which can be integrated with the core SAP. so add on components sit above the core and access the same  dictionary objects or repository objects and perform the required funcionality.

The following steps are to be followed while applying service packs.

  • Go T-code SPAM
  • Apply support pack through front end if the size of the pack is less than 10MB.
  • Apply support pack through Application server if the support pack is greater than 10MB, after decompressing the file using uncar (SAPCAR –XVF xxxx.CAR).
  • In order to apply the support patches define the Queue and import the queue.
  • During the runtime of import we may ask to run SPDD to modify the data dictionary objects.
  • During the runtime we may be asked to run SPAU to modify repository objects.
  • Confirm the queue.

Download the required .CAR files from SAP Net or SAPServX server as shown in the screenshots below


Login to service.sap.com. You will get an initial screen as shown above.

If you want to navigate into the market place you require an SAP user id. For example click on support pack you will get a popup box. Here you need to enter the S user ID and password.

Enter by component

Save the target and save them in a temporary directory

Follow the below procedure to install

  1. Copy them to a temporary directory either in /usr/sap/trans/tmp or any other folder which you can create (say, patch)
  2. Change to the directory /usr/sap/trans (UNIX) or \usr\sap\trans (NT)
  3. Use the command SAPCAR -xvf The command SAPCAR is case sensitive
  4. The command SAPCAR will decompress the CAR file and put two files (with extensions .ATT and .PAT in the /usr/sap/trans/EPS/in directory.
  5. Logon to the SAP system in client 000 as user DDIC
  6. Once in the system execute the transaction code SPAM
  7. Depending on what version are you in do the following
    • Goto Support Packages
    • Load Packages from Application Server
  8. You will get a pop up box with the list of the patches in the queue. Both the applied patches and the new ones will be listed. Hit the Back button to come to the main screen.
  9. Click on the Display/Define button on the screen
  • You will get a pop up screen with the unapplied patches.
  • Select the patch or group of patched that you want to apply and hit the enter key/icon.
  • The patch number will be defined in the queue box.
  • Goto Support Packages >> Import Queue or click the apply patch / import queue icon on the application toolbar
  • After the patch is successfully applied, you will have to CONFIRM the patch application.
  • Goto Support Packages >> Confirm Or click the confirm icon on the application toolbar.
  • The traffic light in the status box should turn green.
  • While the patches are being applied, it’ll prompt us for conformation of the changes, whether to keep the objects which have come from SAP patch or to keep existing customized objects.
  • You can compare the changes and decide to keep the changes made to the system via OSS notes or return the objects to original.
For applying SPAM upgrage patch (XXXXX.CAR) use import SPAM/SAINT Update menu option.

Import from Frontend
for small files you can do this. It will upload from frontend to server and ask you to decompress. Once decompressed, click on New Support Packages/ Display button.
Once decompressed, click on New Support Packages/ Display button.
Check for logs
 

  • At times depending on the situation, you may have to reapply the OSS notes after returning back the object to original

3 comments: