Professional Documents
Culture Documents
AcceleratedSAP
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
AcceleratedSAP
Transport Directory
actlog
DEVZ900073 DEVZ900074
data
R900073.DEV
log
ULOG 98_1 SLOG9803.DEV ALOG9803 DEVE900073.DEV DEVP900073.DEV DEVI900073.QAS N980215.QAS
cofiles
K900073.DEV
sapnames
SMITH
buffer
QAS
..
SAP AG 2000 O14
Upgrade WS 4.6B (Roland Hamm) / 3
AcceleratedSAP
Introducing tp
Export
Import
Development
Quality Assurance
tp ABAP communication
database DEV
tp
Calls Buffer, logs, cofile, TPPARAM Buffer, logs, cofile, TPPARAM
tp
Calls
database QAS
R3trans
AcceleratedSAP
Helpful tp Commands
tp help tp <command>
Display help on tp functionality Display help on specific tp-command Check the database destination
tp go <SID>
tp connect <SID> tp showinfo <request> tp count <SID> tp checkimpdp <SID> tp showparams <SID> tp status <SID>
AcceleratedSAP
tp Import Commands
DEV
QAS
database
database
Import
Transport Directory
DEVK900004 DEVK900008 DEVK900016 DEVK900013
AcceleratedSAP
tp showbuffer <SID> tp addtobuffer <request> <SID> [u<digit(s)>] tp delfrombuffer <request> <SID> tp cleanbuffer <SID> tp setstopmark <SID> tp delstopmark <SID>
AcceleratedSAP
Introducing R3trans
Export
Import
Quality Assurance
database DEV
exit code connect, read
database tp tp
exit code write data files, logs read data files, write logs connect, update, delete and insert
QAS
R3trans
Transport Directory
R3trans
AcceleratedSAP
Export
Import
Development
RDD*Jobs
...
starts
RDDNEWPP
triggers
TRJOB
tp
database QAS
AcceleratedSAP
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
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 |
AcceleratedSAP
DDIC I
Import process
ACTIV
MAIN I
MC ACT MC CONV ADO I LOG I VERS F XPRA GENERA
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
(*) = generic steps not dependent on requests
AcceleratedSAP
DDIC I
ACTIV
DEVMS900021.QAS
N980625.QAS DEVD900021.QAS DEVU900021.QAS DEVV900021.QAS DEVR900021.QAS DEVG900021.QAS
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 (Xpra) Generation of ABAP programs and screens
Upgrade WS 4.6B (Roland Hamm) / 12
MAIN I MC ACT
MC CONV
ADO I LOG I VERS F XPRA GENERA
AcceleratedSAP
ABAP
RDDIMPDP
DDIC activation
Conversion Generation
...
Database
TRBAT database
TRJOB
OS Level
R3trans
tp
Buffer
AcceleratedSAP
ABAP
RDDIMPDP
DDIC activation
Conversion Generation
...
Database
TRBAT
database
TRJOB
DD import
Main import
../tmp - Log file(s)
OS Level
R3trans
tp
Buffer
AcceleratedSAP
ABAP
RDDIMPDP
DDIC activation
Conversion Generation
...
Database
TRBAT
TRJOB
database
Triggers Inserts entries
OS Level
R3trans
tp
Buffer
AcceleratedSAP
starts RDD*-jobs
ABAP
RDDIMPDP
DDIC activation
Conversion Generation
...
Writes status
Database
TRBAT database
TRJOB
OS Level
R3trans
tp
Buffer
AcceleratedSAP
restarts RDD*-jobs
ABAP
RDDIMPDP
DDIC activation
Conversion Generation
Writes status
...
Checks tables
Database
Deletes entries
TRBAT
TRJOB
Writes logs
database
Restarts Deletes entries Monitors tables
OS Level
Buffer R3trans
tp
Moves logs
AcceleratedSAP
tp
ULOG SLOG
ALOG
AcceleratedSAP
Directory tmp
Directory log
DEVI900073.QAS
R3trans RDD*
DEVI900073.QAS DEVV900073.QAS
tp
DEVI900073.QAS ...
...
Import process
AcceleratedSAP
tp Return Codes
tp return codes (rc) Transport tool return codes 0 < rc < 16 rc = max (tool-rc) Combination of tool-rc and tp warning tp warning tp error
0 4 8 12
File system
Database
AcceleratedSAP
Troubleshooting (1)
Alert Monitor
View tp
connection errors
Locate what
change request or generic phase produced a warning or error
Locate
permission problems
AcceleratedSAP
Troubleshooting (2)
TRJOB
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
Transport Directory
tp R3trans
sapevt
File system
Appendix: tp Steps
Mnemonic
E P H A S N 6 I T M G V
Step
main export test import DD objects: import DD objects: activation DD objects: distribution DD objects: conversion
Program
R3trans R3trans R3trans RDDMASGL RDDGENBB RDDGENBB
Environment
OS OS OS R/3 R/3 R/3 OS OS OS R/3 R/3 R/3
DD objects: move nametabs pgmvntabs main import import of table entries enqueue activation R3trans R3trans RDDGENBB
AcceleratedSAP
A B b C c D d E F G H I J L M N n P Q R S
ddic activation TACOB activation of DD objects backup corr.release of C-sources kernel copy import of selfdefined objects (SDO) remove stopmark main export export of C sources generation of repository objects DD import main import new activator symbol R3trans import commandfile enqueue activation TACOB conversion of DD objects TACOB conversion of MC objects test import execution of reports before put execution of reports after put (XPRA) distribution of DD objects
T V W X < > 1 2 3 4 5 6 7 8 ( ) { | } ?
R3trans import of table entries version update forwarding and linking K transports export of self defined objects enqueue type (SE07) dequeue type (SE07) start database stop database start SAP system stop SAP system move reports move nametabs touch all reports reset SAP buffers lock DE (development environment) unlock DE locksysX locksys unlocksys unknown action
AcceleratedSAP
Header
JOBNAME
Report
Explanation
=====================================================================
Function codes
X J B S N M
ADO export Mass activator (new) TACOB activator Distributor Import converter Mass activator (Enqueue)
Y(n)
O D V R
RDDGEN0L
RDDGEN0L RDDDIC1L RDDVERSL RDDEXECL
RDDGENBB
RDDGENBB RDDDIC1L RDDVERSL RDDEXECL
Matchcode converter
Batch converter (not in Upgrade) ADO import Create version XPRA execution
RDDDIC3L
RDDDIC3L
Generation
AcceleratedSAP
tp & R3trans
AcceleratedSAP