Applying Support Patches

download Applying Support Patches

of 12

Transcript of Applying Support Patches

  • 8/12/2019 Applying Support Patches

    1/12

    Prerequisites for applying support patches

    1. SPAM and SAINT version should be latest.2. Go through the OCS (online correction support) note before doing support

    package.3. There should not be any aborted packages which were applied earlier.4. Login to 000 client with user like DDIC. 5. Suspend all background jobs using report BTCTRNS1 except background jobs like

    RDD* jobs. 6. There should be at least two background work process reserved for this process.7. Check for enough space in eps/in directory (os level) \\usr\sap\trans\eps\in take

    successful backup.8. Functional and technical consultants should be around for applying changes to

    data dictionary(SPDD) and repository objects(SPAU)9. Take the database backup before going to apply support packages10. There should be enough space in tablespace ( DB02 ) (If any tablespace is > 90% add

    data file ) 11. Apply patches in the sequence defined in the composite note. Patches can be

    applied individually or bundled together.12. Patches can not be revert by consultant, only SAP can revert the patches by

    developing a negative patches if required.13. Schedule downtime before going to apply support packages. Notify user through

    email or by creating a message SM02 transaction. 14. Lock all users, except BASIS Admin users, DDIC and SAP* for Make sure no user

    should be logged on while performing support package.

    15. In order to avoid network congestion the files which are more than 10 MB has to be applied through Application sever. Patches which are less than 10 MB can beapplied through Front end.

    16. tp version should be latest and also upgrade the Kernel version.17. Support package should be applied in the sequence of landscape, First in Dev

    system and next apply in QAS for the consistency test and finally in PRD system.18. Note: You require the authorizations S_TRANSPRT and S_CTS_ADMIN to be

    able to run transaction SPAM. These authorizations are part of authorizationprofile S_A.SYSTEM.

    Steps to applying SAP Support packages

    Procedure for SAP Support pack upgrade, Process for SAP Patch upgrade. How to download thelatest patches into SAP System

    1) Download the latest Support Pack Manager (SPAM) on the SAP service marketplace

  • 8/12/2019 Applying Support Patches

    2/12

    2) Transfer the downloaded file to /usr/sap/trans/EPS/in

    http://1.bp.blogspot.com/-rh02QCNkBlo/TfDIqaplw8I/AAAAAAAAAaM/OWub2n2hpNs/s1600/1.PNG
  • 8/12/2019 Applying Support Patches

    3/12

    3) SAP has extract tool to extract the SAR files.You have to login has adm.Then go to the location whereyou copied SAR files.Then execute SAPCAR xvf . Copy all the unextracted file to /usr/sap/trans/EPS/in

    directory.

    http://3.bp.blogspot.com/-uRbQAh5xTkA/TfDKkLB0lcI/AAAAAAAAAac/dBuuXNqQ1ro/s1600/3.PNGhttp://4.bp.blogspot.com/-YoMPxDv1FQ0/TfDJWev0KmI/AAAAAAAAAaU/jMN2Mze0jrk/s1600/2.PNGhttp://3.bp.blogspot.com/-uRbQAh5xTkA/TfDKkLB0lcI/AAAAAAAAAac/dBuuXNqQ1ro/s1600/3.PNGhttp://4.bp.blogspot.com/-YoMPxDv1FQ0/TfDJWev0KmI/AAAAAAAAAaU/jMN2Mze0jrk/s1600/2.PNG
  • 8/12/2019 Applying Support Patches

    4/12

    4) Login as DDIC. Invoke tcode SPAM and load the extracted files. Support PAckage->Load PAckages->From Application Server

    5)Then, click Support Package->Load Packages-> Import SPAM/SAINT Update.

    http://2.bp.blogspot.com/-9-O5MlMIDPA/TfDLc5dUnOI/AAAAAAAAAak/lW7Wgr-B6oY/s1600/4.PNG
  • 8/12/2019 Applying Support Patches

    5/12

    Applying Support Packs1. Click on Package level to know the existing level of the support packs and the add-ons.

    http://3.bp.blogspot.com/-h_qpbnyFyWM/TfDMVoqOgxI/AAAAAAAAAas/WNz58sFmL_8/s1600/5.PNG
  • 8/12/2019 Applying Support Patches

    6/12

    http://3.bp.blogspot.com/-DR3792Oikag/T8pNgSiIIAI/AAAAAAAACGM/7nA5ecMUn9c/s1600/Support+Package_01.jpg
  • 8/12/2019 Applying Support Patches

    7/12

    2. Go to transaction SPAM and Load the support packages from frontend if it is < 10MB. The support packages which are in the form of .car will be decompressed intoeps/in directory.

    If the size is > 10mb, copy the support packages to /trans directory and uncar thesupport packages using the below command

    cmd> cd usr\sap\trans> sapcar xvf .car

    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.

    3. Click on "Display/define"

    http://1.bp.blogspot.com/-Jq9gVov-0tA/T8pTTaQ2klI/AAAAAAAACGk/O7mYbgozIIY/s1600/Support+Package_04.jpghttp://2.bp.blogspot.com/-P9GEQZ7REuo/T8pQwEgoynI/AAAAAAAACGY/mVG-_IUknM0/s1600/Support+Package_02.jpghttp://1.bp.blogspot.com/-Jq9gVov-0tA/T8pTTaQ2klI/AAAAAAAACGk/O7mYbgozIIY/s1600/Support+Package_04.jpghttp://2.bp.blogspot.com/-P9GEQZ7REuo/T8pQwEgoynI/AAAAAAAACGY/mVG-_IUknM0/s1600/Support+Package_02.jpg
  • 8/12/2019 Applying Support Patches

    8/12

    4. A box will appear with the Support Package categories, Click on the category for thesupport packages that you uploaded and it will list them in order. You can apply themindividually or the whole list at one time.

    5. Go to support package click import queue (or) Click on truck icon.

    6. Click on continue after importing in to the Queue.

    http://3.bp.blogspot.com/-x7HpPvZIjoo/T8pVHS4QXoI/AAAAAAAACG0/kqnqP3fUzrA/s1600/Support+Package_06.jpghttp://4.bp.blogspot.com/-XPselurOSYs/T8pU0OOGWnI/AAAAAAAACGs/X_O3nUJ0aCc/s1600/Support+Package_05.jpghttp://3.bp.blogspot.com/-x7HpPvZIjoo/T8pVHS4QXoI/AAAAAAAACG0/kqnqP3fUzrA/s1600/Support+Package_06.jpghttp://4.bp.blogspot.com/-XPselurOSYs/T8pU0OOGWnI/AAAAAAAACGs/X_O3nUJ0aCc/s1600/Support+Package_05.jpg
  • 8/12/2019 Applying Support Patches

    9/12

    7. Click Continue..

    8. Note :- While applying support packages it triggers two phases SPAU and SPDD

    SPDD

    When the support packages contains any changes in the data dictionary then this phaseis invoked.

    SPAU

    When the support packages contains the changes related to repository objects SPAUphase is invoked. it prompts whether to keep to existing changes modified by notes oradapt to changes.

    Modification Adjustment During Import of Support Packages

    Use : - If SAP modified objects that have also been modified by the customer, amodification adjustment is executed in the transactions SPDD and SPAU during importof Support packages.

    Procedure As far as the modification adjustment is concerned, you use the common proceduredescribed below to import Support Packages:

    Create two change requests in the Workbench Organizer (transaction SE09), onefor the modification adjustment with transaction SPDD and the other one for themodification adjustment in transaction SPAU.

    Create a task for each developer who is involved in the modification adjustment.

    http://3.bp.blogspot.com/-4sSC55uJ0kI/T8pVh3oHC8I/AAAAAAAACG8/ZHiusgdLlMA/s1600/Support+Package_07.jpg
  • 8/12/2019 Applying Support Patches

    10/12

    The developers must use transactions SPDD and SPAU to determine whether toretain or delete the modifications.

    After modification adjustment is finished, the developers must release their tasks. Use transaction SPAM to access the SAP Patch Manager. Choose Patch -> Import Patch Queue. A confirmation dialog window appears.

    Choose Enter to finish the import process of the Support Package. Release the change requests that result from the modification adjustment using

    transactions SPAU and SPDD. At a later time, you can use the change request oftransaction SPAU to import the modification adjustment after this patch queuehas been imported into other SAP Systems within the system landscape. Youcannot use the change request of transaction SPDD to avoid the required SPDDadjustment during import into other systems. You must always re-adjust theDictionary manually. However, you should still transport the change request toensure that identical modifications are made in all SAP systems. Before importingthe change request resulting from the modification adjustment with transactionSPAU or with transaction SPDD during import of a patch queue into thesubsequent systems, import the patch queue itself.

    9. It prompt you the Queue is imported successfully and ask to confirm the queue.

    10. Go to -> SPAM -> Support Package -> Confirm the Queue

    http://4.bp.blogspot.com/-I533zfCjn3g/T8pYM4m1LWI/AAAAAAAACHI/Pqjocv4wmkI/s1600/Support+Package_08.jpg
  • 8/12/2019 Applying Support Patches

    11/12

    This shows the support package has implemented for the one of the queue and you needto do the same as for the other queue (software components).

    Post processing for support package

    1. Check if any alerts or error messages in SICK and SM21 . 2. Release all the background jobs (BTCTRNS 2 ). 3. Unlock all the users. 4. Run SGEN ( SGEN compiles all programs.SGEN reduces abap load on the system). 5. Take a successful backup.

    Problems While Applying Support Packages

    Tablespace overflow. Max extents reached. Archive struck. Kernel outdated. SPAM/SAINT outdated. No enough space in eps/in directory.

    http://2.bp.blogspot.com/-6yapKRI6kvQ/T8pZlH7KVgI/AAAAAAAACHQ/yBghF8fvrG0/s1600/Support+Package_09.jpg
  • 8/12/2019 Applying Support Patches

    12/12

    "tp" could not connect to database (Execute R3trans d which will generatetrans.log)

    STMS configuration should be consistent. "tp" and "R3trans" is outdated or obsolete or corrupted which needs to be

    updated.

    Check environmental variables. RDDIMPDP job not scheduled Objects conflict b/w the packages Inconsistent in TMS Background jobs is terminated with memory related issue.