1 / 26

tp & R3trans

tp & R3trans. Roland Hamm SAP AG. Advanced Transport Management. Contents: Transport directory naming conventions Transport tools and communication mechanisms Import process and troubleshooting Objectives: At the end of this unit you will be able to:

antonina
Download Presentation

tp & R3trans

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. tp & R3trans Roland Hamm SAP AG

  2. Advanced Transport Management • Contents: • Transport directory naming conventions • Transport tools and communication mechanisms • Import process and troubleshooting • Objectives: At the end of this unit you will be able to: • Outline the files in the transport directory • Explain transport tools and their intercommunication • Perform imports and troubleshooting with tp • Clean-up the transport directory

  3. Quality Assurance System (QAS) Development System (DEV) User SMITHcreates change request DEVK900073 DEVK900073 is releasedand exported to QAS Transport Directory logULOG 98_1SLOG9803.DEVALOG9803DEVE900073.DEVDEVP900073.DEV DEVI900073.QAS N980215.QAS ….. dataR900073.DEV cofiles K900073.DEV buffer QAS actlog DEVZ900073DEVZ900074 sapnamesSMITH Transport Directory File Name Conventions

  4. Introducing tp Export Import Quality Assurance Development Release and export calls tp tp ABAP communication R/3 Operating system Insert table entries into control tables Insert table entries into control tables database DEV database QAS tp tp Buffer, logs, cofile, TPPARAM Buffer, logs, cofile, TPPARAM Calls Calls R3trans R3trans Transport Directory

  5. Helpful tp Commands tp help tp <command> tp go <SID> tp connect <SID> tp showinfo <request> tp count <SID> tp checkimpdp <SID> tp showparams <SID> tp status <SID> Display help on tp functionality Display help on specific tp-command Check the database destination Check the database connection Display info on a transport request Display number of registered requests Display scheduling type of import dispatcher Display current setting of parameters Display status of serialization

  6. tp Import Commands DEV QAS database database Release and Export Import Transport Directory tp import all QAS client=200 DEVK900004 DEVK900008 DEVK900016 DEVK900013 tp import DEVK900016 QAS client=200 u0

  7. tp showbuffer <SID> tp addtobuffer <request> <SID> [u<digit(s)>] tp delfrombuffer <request> <SID> tp cleanbuffer <SID> tp setstopmark <SID> tp delstopmark <SID> TASK UMODE ---------------------------------------------------------------------------------------------- DEVK900048 8 DEVK900057 DEVK900053 STOPMARK Is a special entry (not a change request) DEVK900069 2 tp Commands for Accessing Buffers Buffer for QAS

  8. Introducing R3trans Export Import Quality Assurance Development R/3 Operating system database QAS database DEV tp tp exit code exit code write data files, logs read data files, write logs connect, update, delete and insert connect, read R3trans R3trans Transport Directory

  9. ABAP Programs used in Performing Transports Export Import RDDMASGL Quality Assurance RDDGENBB RDDVERSL ... RDD*- Jobs RDDIMPDP Development starts schedules write logs RDDNEWPP R/3 triggers Operating system TRBAT TRJOB tp Transport Directory database QAS

  10. TASK DDIC | ACTIV | MAIN I | MC ACT | ADO I | LOG I | VERS F | XPRA | GENERA | UMODE ------------------------------------------------------------------------------------------------------------------------------------------------------------ DEVK900048 | | 1 | | | | 1793 | | | DEVK900057 | | 1 | | | | 25 | | 23 | DEVK900053 | | 1 | | | | 5 | | | DEVK900069 1 | 1 | 1 | | | | 1 | | 1 | DEVK900078 | | 1 | | | | 197 | | | DEVK900083 | | 1 | | | | 25 | | 23 | DEVK900087 | | 1 | | | | 5 | | | DEVK900092 1 | 1 | 1 | | | | 1 | | 1 | tp Processing Sequence • tp collectively processes each import step for all requests before proceeding with the next import step. • tp does NOT process all import steps for only a single request before proceeding to the the next request. ! 1st 2nd 3rd 4th 5th 6th 7th 8th 9th

  11. Steps during Import • ABAP Dictionary import • ABAP Dictionary activation • Distribution • Structure conversion(*) • Move nametabs(*) • Main import • Activation of the enqueue definitions • Enqueue conversion (*) • Import of application defined objects (ADOs) • Logical import • Versioning • Execution of user defined activities (XPRAs) • Generation of ABAP programs and screens DDIC I ACTIV MAIN I Import process MC ACT MC CONV ADO I LOG I VERS F XPRA GENERA (*) = generic steps not dependent on requests

  12. Appendix: Log Files for Importing DEVK900021 • Dictionary import • Dictionary activation • Distribution(*) • Structure conversion(*) • Move nametabs(*) • Main import • Activation of the enqueuedefinitions • Enqueue conversion(*) • Import of applicationdefined objects (ADOs) • Logical import • Versioning • Execution of user definedactivities (Xpra) • Generation of ABAPprograms and screens DDIC I DEVH900021.QAS DEVA900021.QAS DS980605.QAS ACTIV N980605.QAS P980625.QAS MAIN I DEVI900021.QAS DEVMS900021.QAS MC ACT N980625.QAS MC CONV DEVD900021.QAS ADO I DEVU900021.QAS LOG I DEVV900021.QAS VERS F DEVR900021.QAS XPRA DEVG900021.QAS GENERA

  13. Import Process: tp and the Import Buffer Import dispatcher RDDIMPDP ABAP Conversion Generation ... DDIC activation TRBAT TRJOB Database database ../tmp - Log file(s) OS Level tp R3trans Buffer ../log - Log file(s)

  14. Import Process: R3trans Import dispatcher ABAP RDDIMPDP Conversion Generation ... DDIC activation TRBAT TRJOB Database database DD import Main import ../tmp - Log file(s) OS Level tp R3trans Buffer ../log - Log file(s)

  15. Import Process: tp / ABAP Communication (1) Import dispatcher RDDIMPDP ABAP Conversion Generation ... DDIC activation TRBAT TRJOB Database database Inserts entries Triggers ../tmp - Log file(s) Reads tp OS Level R3trans Buffer ../log - Log file(s)

  16. Import Process: tp / ABAP Communication (2) Import dispatcher starts RDD*-jobs RDDIMPDP ABAP Conversion Generation ... DDIC activation Checks and writes table Writes status Inserts job number TRBAT TRJOB Database database ../tmp - Log file(s) tp OS Level R3trans Buffer ../log - Log file(s)

  17. Import Process: tp / ABAP Communication (3) Import dispatcher restarts RDD*-jobs RDDIMPDP ABAP Conversion Generation ... DDIC activation Writes status Checks tables Deletes entries TRBAT TRJOB Database Writes logs database Deletes entries Restarts Monitors tables ../tmp - Log file(s) Buffer OS Level tp R3trans ../log - Log file(s) Moves logs

  18. Monitoring and Analysis: tp Log Files tp Transport subdirectory log ULOG SLOG ALOG

  19. Monitoring and Analysis: Transport Tool Log Files Directory tmp Directory log R3trans DEVI900073.QAS DEVI900073.QAS tp DEVI900073.QAS DEVV900073.QAS RDD* ... ... Import process

  20. Database File system 0 Successful transport 4 Warning 8 Error 12 Fatal error 0 < rc < 16 rc = max (tool-rc) 16 < rc < 100 Combination of tool-rc and tp warning 100 < rc < 200 tp warning 200 > rc tp error tp Return Codes tp return codes (rc) Transport toolreturn codes

  21. Troubleshooting (1) System Log (SLOG) Action Log (ALOG) Alert Monitor • Locate what change request or generic phase produced a warning or error • View all tp return codes • View tp connection errors • Locate permission problems • See RFC failures • Review individual log files at the operating system level.

  22. Troubleshooting (2) SM37 check protocols of RDD* jobs SM31 - check tables TRJOB Job overview V 000047 V 000048 01.01.98 12:06 516 Job started 01.01.98 12:07 560 Step 001 started 01.01.98 12:07 007 Fatal Error 01.01.98 12:08 518 Job aborted TRBAT C11K900003 N 0000 ... C11K900008 N 8888 ... R/3 Operating System Transport Directory tp R3trans log sapevt actlog sapnames File system buffer

  23. Appendix: tp Steps Mnemonic Step Program Environment E main export R3trans OS P test import R3trans OS H DD objects: import R3trans OS A DD objects: activation RDDMASGL R/3 S DD objects: distribution RDDGENBB R/3 N DD objects: conversion RDDGENBB R/3 6 DD objects: move nametabs pgmvntabs OS I main import R3trans OS T import of table entries R3trans OS M enqueue activation RDDGENBB R/3 G repository objects: generation RDDIC03L R/3 V version update RDDIC R/3

  24. Appendix: Complete List of tp Action Types

  25. Appendix: TRBAT Function Codes • Header JOBNAME Report Explanation • ===================================================================== • X RDDDIC0L RDDDIC0L ADO export • J RDDMASGL RDDMASGL Mass activator (new) • B RDDTACOL RDDTACOL TACOB activator • S RDDDIS0L RDDGENBB Distributor • N RDDGEN0L RDDGENBB Import converter • M RDDMASGL RDDMASGL Mass activator (Enqueue) • Y(n) RDDGEN0L RDDGENBB Matchcode converter • O RDDGEN0L RDDGENBB Batch converter (not in Upgrade) • D RDDDIC1L RDDDIC1L ADO import • V RDDVERSL RDDVERSL Create version • R RDDEXECL RDDEXECL XPRA execution • G RDDDIC3L RDDDIC3L Generation Functioncodes

  26. tp & R3trans Roland Hamm SAP AG Questions & Answers

More Related