STMS Configuration in SAP

โšก Smart Summary

Configure STMS (SAP Transport Management System) to centrally manage transports across an SAP landscape. This tutorial walks through the four configuration steps that establish the Transport Domain Controller, add systems, and define transport routes between development, quality, and production.

  • ๐ŸŽฏ Central Authority: The Transport Domain Controller is the single SAP system that holds all TMS configuration and pushes it to landscape members.
  • ๐Ÿ”‘ Client 000 Rule: All STMS configuration must be performed while logged into client 000 of each participating system.
  • ๐Ÿ” Two Route Types: Consolidation routes (DEVโ†’QAS) use transport layers; Delivery routes (QASโ†’PRD) move tested changes without layers.
  • ๐Ÿ—‚๏ธ DOMAIN.CFG File: Configuration is persisted in /usr/sap/trans/bin/DOMAIN.CFG and shared by every system in the transport group.
  • ๐Ÿค– AI Augmentation: Modern SAP S/4HANA monitoring uses AI to flag failed transports, predict downtime risk, and recommend faster recovery paths.

TMS Configuration screen

STMS is the transport tool that assists the CTO for central management of all transport functions in an SAP landscape. TMS is used for the following tasks:

  • Defining the Transport Domain Controller.
  • Configuring the SAP system landscape.
  • Defining transport routes among systems within the landscape.
  • Distributing the configuration to all members.

Key STMS Concepts

Transport Domain Controller โ€” the system in the landscape that holds the complete configuration information and controls the system landscape whose transports are jointly maintained. For availability and security reasons, this system is normally the Productive system.

Within a transport domain, every system must have a unique System ID and only one system is identified as the Domain Controller. The Domain Controller is the place where all TMS configuration settings are maintained, and any change to those settings is distributed to all systems in the landscape. A transport group is one or more systems that share a common transport directory. The Transport Domain comprises all the systems and the transport routes in the landscape. Landscape, Group, and Domain are terms that system administrators often use interchangeably.

TMS Configuration

With the concepts in place, the four steps below establish a working STMS configuration end to end.

Step 1) Setting up the Domain Controller

  • Log on to the SAP system that has been designated as the Domain Controller, in client 000, and enter transaction code STMS.
  • If no Domain Controller exists yet, the system prompts you to create one. When the Transport Domain is created for the first time, the following activities happen in the background:
  • Initiation of the Transport Domain, Landscape, and Group.
  • Creation of the user TMSADM.
  • Generation of the RFC destinations required for R/3 configurations, with TMSADM as the target logon user.
  • Creation of the DOMAIN.CFG file in the /usr/sap/trans/bin directory. This file contains the TMS configuration and is used by systems and domains to check existing configurations.

Step 2) Transaction STMS

Run transaction STMS and confirm the Domain Controller settings on the resulting screens, as shown below.

TMS Configuration screen

STMS Domain Controller configuration

Step 3) Adding SAP systems to the Transport Domain

  • Log on to each SAP system that will be added to the domain, in client 000, and start transaction STMS.
  • TMS checks the configuration file DOMAIN.CFG and automatically proposes to join the domain when the Domain Controller already exists. Select the proposal and save your entries.
  • For security reasons, the system status remains in “waiting” until the Domain Controller approves it.
  • To complete the acceptance, log on to the Domain Controller (client 000) and navigate to STMS โ†’ Overview โ†’ Systems. The new system is visible there. From the menu choose SAP System โ†’ Approve.

Approve SAP system in Transport Domain

Step 4) Configuring Transport Routes

  • Transport Routes are the routes created by system administrators to transmit changes between systems in a landscape. There are two types of transport routes:
  • Consolidation (from DEV to QAS) โ€” Transport Layers are used.
  • Delivery (from QAS to PRD) โ€” Transport Layers are not required.
  • Transport Layer is used to group changes of similar kinds, for example changes made to development objects of the same class, category, or package. Layers are used in Consolidation routes; after testing in QAS, layers are not used and the changes are moved using single routes towards the PRD system.

Package (formerly known as Development Class) is a way to classify objects that logically belong 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 a consolidation route). Therefore, changes made in any development object belonging to a particular package are transmitted to the target system through the designated Transport Layer; otherwise the change is saved as a local (non-transportable) modification.

FAQs

TMS is the Transport Management System concept. STMS is the SAP transaction code used to configure and operate it. The two terms are often used interchangeably in SAP Basis documentation.

Client 000 is the cross-client administrative client in every SAP system. TMS settings affect all clients, so SAP enforces configuration in client 000 to ensure changes apply consistently across the entire system.

No. Only one system is designated as the Domain Controller. A backup Domain Controller can be configured for failover, but only one acts as active at a time so transport configuration remains consistent.

On Unix systems the default path is /usr/sap/trans. On Windows it is <DRIVE>:\usr\sap\trans. All systems in a transport group share the same physical or network-mounted directory.

Consolidation routes move changes from DEV to QAS using transport layers to group similar objects. Delivery routes move tested changes from QAS to PRD without using transport layers, ensuring only validated transports reach production.

TMSADM is the technical RFC user created automatically during Domain Controller setup. It owns the RFC destinations between systems and is used as the target logon user when TMS distributes configuration across the landscape.

AI in SAP S/4HANA monitors transport queues, predicts failure-prone changes, and recommends safer deployment windows. It also clusters recurring import errors so Basis teams can resolve transport issues faster.

Yes, partially. AI-driven Basis automation tools can propose route layouts, validate RFC destinations, and pre-fill DOMAIN.CFG entries, but final approval still requires a Basis administrator due to security and compliance considerations.

Summarize this post with: