Transport Management System
BASIS / Technicalintermediate

Configuring Transport Routes, Layers and Consolidation Paths in STMS

Learn how to design and configure transport routes and layers in STMS so that development changes flow correctly through consolidation and delivery systems in a multi-system landscape.

Explanation

Transport routes define the path a change takes from a development system through consolidation and quality systems into production. Without correctly configured routes, a change either cannot be released, gets exported to the wrong target, or silently fails to reach production, causing major support incidents. This lesson focuses on the practical mechanics of route configuration inside STMS (transaction STMS, Overview -> Transport Routes) and the concepts that govern it: the transport domain, domain controller, transport group, and transport layer. A transport domain is the set of systems managed by a single domain controller, which owns the master configuration (TMSCONF-like control data) that is distributed to all domain members. Each system in the domain has a System ID (SID) and belongs to a transport group, which is a set of systems sharing the same physical transport directory (usually /usr/sap/trans on Unix or the equivalent shared path). Systems in the same transport group can exchange transport requests without file transfer because they read/write the same directory structure (cofiles and data files). A transport layer groups development systems that share the same consolidation route. For example, a layer named Z_DEV might route all changes from a development system to a single quality system, and from there to production. Objects are assigned a transport layer at creation time (inherited from the package/development class), which determines which consolidation route STMS uses when the object is released. Standard SAP objects use SAP-defined layers (for example SAP); custom objects typically use a customer-defined layer created during initial system configuration. In STMS, route configuration is visualized as a graphical editor showing systems as nodes and routes as arrows. A consolidation route connects a development system to a quality system and is always tied to a transport layer; only one consolidation route per layer per source system is standard practice โ€” having two active consolidation routes for the same layer creates ambiguity about where changes should land and is a common design mistake. A delivery route connects a quality system to production (or further downstream systems) and does not require a transport layer, since delivery routes simply move already-consolidated requests onward. For federated or dual-landscape scenarios (for example separate ECC and S/4HANA transport domains that must exchange changes, or a central transport domain controller managing several distinct SID groups), administrators configure the domain controller in the central system and add other systems as domain members, each requesting inclusion via STMS and being approved by the domain controller. This exchange is done through configuration files that are read and confirmed, not through informal copying. Virtual systems are used to model non-ABAP or external systems in the route diagram, for example, when transports need to be logically tracked even though the target is handled outside standard tp/R3trans processing, or when planning a two-system landscape without a separate quality tier. In two-system landscapes (dev directly to production, common only in smaller sandbox or PoC contexts), a virtual system is sometimes inserted temporarily to represent an eventual quality system so the landscape can be extended later without redesigning transport layers. In S/4HANA and cloud-adjacent scenarios, the same STMS mechanics apply for the ABAP stack, but many customers also integrate with change and transport tooling in SAP Cloud ALM or centralized change control processes for governance, approval gates and audit trails; the underlying transport route configuration in the ABAP system remains conceptually the same, but promotion timing and approvals are frequently enforced by an external CTS or ChaRM-based process layered on top of STMS.

Code example

ABAP Code
# Conceptual sequence for configuring a new consolidation route (STMS, not code)# 1. STMS -> Overview -> Systems: confirm DEV, QAS, PRD are domain members# 2. STMS -> Overview -> Transport Routes -> Configuration -> Display <-> Change# 3. Create transport layer (if new): e.g. ZDEV_LAYER# 4. Draw consolidation route: DEV --(ZDEV_LAYER)--> QAS# 5. Draw delivery route: QAS --> PRD# 6. Save and distribute configuration (Configuration -> Distribute and Activate)# 7. Verify with RSPARAM or STMS import queue view that QAS shows requests#    released from DEV using the new layer # Checking transport group assignment (system-level, via AL11 or OS shell)# ls -l /usr/sap/trans/bin/TP_DOMAIN_<DOMAIN>.PFL# Confirms which systems share the same physical transport directory

Real project scenario

A customer running a three-system ECC landscape onboarded a new S/4HANA sandbox that needed to eventually merge into the same governance process. The Basis team initially connected the sandbox with a direct delivery route into the existing production system to save time, skipping a dedicated consolidation layer. Within weeks, developers began releasing sandbox-only prototype objects that landed directly in production because the sandbox shared the same transport layer as the main development line. The team had to redesign the route configuration, introduce a distinct transport layer for the sandbox, and only allow controlled, manually re-packaged transports from sandbox to production, resolving the accidental promotion risk while preserving the ability to reuse sandbox work later.

Common mistakes

โ€ข Assigning custom objects to the SAP-delivered transport layer, causing customer changes to inherit an inappropriate or shared consolidation route. โ€ข Creating two consolidation routes for the same transport layer from the same source system, leading to nondeterministic routing of released requests. โ€ข Forgetting to distribute and activate the configuration after changing routes, so systems continue operating on stale route data. โ€ข Connecting a temporary or sandbox system directly to production via a delivery route without an intermediate consolidation/quality tier. โ€ข Assuming transport group membership alone guarantees correct routing; group only affects physical file sharing, not logical route direction.

Best practices

โ€ข Use one transport layer per logical development line unless there is a clear justification for sharing. โ€ข Always distribute and activate STMS configuration changes immediately after modifying routes, and verify from a client in each affected system. โ€ข Avoid direct delivery routes into production from non-standard or sandbox systems; always insert at least one quality tier. โ€ข Document transport layer to package assignment so developers understand which systems their objects will pass through. โ€ข Periodically review the route diagram in STMS for accumulated ad hoc routes added during past incidents or migrations.

Interview angle

Interviewers often test whether candidates understand the difference between a transport layer (logical grouping tied to consolidation routing) and a transport group (physical directory sharing), and whether they can explain why an object's assigned layer determines its consolidation path. Be ready to describe a route redesign you performed, including why a two-system landscape is risky and how virtual systems can be used to plan for future expansion.