26
SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 Accelerated ccelerated SAP SAP tp & R3trans Roland Hamm SAP AG

SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

Embed Size (px)

Citation preview

Page 1: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 AAcceleratedcceleratedSAPSAP

tp & R3trans

Roland HammSAP AG

Page 2: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 2 AAcceleratedcceleratedSAPSAP

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

Page 3: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 3 AAcceleratedcceleratedSAPSAP

Transport Directory File Name Conventions

DevelopmentSystem (DEV)

Transport Directory

actlog DEVZ900073DEVZ900074

sapnamesSMITH

dataR900073.DEV

cofiles K900073.DEV

buffer QAS

logULOG 98_1SLOG9803.DEVALOG9803DEVE900073.DEVDEVP900073.DEV DEVI900073.QAS N980215.QAS

…..

User SMITHcreates change request

DEVK900073

DEVK900073 is releasedand exported to QAS

Quality Assurance System (QAS)

Page 4: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

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

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

tptp tptp

R3transR3trans

Calls

Insert table entries into control tables database

QAS

database

DEV

Page 5: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

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

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>

Page 6: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 6 AAcceleratedcceleratedSAPSAP

Transport Directorytp import all QAS client=200DEVK900004

DEVK900008DEVK900016DEVK900013 tp import DEVK900016 QAS client=200 u0

Import

QAS

Release and Export

DEV

databasedatabase

tp Import Commands

Page 7: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 7 AAcceleratedcceleratedSAPSAP

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 8DEVK900057DEVK900053STOPMARK Is a special entry (not a change request) DEVK900069 2

Page 8: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

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

Introducing R3trans

R/3

Operating system

Export Import

Development Quality Assurance

database

QAS

exit code

database

DEV

R3transR3trans R3transR3transconnect, read

connect, update, delete and insert

exit code

tptp

write data files, logs

read data files, write logs

Transport Directory

Page 9: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 9 AAcceleratedcceleratedSAPSAP

ABAP Programs used in Performing Transports

R/3

Operating system

Export ImportRDDMASGL

RDDGENBB

...RDDVERSL

RDD*-RDD*-JobsJobs RDDIMPDPRDDIMPDP

database

QAS

Development

Quality Assurance

TRBAT TRJOB

write logs

tp

starts

triggers

schedules

RDDNEWPP

Transport Directory

Page 10: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

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

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.

Page 11: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 11 AAcceleratedcceleratedSAPSAP

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

• 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

Imp

ort

pro

cess

GENERA

LOG I

MC ACTMC CONV

(*) = generic steps not dependent on requests

Page 12: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 12 AAcceleratedcceleratedSAPSAP

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

• 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

ACTIV

MAIN I

ADO I

VERS F

XPRA

DEVH900021.QAS

DEVA900021.QAS

DS980605.QAS

P980625.QAS

DEVI900021.QAS

DEVV900021.QAS

DEVR900021.QAS

DEVG900021.QASGENERA

LOG I

MC ACT

N980625.QAS

N980605.QAS

DEVMS900021.QAS

DEVD900021.QAS

DEVU900021.QAS

MC CONV

Page 13: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

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

tptp

AB

AP

AB

AP

AB

AP

AB

AP

OS

Lev

el

OS

Lev

el

OS

Lev

el

OS

Lev

el

Import Process: tp and the Import Buffer

TRBATTRBAT TRJOBTRJOB

database

Buffer

RDDIMPDPRDDIMPDP

Importdispatcher

DDICactivation

DDICactivation ConversionConversion GenerationGeneration ......

../tmp - Log file(s)

../log - Log file(s)

R3trans

Da

tab

ase

Da

tab

ase

Da

tab

ase

Da

tab

ase

Page 14: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

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

TRBATTRBAT

TRJOBTRJOB

Da

tab

ase

Da

tab

ase

Da

tab

ase

Da

tab

ase

AB

AP

AB

AP

AB

AP

AB

AP

OS

Lev

el

OS

Lev

el

OS

Lev

el

OS

Lev

el

Import Process: R3trans

DD importDD import Main importMain import

../tmp - Log file(s)

../log - Log file(s)Buffer

tptpR3trans

RDDIMPDPRDDIMPDP

Importdispatcher

