STMS [SAP Transport Management System]
Domain Controller--: It is used to control the landscape. There will be only one domain controller in the landscape. Initially it is set to development and later can be moved to on higher available system such as PRD/QAS/Pre-production but to keep the things simple most of the cases we keep DEV as Domain Controller
Member Systems--: The other systems are included in the domain and referred as member systems.
The 2 options get popped up when STMS transaction is executed either to configure domain or include the system in the domain.
Domain controller is created by using DOMAIN_SID and other members are included by respective HOSTNAME’s and INSTANCE Number’s.
Steps to Include System in the Domain--:
USER--: TMSADM [Default User]
TMSADM is a communication user created during TMS configuration
2. A message SAP System waited to be included in the transport Domain is displayed to the external system.
Approving the Inclusion of Systems:
CREATING VIRTUAL SYSTEM’s
TRANSPORT GROUP
It is a naming convention group_SID to configure all the systems to a single transport group i.e, all the developments which are performed in the development system will be automatically available to other systems in the landscape.
The group of systems which shares the transport directory in common are said to be in a group but due to sensitivity of PRD it is moved into a separate group.
NOTE--: It specifies where the transport requests are grouped – transport group
Z> à Adjust Import Queue.
This Icon will be enabled only if we are using different transport groups.
Virtual System--: addressing the transport requests.
ADOPTING A SYSTEM-:
The SAP system is adopted by using customizing and development.
In the customer namespace “Y”, “Z” or “company name”
All the above repository objects can be developed in SE80
Change Request-: It is used to record the changes that are performed during customizing, cross-client customization and development.
NOTE--: It is not the responsibility of a basis consultants to release the change request, but considering the SOW.
Change requests locks the objects and the locks are release once the change requests are released.
CHANGE Request Release--:
The change requests are release in SE01/SE09/SE10.
Once the change requests are released they are called as TRANSPORT REQUSTS and no changes are allowed to that request [After Release]
The change requests contains the changes in the database and they could not e copied to other systems using table copy/table export etc
So SAP introduced change request mechanism to record the changes during customizing and development and upon release, transport to other systems independent of OS and DB.
SCC1--:
It is used to copy the change requests bw clients in the same systems for unit testing before they are released. It is used for client specific objects.
TP--: It is a transport protocol which is used to export the change requests and import transport requests.
Change Request Release--: Release of change requests are performed by developers and functional consultants and once change request is released it is referred as TR.
The transport requests are stored in trans directory
[usr/sap/trans]
Transport directory is used for transport, support packages, binaries for transportation of requests, add-ons, languages, third party tools, upgrades and enhancements packages.
Transport request number, name of the owner and time stamp
NOTE-: Virtual system name and real system name should be same. If they differ then all the change requests have to be added manually.
STMS-->extras-->other requests-->add [tp add to buffer <TR>]
TMSADM is a communication user which is created during TMS configuration. It is used by TP to transport the objects bw the systems.
TMSUP and TMSADM RFC connections are created bw all the systems in the landscape to facilitate the transports.
TP_DOMAIN_SID.PFL --: is used to provide profile parameters for TP. It specifies the profile, exe locations along with TP version.
Example--:
TP Import <TR> SID CLNT100 pf = E:usr\sap\trans\bin\TP_DOMAIN_SID.PFL
tp addto buffer <TR> SID CLNT100 pf=E:\usr\sap\trans\bin\Tp_Domain_SID.PFL
NOTE--: Cofiles and corresponding Datafiles are must to transport an object.
It is used to host the patches. The patches are downloaded to this directory i.e, EPS/in
It is used to apply Support Packages, languages add-ons etc.
LOG--: It is used to display the transport logs. In SAP naming conventions transports means it can be an export/import. These logs are stored in this directory.
ALOG--: Application Log Specifies the username, transport request, time stamp of the request release (export/import)
SLOG--: It specifies the Job Steps.
ULOG--: It specifies the TP commands
Secstore--: is a transaction which is used to check the RFC connections which are pointed to obsolete system. The connections with “RED” mark can be deleted.
WHEN A TRANSPORT REQUEST IS RELEASED
Development
DEVELOPMENT CLASS/PACKAGE--:
Execute Transaction SE80, select package and create a new package. Package definition requires the following inputs-:
Each program/repository objects need to be assigned with a valid development class/package, if they are assigned to $TMP class or saved as Local Objects, they are not transportable.
Transport Layers are defined in STMS
Program Definition/Development Class/Package
Development class/Package transport layer
Transport layer- transport routes
Transport routes are assigned to transport systems which forms a landscape
Execute STMS – Transport routes – establish the landscape
DEV is the system where integration/development and customizing is initiated which is referred as Consolidation System.
QAS is the system where consolidation of objects, testing, quality assurance, training etc is initiated, which is referred as Integration System
PRD is the system where business activities are performed [without any development, testing and quality] which is referred as Delivery System.
TRANSPORT ROUTES:
Integration Route and Delivery Route
IMPORT THE TRANSPORT REQUESTS-:
Execute STMS --> click on IMPORT --> Select the system --> click on IMPORT/IMPORT all to import the transport request(s).
Specify the client number, specify the schedule to import [immediate, later, date and time, after event, during system startup etc]
Provide the unconditional modes [overwrite originals, leave the requests in queue for later import]
Monitor the TP LOG [ULOG/ALOG/SLOG]
While importing the request it checks for command {control file} along with data file, these are mandatory for import.
***Disable the fully loaded truck after the implementation by using parameter
No_import_all = 1
The sequence of the transport requests is very important and mandatory.
Example--:
IMPORT PROCESS
IMPORT TROUBLE SHOOTING-:
If GUI is not accessible then use command
>tp connect SID pf=/usr/sap/trans/bin/TP_SOMAIN_DEV.PFL
2. Check the “RDDIMPDP” jobs are scheduled in client 000 with user like DDIC
3. Ensure that STMS is configured and it is consistent
4. Check whether tp is able to read the transport profile, check the transport directory and its permissions writability to log,sapnames, tmp dir
5. Check the tmp directory which should not contains any hanging recods.
6. Check the log directory for ULOG, ALOG, SLOG and transport specific log [check the return codes]
7. In R/3, check if the transport RDDIMPDP is scheduled correctly and event_triggered. To check on the success of all related background processes [RDD* jobs] via tcode SM37
8. Problems may result from wrong version of tp or r3trans, tp not running [unix-: ps –ef|grep tp] use task manager on windows
9. Check whether database has enough space or enough free disk space.
10. When analyzing a problem, compare the logs and buffer entries into tables TRBAT and TRJOB.
11. If a communication problem between tp and R3 is indicated, try calling SAPEVT on operating system level and see if it trigger RDDIMPDP.
12. If multiple tp are running then delete/kill all of them and restore the transport [which will start from the point where it has been stopped]
13. Check whether any objects in locked/repaired status in SE03 and release/unlock them.
14. Ensure that at least 2 background jobs are in place.
15. Local change requests or the objects that are assigned to a $tmp class are never transported.
16. Do not delete Pat01/Pat01/tmp/TRBAT/TRJOB directory entries manually.
Import the requests in STMS-:
Import the requests manually using tp commands at OS level.
SU –sidadm
Cd /usr/sap/trans/tmp
Ls –lrt
By executing these commands you can view the files writing into tmp directory. Size gets increased.
Ps –ef|grep tp --> to check tp is connected or not
MODIFICATION ADJUSTMENT-:
While applying support packages some of the objects are modified/uploaded.
Due to this modification the system may be inconsistent and these objects are displayed in SPDD and SPAU.
SPDD--> Data Dictionary Objects [domain, data elements, table, structure, view]
SPAU--> {Screens, menus, functional modules etc}
Add-on Conflicts--: When add-on’s are applied they may conflict with existing basis packages.
Preliminary Transports/Emergency Transports:
Thanks & Regards
Samarjeet Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |