Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

TP & R3trans: Roland Hamm Sap Ag

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 26

tp & R3trans

Roland Hamm
SAP AG

 SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 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) / 2 AcceleratedSAP


Transport Directory File Name Conventions

Development Quality Assurance


System (DEV) System (QAS)

User SMITH
DEVK900073 is released
creates change request
and exported to QAS
DEVK900073

Transport Directory

actlog data log


DEVZ900073 R900073.DEV ULOG 98_1
DEVZ900074 SLOG9803.DEV
cofiles ALOG9803
sapnames K900073.DEV DEVE900073.DEV
SMITH DEVP900073.DEV
buffer DEVI900073.QAS
QAS N980215.QAS
…..
 SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 3 AcceleratedSAP
Introducing tp

Export Import

Development Quality
Assurance

Release and tp ABAP


R/3 export calls tp communication

Operating system

Insert table entries Insert table entries


database into control tables into control tables database
tp tp
DEV Buffer, logs, cofile, Buffer, logs, cofile, QAS
TPPARAM TPPARAM
Calls Calls

R3trans R3trans
Transport
Directory

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


Helpful tp Commands

tp help Display help on tp functionality


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

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


tp Import Commands

DEV QAS

database
database

Release and Export


Import

Transport Directory
tp import all QAS
DEVK900004 client=200
DEVK900008
DEVK900016
tp import DEVK900016 QAS client=200 u0
DEVK900013

 SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 6 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) / 7 AcceleratedSAP


Introducing R3trans

Export Import

Development Quality
Assurance

R/3

Operating system

database
database tp tp
QAS
DEV
exit code
exit code
write data files, read data files, connect, update,
connect, read logs write logs delete and insert
R3trans R3trans
Transport
Directory

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


ABAP Programs used in Performing Transports

Export Import
RDDMASGL
RDDGENBB Quality
RDDVERSL Assurance
RDD*-
...
Development
Jobs RDDIMPDP
starts

schedules

write logs

R/3 RDDNEWPP

triggers
Operating system
TRBAT TRJOB tp

Transport database
Directory
QAS
 SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 9 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 |

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


Steps during Import

DDIC I •• ABAP
ABAPDictionary
Dictionaryimport
import
•• ABAP
ABAPDictionary
Dictionaryactivation
activation
•• Distribution
Distribution
ACTIV
•• Structure
Structureconversion(*)
Import process

conversion(*)
•• Move
Movenametabs(*)
nametabs(*)
MAIN I •• Main
Mainimport
import
MC ACT •• Activation
Activationofofthe
theenqueue
enqueuedefinitions
definitions
MC CONV •• Enqueue
Enqueueconversion
conversion(*)
(*)
ADO I •• Import
Importof
ofapplication
applicationdefined
definedobjects
objects(ADOs)
(ADOs)
LOG I •• Logical
Logicalimport
import
VERS F •• Versioning
Versioning
XPRA •• Execution
Executionofofuser
userdefined
definedactivities
activities(XPRAs)
(XPRAs)
GENERA •• Generation
Generationof
ofABAP
ABAPprograms
programsand
andscreens
screens

(*) = generic steps not dependent on requests


 SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 11 AcceleratedSAP
Appendix: Log Files for Importing DEVK900021

DEVH900021.QAS •• Dictionary
Dictionaryimport
import DDIC I
DEVA900021.QAS •• Dictionary
Dictionaryactivation
activation
DS980605.QAS •• Distribution(*)
Distribution(*) ACTIV
N980605.QAS •• Structure
Structureconversion(*)
conversion(*)
P980625.QAS •• Move
Movenametabs(*)
nametabs(*)
MAIN I
DEVI900021.QAS •• Main
Mainimport
import
DEVMS900021.QAS •• Activation
Activationofofthe
theenqueue
enqueue MC ACT
definitions
definitions
N980625.QAS •• Enqueue
Enqueueconversion(*)
conversion(*) MC CONV
DEVD900021.QAS •• Import
Importofofapplication
application ADO I
defined
definedobjects
objects(ADOs)
(ADOs)
DEVU900021.QAS •• Logical
Logicalimport
import LOG I
DEVV900021.QAS •• Versioning
Versioning VERS F
DEVR900021.QAS •• Execution
Executionofofuser
userdefined
defined
activities XPRA
activities(Xpra)
(Xpra)
DEVG900021.QAS •• Generation
Generationof
ofABAP
ABAP GENERA
programs
programsand
andscreens
screens
 SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 12 AcceleratedSAP
