Sap Erdc STMS
Sap Erdc STMS
Sap Erdc STMS
TMS(2)
Why Transport Management System
The R/3 change management system, also known as the Change and Transport
System (CTS), provides options for data transfer between and within R/3 Systems.
The tool can be used, to transport tuned and tested customizing settings between
systems and clients.
Using transport requests and customizing settings, development work created in a
separate development system (DEV) can be automatically recorded in change requests
and then transported into a quality assurance client, and finally into a production client.
Once the change request has been released from the source system, it becomes a
transport request.
Development / Correction
Most changes are recorded to development/correction tasks which contain changes to
objects that originated in the current R/3 system .
Repair
A repair is a change to an R/3 repository object that originated on an r/3 system other
than the current R/3 system .The object be an sap delivered object or customer
developed object.
TMS(3)
To activate customizing changes permitted in a particular client ,and whether these
Customizing changes are automatically recorded to a change request ,have to set
Changes and transports for client-specific objects using the transaction code SCC4
TMS(4)
To permit or disallow create or changes to R/3 repository objects from any client ,
have to set Client independent object changes using the transaction code SCC4
Releasingthe
thetask
task
Releasing
SCMK900212
SCMK900212
Followthe
themessage
message
Follow
Transport
directory(1):
Transport directory
is a file system located on OS level where the objects in change
requests that were released and exported from that R/3 system are physically copied so
that they can subsequently be imported to a target R/3 system.
/usr/sap/trans is the parent transport directory
Often in a system landscape there is only one common transport directory .
All R/3 systems that share the same transport directory make up a TRANSPORT
GROUP.
If the transport directory is not shared with other systems ,it is called the Private transport
directory .
DEV
DEV
QAS
QAS
Common
Common
transportdirectory
directory
transport
Transport Group 1
PRD
PRD
Private
Private
transportdirectory
directory
transport
Transport Group 2
Transport directory(2):
One or Many Transport Directory :
The network connection to an R/3 system is not fast enough .
There is no permanent network connection between the different R/3 systems of the
system landscape .
There are security reasons that prevent direct access to an R/3 system (like PRD).
There are different hardware platforms that do not allow a common transport
directory.
Common transport directory is standard practice .
When more than one transport directory ,then manual transfer the operating system
level file from server to server.
Every computer of the transport group on which an R/3 instance is installed should
have write access & read access to the transport directory.
Transport directory(3):
\usr\sap\trans
\usr\sap\trans
eps
bin
data
cofiles
olddata
sapnames
buffer
log
tmp
actlog
Transport directory(4):
bin : This directory contains TP_<domain>.PFL (e.g. TP_DOMAIN_SCM.PFL) file
which is the mainly transport parameter file .
data : This directory contains actual data file of the related change requests with the
customizing & development changes . (e.g. R900210.scm ) .
cofiles : This directory contains control files or change request information files used by
the transport tools on the OS level (e.g. K900210.scm ) .
buffer : This directory contains an import buffer for each R/3 systems in a transport
group.which contains the info of which change requests are to be imported in which system .
log : This directory contains all types of log files about the export , import of change
requests (e.g. SCME900143.SCM ) .
actlog : This directory stores the log of user actions in R/3 for all change requests & tasks
like date/user of creation & release of CR (e.g. SCMZ900143.SCM ).This directory is
accessed by CTO only.
olddata : This directory is needed when we clean up the transport directory.Old exported
data that is to be archived or deleted is stored in this directory .
eps : This is download directory for SAP support packages from SAPNET .
Transport directory(5):
Technical info about transport directory
Every computer of the transport group on which an R/3 instance is installed should
have write access & read access to the transport directory.
Estimate 100 MB per R/3 instance that will be using the transport directory .
To share common transport directory ,all application & database servers must be in the
same windows NT domain or if domain differs create NT trusted relationship between
them.
Set a global share sapmnt to point the directory \usr\sap files .
Then \usr\sap\trans files can be access as \sapmnt\trans .
Set NT access type Full Control for Everyone on this transport directory .
Must define the transport host using the alias SAPTRANSHOST . For this have to
make an entry on file c:\winnt\system32\drivers\etc\hosts
92.83.18.149 scma SAPTRANSHOST .
Transport directory(7):
Preparing Operating System Users:
If we want to install tp, the operating system users must fulfill the
following:
Each user that wants to use the transport system requires read
and write authorization in the transport directory.
If you call a transport program directly from the operating
system level, only use the operating system user <SAPSID>ADM ,
SAPService<SAPSID>
Performing import
Imports are normally not performed by the developer who requested
an export, but by the system administrator.
For import the administrator must log onto the operating system of
a host in the target
system as the user <sapsid>adm.
we can start a complete import with the following command:
cd \usr\sap\trans\bin
tp addtobuffer SCMK900211 PRD
tp import SCMK900211 PRD client100 --- Importing one change request
tp import all PRD client100
In the SAP System, there are 2 background events that are triggered
by tpat
the beginning and/or end of an import with tpimportalland with
tpput:
SAP_IMPORT_START , SAP_IMPORT_STOP
1.
2.
3.
The
The transport
transport of
of aa request
request begins
beginswhen
whenthe
the owner
ownerof
of the
the request
requestreleases
releasesitit
After
Afterreleased
released ,, itit isisunlocked
unlockedand
and the
the data
dataisisexported
exportedto
to OS
OSlevel
level
tp
tpregisters
registers that
thatthe
the request
request has
hasto
to be
be imported
imported into
intothe
the target
target system.
system.
4.
Perform
Perform import
importto
to the
the target
target system
systemusing
using the
the STMS
STMSwhich
whichcalls
callstp
tp
7.
The
Theobject
objectwill
willtransferred
transferredto
totarget
targetsystem
system
SID /DBNAME
SID /DBTYPE
tp Commands(1)
tp connect <sapsid>
This informs connection with the SID system is successful or not .It logs
on to database & then logs off (If successful then TMS will work) .
tp showbuffer <sapsid>
This displays the transportable change requests ready for import to the
<sid>
tp cleanbuffer <sapsid>
This deletes successfully imported change requests from the list of
requests that are marked for import into the SAP System <SAPSID>.
tp count <sapsid>
This displays the number of requests in the <sid> buffer waiting for
import
tp locksys <sapsid>
The specified SAP System is locked to prevent users other than SAP* and
DDIC from
logging on. When a user other than SAP* or DDIC tries to log on to the
system, the
tp Commands(2)
tp/ R3trans Return Codes
R3transsets a return code that shows whether or not the transport
has succeeded.
0: No errors or problems have occurred.
4: Warnings have occurred but they can be ignored.
8: Transport could not be finished completely. Problems occurred with
certain objects.
12: Fatal errors have occurred, such as errors while reading or writing a
file or
The SAP System that we want to use as the backup controller must
have the same release version as the domain controller. Otherwise,
configuration information may be lost when changing the transport
domain controller.
To configure a backup domain controller:
1.
2.
3.
4.
5.
6.
7.
Wecan
canadd
addanother
another
We
systemusing
usingthis
thisoption
option
system
Wechoose
choosethis
thisoption
optiontotocreate
create
We
virtualSystem
System
aavirtual
Thelist
listofofsystems
systemsconnected
connected
The
withthe
theTransport
TransportDomain
Domain
with
Specifythe
thevirtual
virtualsystem
systemname
name
Specify
asDEV
DEV
as
Newlycreated
createdsystem
system
Newly
DEVattached
attachedalready
already
DEV
Wecan
canadd
addanother
another
We
TransportRoute
Routeusing
using
Transport
thisoption
option
this
Choosetotocreate
createnew
new
Choose
TransportLayer
Layer
Transport
Choose
Choose
display/Changetoto
display/Change
edit/changethe
the
edit/change
transportroutes
routes
transport
Givename
nameZDEV
ZDEVofof
Give
thenew
new
the
TransportLayer
Layer
Transport
Usedthis
thisoption
optiontoto
Used
createaanew
new
create
transportroute
route
transport
Transportlayer
layerZDEV
ZDEV
Transport
addedtotothe
thesystem
system
added
Specifythe
thesystems
systems&&
Specify
transportlayers
layers
transport
Transportroute
routeZDEV
ZDEV
Transport
addedfor
forthe
thesystem
system
added
DEV
DEV
STMS_QUEUES
STMS_IMPORT
STMS_PATH
STMS_DOM
SE01
SE09 ,SE10
Transport Organizer
Doubleclick
clicktoto
Double
make
change
make
change
request
request
Clickhere
here
Click
Enter
Enter
DESCRIPTION&&
DESCRIPTION
targetSERVER
SERVER
target
NewChange
Change
New
requestwill
willbe
be
request
generated
generated
Thismessage
message
This
confirmsthe
thecreation
creation
confirms
changerequest
request
ofofchange
Clickhere
here
Click
Thismessage
message
This
confirmsthe
thecreation
creation
confirms
changerequest
request
ofofchange
Clickhere
here
Click
Enterthe
the
Enter
changerequest
request
change
Afterentering
enteringthe
the
After
changerequest
request,use
,use
change
DisplayButton
Button
Display
Typeofofthe
the
Type
Changerequest
request
Change
Customizingtask
task
Customizing
correspondingtotothe
theCR
CR
corresponding
PressF7
F7totoadd
addnew
newtask
task
Press
foraanew
newuser
user
for
Enteruser
username
nametoto
Enter
attachaanew
newtask
task
attach
Newtask
taskcreated
createdon
onaa
New
samechange
changerequest
request
same
Withname
nameSCMK900327
SCMK900327
With
Newtask
taskcreated
createdon
onaa
New
samechange
changerequest
request
same
Withname
nameSCMK900327
SCMK900327
With
Nowtransport
transportthe
therole
role
Now
Nowattach
attachthe
thechange
change
Now
requestSCMK900314
SCMK900314
request
Weget
getthe
themessage
messageofof
We
confirmation
confirmation
Weselect
selectthe
thechange
change
We
requestSCMK900314
SCMK900314
request
Nowuse
usethe
thebutton
buttonDisplay
Display
Now
Therole
roleobject
objectZ_PFCG
Z_PFCG
The
alreadyattached
attachedwith
withthe
the
already
taskSCMK900327
SCMK900327
task
Nowwe
weattach
attachthe
therole
roleobject
object
Now
Z_NEW_AG_SPROtotothe
the
Z_NEW_AG_SPRO
C.R. SCMK900327
SCMK900327
C.R.
Twoobjects
objectsattached
attachedwith
withthe
the
Two
taskSCMK900327
SCMK900327
task
Bythis
thisoption
optionwe
wecan
can
By
changethe
theowner
ownerofofthe
the
change
task
task
Ownerofofthe
thetask
taskhave
have
Owner
beenchanged
changedtoto
been
SAPBASIS
SAPBASIS
Torelease
releasethe
thetask
taskuse
use
To
thisbutton
buttonor
orF9
F9
this
SCMK900327Task
Task
SCMK900327
released&&get
getthe
the
released
messagelike
likethis.
this.
message
ButSCMK900315
SCMK900315not
not
But
released
released
Exportisisgoing
goingon
on
Export
Afterreleasing
releasingtwo
twotasks
tasks
After
thechange
changerequest
requestcan
can
the
berelease.
release.
be