Support Pack Upgrade
Support Pack Upgrade
PAGE 1
->Patches should be applied in the sequence SAP_BASIS, SAP_ABAP, SAP_APPL, SAP_HR
->Ensure that there should enough space in Database
->Ensure that there should be enough space in the usr\sap\tans\eps\in directory
->Apply the patches in the client 000 with user like DDIC
->We need to lock users in the sap system and also we need to intimate then well advanced before applying
support packages using SM02.
->Ensure that internet connection is available to resolve the issues.
->If support packages are more than 10 MB apply through application server, if not then through frontend.
->Apply patches in the landscape sequence. That is (DEV-QAS-PRD)
->Once support packages applied can’t be reverted back.
->The patches comes in the format .sar (or) .car
->Download the patches into Trans directory and uncar file using this command sapcar -xvf<filename> -R
->It will check for eps\in directory format is .ATT & .PAT files
PAGE 2
Step 3: SPAM/SAINT Update:
A SPAM/SAINT Update contains updates and improvements to Support Package Manager (SPAM) and Add-
On Installation Tool
(SAINT). There is always one SPAM update for each release. SPAM/SAINT update is mandatory before any
support package upgrade.
PAGE 3
PAGE 4
Step 5: Importing Queue:
Once you a define a Queue (Step 4) while selecting a particular component (for which we want to upgrade
support pack), we need to do ‘Import queue’ to start importing/applying that particular selected support pack
(as per the standard SAP process).
Choose Support Package –> Import Queue
The support package import has been started
CALL SPAU when below screen comes and capture SPAU and send it to ABAP Team,Similarly do for
SPDD.
SPAU: This transaction is used for adjusting the objects imported during the upgrade
SPDD: This transaction is used for adjusting the data dictionary objects imported during the upgrade
PAGE 5
PAGE 6
Step 7: Confirming Queue:
Confirm that the queue has been imported successfully into your system. This allows you to import Support
Packages in the future. You will not be able to import Support Packages further, if you do not confirm the
queue.
PAGE 7
Once Support packs are imported successfully then Run SGEN as below:
NOTE: Before you run SGEN make sure that database archiving is off.
->Go to transaction SGEN
->Click on Regenerate after an sap system upgrade
->Click continue
->Select All and Press Continue
->Select the Server
->Click continue
->Press the Start Job Directly button (this screen is called Load Generator – Job Monitor)
PAGE 8
You can also monitor in SM37 the batch job for program RSPARAGENER8M .
Table GENSETM contains the results of the generation run. The field GENSTATUS is the generation status.
Values of this field:
X = generated
E or S = error
I = initial
Checking Logs:-
IMPORT LOG:
-> It displays logs for Support Package Manager Phases that are used by transport control program
tp(transport control program).
ACTION LOG:
->It contains information about the actions that take place during the individual phases (while importing the
current queue).
->It also includes information about the point at which a phase was stopped, as well as detailed error
information.
->To display the logs for the current queue Go to–>Action log.
-> While the support packages are being imported, logs are made into the tmp directory (path:
usr/sap/trans/tmp).
-> Once the import process is completed logs can be viewed from the log directory (path: usr/sap/trans/log).
PAGE 9
Basic information on below:-
1. Patches – To fix bugs, To get functional enhancement & To upgrade the system to next level
2. SAINT – Addon tool
3. Support packages – multiple of object corrections, SP contains set of patches. SP we should apply on
sequence manner.
4. PAT01 , PAT03 tables – Stored Status of support packages
5. Get latest kernel, support packages & Add-ons – Service market place (www.me.sap.com)
6. while applying support packages. If users accurse in SPAU & SPDD phases then what will you do – SPAU in
problems accurse I can skip problem. If it is SPDD in problem accurse I can execute technical people.
7. SPDD & SPAU – please inform the customer to take care. If locked objects found can be release using the
Tcode – SE03
8. Naming convention of support packs – KB46C005
9. Diff b/w SAP Note & Support packages –
SNOTE – single object correction
Support package – multiple object correction
10. Solution Manager can apply support packages in CI & DI.
11. we can install CI & DI on the host and on same <SID> can apply support packages.
12. usr\sap\trans\eps\in – This directory stores uncar patches which are download from service market place.
13. Table “TPFET” is used for store parameter values along with patches.
Kernel patch latest number : 156/291
Support package highest level : 26
Patches : Group of NOTES
Packages : Group of patches
Stacks : Group of packages
14. uncar .car/.sar files in UNIX - using command ./SAPCAR -xvf <filename> -R
15. we can’t able to see uncar files in EPS directory – May be file corrupted, SAP car may old version.
16. Through SDM & JSPM, we can apply support packages in Java system.
17. In support packages, 2 background work process required – because support package is time taking
process, In this process due to some problems. If one job is failed another job will take backup.
18. The support package manager runs through a series of phases when it imports support packages. If you
want to know which phases were performed for which scenario (test scenario or standard scenario), execute
program RSSPAM10.
PAGE 10