STMS is the transport tool that assists the CTO for central management of all transport functions. TMS is used for performing:
- Defining Transport Domain Controller.
- Configuring the SAP system Landscape
- Defining the Transport Routes among systems within the system Landscape
- Distributing the configuration
Transport Domain Controller – one of the systems from the landscape that contains complete configuration information and controls the system landscape whose transports are being maintained jointly. For availability and security reasons, this system is normally the Productive system.
Within transport domain, all systems must have a unique System Ids and only one of these systems is identified as the domain controller, the transport domain controller is the system where all TMS configuration settings are maintained. Any changes to the configuration settings are distributed to all systems in the landscape. A transport group is one or more systems that share a common transport directory. Transport Domain – comprises all the systems and the transport routes in the landscape. Landscape, Group, and Domain are the terms that are used synonymously by system administrators.
Step 1: Setting up the Domain Controller
- Log on to the SAP system, which is decided to be the Domain Controller, in client 000 and enter the transaction code STMS.
- If there is no Domain Controller already, a system will prompt you to create one. When the Transport Domain is created for the first time, following activities happen in the background:
- Initiation of the Transport Domain / Landscape / Group
- Creating the user TMSADM
- Generating the RFC Destinations required for R/3 Configurations, TMSADM is used as the target login user.
- Creating DOMAIN.CFG file in usr/sap/trans/bin directory – This file contains the TMS configuration and is used by systems and domains for checking existing configurations.
Step 2: Transaction STMS
Step 3: Adding SAP systems to the Transport Domain
- Log on to SAP systems (to be added in the domain) in client 000 and start transaction STMS.
- TMS will check the configuration file DOMAIN.CFG and will automatically propose to join the domain (if the domain controller already created). ‘Select’ the proposal and save your entries.
- For security purpose, system status will still be in ‘waiting’ status, to be included in the transport domain.
- For complete acceptance, login to Domain Controller System (Client 000) -> STMS -> Overview -> Systems. New system will be visible there. From the menu choose ‘SAP System’ -> Approve.
Step 4: Configuring Transport Routes
- Transport Routes – are the different routes created by system administrators and are used to transmit changes between the systems in a system group/landscape. There are two types of transport routes:
- Consolidation (From DEV to QAS) – Transport Layers are used
- Delivery (From QAS to PRD) – Transport Layers not required
- Transport Layer – is used to group the changes of similar kinds, for example, changes are done in development objects of same class/category/package, logically should be sent through same transport route. Therefore transport layers are assigned to all objects coming from DEV system. Layers are used in Consolidation routes, however after Testing happens in QAS, layers are not used and the changes are moved using single routes towards PRD system.
Package – (formerly known as Development Class) is a way to classify the objects logically belonging to the same category or project. A package can also be seen as an object itself and is assigned to a specific transport layer (in consolidation route), therefore, changes made in any of the development object belonging to a particular Package, will be transmitted towards target system through a designated Transport Layer only, or else the change will be saved as a Local (non-transportable) modification.