Import Process: tp and the Import Buffer

Import
dispatcher
ABAP

RDDIMPDP
DDIC
Conversion Generation ...
activation
Database

TRBAT TRJOB
database
OS Level

../tmp - Log
file(s)
R3trans tp
Buffer
../log - Log file(s)

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


Import Process: R3trans

Import
dispatcher
ABAP

RDDIMPDP
DDIC
Conversion Generation ...
activation
Database

TRBAT TRJOB

database

DD import Main import


OS Level

../tmp - Log
file(s)
R3trans tp
Buffer
../log - Log file(s)

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


Import Process: tp / ABAP Communication (1)

Import
dispatcher
ABAP

RDDIMPDP
DDIC
Conversion Generation ...
activation
Database

TRBAT TRJOB
database
Inserts
Triggers entries
OS Level

../tmp - Log
Reads file(s)
R3trans tp
Buffer
../log - Log file(s)

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


Import Process: tp / ABAP Communication (2)

Import
dispatcher starts RDD*-jobs
ABAP

RDDIMPDP
DDIC
Conversion Generation ...
activation

Checks and writes table Writes status Inserts job


number
Database

TRBAT TRJOB
database
OS Level

../tmp - Log
file(s)
R3trans tp
Buffer
../log - Log file(s)

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


Import Process: tp / ABAP Communication (3)

Import
dispatcher restarts RDD*-jobs
ABAP

RDDIMPDP
DDIC
Conversion Generation ...
activation

Writes status

Checks tables Deletes


entries
Database

TRBAT TRJOB
Writes logs
database

Restarts Deletes Monitors


entries tables
OS Level

../tmp - Log
file(s)
Buffer
R3trans tp ../log - Log file(s)
Moves logs

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


Monitoring and Analysis: tp Log Files

tp

Transport subdirectory
log

ULOG
SLOG
ALOG

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


Monitoring and Analysis: Transport Tool Log Files

Directory Directory
tmp log

R3trans DEVI900073.QAS DEVI900073.QAS


tp
DEVV900073.QAS DEVI900073.QAS

RDD* ... ...

Import process

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


tp Return Codes

tp return codes (rc)


Transport tool
return codes 0 < rc < 16 rc = max (tool-rc)

0 Successful transport 16 < rc < 100 Combination of tool-rc and


4 Warning tp warning
8 Error
12 Fatal error 100 < rc < 200 tp warning

200 > rc tp error

File system Database

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


Troubleshooting (1)

Alert Monitor System Log (SLOG) Action Log (ALOG)

• View tp • View all tp return • Locate what


connection errors codes change request or
generic phase
• Locate produced a
permission warning or error
problems
• See RFC failures

• Review
individual log
files at the
operating
system level.

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


Troubleshooting (2)

SM31 - check tables SM37 check protocols


of RDD* jobs
TRJOB Job overview
V 000047 01.01.98 12:06 516 Job started
V 000048 01.01.98 12:07 560 Step 001 started
C11K900003 N 0000 ...TRBAT
C11K900008 N 8888 ... 01.01.98 12:07 007 Fatal Error
01.01.98 12:08 518 Job aborted

R/3

Operating System
Transport Directory
tp
R3trans log
sapevt actlog
sapnames
File system
buffer

 SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 22 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) / 23 AcceleratedSAP


Appendix: Complete List of tp Action Types

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

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


Appendix: TRBAT Function Codes

 Header JOBNAME Report Explanation


 =====================================================================
Function X RDDDIC0L RDDDIC0L ADO export
codes 
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

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


tp & R3trans

Questions & Answers


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

You might also like