DDICactivation

DDICactivation ConversionConversion GenerationGeneration ......

database

Page 15: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

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

Da

tab

ase

Da

tab

ase

Da

tab

ase

Da

tab

ase

AB

AP

AB

AP

AB

AP

AB

AP

OS

Lev

el

OS

Lev

el

OS

Lev

el

OS

Lev

el

Triggers

TRBATTRBAT TRJOBTRJOB

RDDIMPDPRDDIMPDP

Importdispatcher

Import Process: tp / ABAP Communication (1)

Inserts entries

Reads

DDICactivation

DDICactivation ConversionConversion GenerationGeneration

../tmp - Log file(s)

../log - Log file(s)Buffer

......

tptpR3trans

database

Page 16: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

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

Da

tab

ase

Da

tab

ase

Da

tab

ase

Da

tab

ase

AB

AP

AB

AP

AB

AP

AB

AP

OS

Lev

el

OS

Lev

el

OS

Lev

el

OS

Lev

el

TRBATTRBAT TRJOBTRJOB

RDDIMPDPRDDIMPDP

Importdispatcher

Import Process: tp / ABAP Communication (2)

starts RDD*-jobs

Inserts job number

DDICactivation

DDICactivation ConversionConversion GenerationGeneration

Writes status

../tmp - Log file(s)

../log - Log file(s)

Checks and writes table

Buffer

......

tptpR3trans

database

Page 17: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

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

Da

tab

ase

Da

tab

ase

Da

tab

ase

Da

tab

ase

AB

AP

AB

AP

AB

AP

AB

AP

OS

Lev

el

OS

Lev

el

OS

Lev

el

OS

Lev

el

Restarts

TRBATTRBAT TRJOBTRJOB

RDDIMPDPRDDIMPDP

Importdispatcher

Import Process: tp / ABAP Communication (3)

restarts RDD*-jobs

Monitors tables

Deletesentries

DDICactivation

DDICactivation ConversionConversion GenerationGeneration

Writes status

../tmp - Log file(s)

../log - Log file(s)

Checks tables

Writes logs

Buffer

Moves logs

......

Deletes entries

tptpR3trans

database

Page 18: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

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

Monitoring and Analysis: tp Log Files

ALOG

SLOG

ULOG

tp

Transport subdirectorylog

Page 19: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

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

Monitoring and Analysis: Transport Tool Log Files

R3trans

RDD*

Directory log

Directorytmp

DEVI900073.QAS

DEVV900073.QAS

...

DEVI900073.QAS

DEVI900073.QAS

...

tp

Import process

Page 20: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

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

0 Successful transport4 Warning8 Error12 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 toolreturn codes

tp return codes (rc)

File system Database

Page 21: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

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

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

Page 22: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 22 AAcceleratedcceleratedSAPSAP

V 000047V 000048

TRJOB

Transport Directory

C11K900003 N 0000 ...C11K900008 N 8888 ...

TRBAT

Job overview

01.01.98 12:06 516 Job started01.01.98 12:07 560 Step 001 started01.01.98 12:07 007 Fatal Error01.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)

Page 23: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 23 AAcceleratedcceleratedSAPSAP

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

Page 24: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

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

A ddic activation T R3trans import of table entriesB TACOB activation of DD objects V version updateb backup W forwarding and linking K transportsC corr.release of C-sources X export of self defined objectsc kernel copy < enqueue type (SE07)D import of selfdefined objects (SDO) > dequeue type (SE07)d remove stopmark 1 start databaseE main export 2 stop database F export of C sources 3 start SAP systemG generation of repository objects 4 stop SAP systemH DD import 5 move reports I main import 6 move nametabsJ 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 DEn TACOB conversion of MC objects { locksysXP test import | locksysQ execution of reports before put } unlocksysR execution of reports after put (XPRA) ? unknown actionS distribution of DD objects

Appendix: Complete List of tp Action Types

Page 25: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

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

HeaderJOBNAME 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

Appendix: TRBAT Function Codes

Page 26: SAP AG 2000 O14 Upgrade WS 4.6B (Roland Hamm) / 1 A ccelerated SAP tp & R3trans Roland Hamm SAP AG

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

Roland HammSAP AG

Questions & Answers

tp & R3trans