You are on page 1of 26

SAP AG 2000 O14 Upgrade WS 4.

6B (Roland Hamm) / 1
AcceleratedSAP
tp & R3trans
Roland Hamm
SAP AG
SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 2
AcceleratedSAP
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
SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 3
AcceleratedSAP
Transport Directory File Name Conventions
Development
System (DEV)
Transport Directory
actlog
DEVZ900073
DEVZ900074
sapnames
SMITH
data
R900073.DEV
cofiles
K900073.DEV
buffer
QAS
log
ULOG 98_1
SLOG9803.DEV
ALOG9803
DEVE900073.DEV
DEVP900073.DEV
DEVI900073.QAS
N980215.QAS
..
User SMITH
creates change request
DEVK900073
DEVK900073 is released
and exported to QAS
Quality Assurance
System (QAS)
SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 4
AcceleratedSAP
Introducing tp
R/3
Operating system
Transport
Directory
Export Import
Development
Buffer, logs, cofile,
TPPARAM
Quality
Assurance
Insert table entries
into control tables
Buffer, logs, cofile,
TPPARAM
Calls
Release and
export calls tp
tp ABAP
communication
tp tp
R3trans
R3trans
Calls
Insert table entries
into control tables
database
QAS
database
DEV
SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 5
AcceleratedSAP
Helpful tp Commands
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
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>
SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 6
AcceleratedSAP
Transport Directory
tp import all QAS
client=200
DEVK900004
DEVK900008
DEVK900016
DEVK900013
tp import DEVK900016 QAS client=200 u0
Import
QAS
Release and Export
DEV
database
database
tp Import Commands
SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 7
AcceleratedSAP
tp Commands for Accessing Buffers
tp showbuffer <SID>
tp addtobuffer <request> <SID> [u<digit(s)>]
tp delfrombuffer <request> <SID>
tp cleanbuffer <SID>
tp setstopmark <SID>
tp delstopmark <SID>

Buffer for QAS

TASK UMODE
----------------------------------------------------------------------------------------------
DEVK900048 8
DEVK900057
DEVK900053
STOPMARK Is a special entry (not a change request)
DEVK900069 2

SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 8
AcceleratedSAP
Introducing R3trans
R/3
Operating system
Export Import
Development
Quality
Assurance
database
QAS
exit code
database
DEV
R3trans R3trans
connect, read
connect, update,
delete and insert
exit code
tp tp
write data files,
logs
read data files,
write logs
Transport
Directory
SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 9
AcceleratedSAP
ABAP Programs used in Performing Transports
R/3
Operating system
Export Import
RDDMASGL
RDDGENBB
...
RDDVERSL
RDD*-
Jobs RDDIMPDP
database
QAS
Development
Quality
Assurance
TRBAT TRJOB
write logs
tp
starts
triggers
schedules
RDDNEWPP
Transport
Directory
SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 10
AcceleratedSAP
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 |


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.
SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 11
AcceleratedSAP
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
ADO I
VERS F
XPRA
I
m
p
o
r
t


p
r
o
c
e
s
s

GENERA
LOG I
MC ACT
MC CONV
(*) = generic steps not dependent on requests
SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 12
AcceleratedSAP
Appendix: Log Files for Importing DEVK900021


Dictionary import
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 (Xpra)
Generation of ABAP
programs and screens


DDIC I
ACTIV
MAIN I
ADO I
VERS F
XPRA
DEVH900021.QAS
DEVA900021.QAS
DS980605.QAS
P980625.QAS
DEVI900021.QAS
DEVV900021.QAS
DEVR900021.QAS
DEVG900021.QAS
GENERA
LOG I
MC ACT
N980625.QAS
N980605.QAS
DEVMS900021.QAS
DEVD900021.QAS
DEVU900021.QAS
MC CONV
SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 13
AcceleratedSAP












tp
A
B
A
P

O
S

L
e
v
e
l

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

D
a
t
a
b
a
s
e

SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 14
AcceleratedSAP








TRBAT



TRJOB

D
a
t
a
b
a
s
e

A
B
A
P

O
S

L
e
v
e
l

Import Process: R3trans
DD import Main import
../tmp - Log file(s)
../log - Log file(s)
Buffer
tp R3trans












RDDIMPDP
Import
dispatcher
DDIC
activation
Conversion Generation ...
database
SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 15
AcceleratedSAP
D
a
t
a
b
a
s
e

A
B
A
P

O
S

L
e
v
e
l


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

database
SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 16
AcceleratedSAP
D
a
t
a
b
a
s
e

A
B
A
P

O
S

L
e
v
e
l


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

database
SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 17
AcceleratedSAP
D
a
t
a
b
a
s
e

A
B
A
P

O
S

L
e
v
e
l


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

database
SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 18
AcceleratedSAP
Monitoring and Analysis: tp Log Files
ALOG
SLOG
ULOG
tp
Transport subdirectory
log
SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 19
AcceleratedSAP
Monitoring and Analysis: Transport Tool Log Files
R3trans
RDD*
Directory
log
Directory
tmp
DEVI900073.QAS
DEVV900073.QAS
...
DEVI900073.QAS
DEVI900073.QAS
...
tp
Import process
SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 20
AcceleratedSAP
0 Successful transport
4 Warning
8 Error
12 Fatal error
tp Return Codes
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
Transport tool
return codes
tp return codes (rc)
File system Database
SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 21
AcceleratedSAP
Troubleshooting (1)
Alert Monitor
View tp
connection errors
Locate
permission
problems
See RFC failures
Review
individual log
files at the
operating
system level.
System Log (SLOG) Action Log (ALOG)
View all tp return
codes
Locate what
change request or
generic phase
produced a
warning or error
SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 22
AcceleratedSAP
V 000047
V 000048

TRJOB
Transport Directory
C11K900003 N 0000 ...
C11K900008 N 8888 ...
TRBAT
Job overview
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
R/3
SM31 - check tables
SM37 check protocols
of RDD* jobs

log
sapnames
actlog
buffer
tp
File system
sapevt
R3trans
Operating System
Troubleshooting (2)
SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 23
AcceleratedSAP
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
SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 24
AcceleratedSAP
A ddic activation T R3trans import of table entries
B TACOB activation of DD objects V version update
b backup W forwarding and linking K transports
C corr.release of C-sources X export of self defined objects
c kernel copy < enqueue type (SE07)
D import of selfdefined objects (SDO) > dequeue type (SE07)
d remove stopmark 1 start database
E main export 2 stop database
F export of C sources 3 start SAP system
G generation of repository objects 4 stop SAP system
H DD import 5 move reports
I main import 6 move nametabs
J new activator symbol 7 touch all reports
L R3trans import commandfile 8 reset SAP buffers
M enqueue activation ( lock DE (development environment)
N TACOB conversion of DD objects ) unlock DE
n TACOB conversion of MC objects { locksysX
P test import | locksys
Q execution of reports before put } unlocksys
R execution of reports after put (XPRA) ? unknown action
S distribution of DD objects
Appendix: Complete List of tp Action Types
SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 25
AcceleratedSAP

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
Function
codes
Appendix: TRBAT Function Codes
SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 26
AcceleratedSAP
Roland Hamm
SAP AG
Questions & Answers
tp & R3trans