Вы находитесь на странице: 1из 9

How to Configure STMS (SAP Transport

Management System)
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.

TMS Configuration
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:
o Initiation of the Transport Domain / Landscape / Group
o Creating the user TMSADM
o Generating the RFC Destinations required for R/3 Configurations,
TMSADM is used as the target login user.
o 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:
o Consolidation (From DEV to QAS) – Transport Layers are used
o 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.
Step-by-step procedure to configure
TMS – 3 System Landscape in an SAP
system

Knowledge/Experience of configuring Transport Management System(TMS) is most important skill


for SAP basis administrators/consultants. This configuration is done using the T-CODE STMS. Is
that simple? Yes it is simple when you have right environment to practice. To practice or experiment
on the topic Transport Management System, one should have minimum 3 SAP systems. I think it is
very difficult to have 3 computers at home for practice. Even this experiment can not be done easily
by real-time employees who work in production environment. Becuase they will not get the test
systems for practice. Once you get hands on experience on the configuration of TMS, the
confidence level will increase. It has happened with me. I have done this experiment at my home. I
have done all the experiments related to TMS using 3 physical systems landscape, i.e..
Development, Quality and Production.

Simple steps to configure Transport Management System (TMS) – 3 System Landscape in SAP
system

1. Install SAP ECC 6.0 system in one of the 3 computers


2. Log-on to the SAP system using 000 client, DDIC user and password. The password is the
same which you have selected while installation of ECC 6.0
3. Run T-CODE STMS
4. As soon as you run the STMS T-CODE, Click the ‘Save Button’ in the dialog box that
appears
5. 1st system will become domain controller and transport domain will be created
6. Install 2nd SAP ECC 6.0 system another system. You can also do ECC 6.0 installation in the
1st system, if that has enough resource like RAM, HDD and Processor
7. Now log-on to 2nd system using 000 client, DDIC user
8. Run T-CODE STMS in 2nd system
9. Transport Domain and Domain Controller Information will be displayed in the dialog box that
opens
10. Click the ‘Save Button’ in the above dialog box
11. The message ‘SAP System waiting to be included in transport domain’ will be displayed
under the TMS graphic. We have to approve this system in Domain Controller
12. Install 3rd SAP ECC 6.0 system another system. You can also do ECC 6.0 installation in the
1st system, if that has enough resource like RAM, HDD and Processor
13. Now log-on to 3rd system using 000 client, DDIC user
14. Run T-CODE STMS in 3rd system
15. The same Transport Domain and Domain Controller Information will be displayed in the
dialog box that opens as shown while configuring TMS in 2nd system,
16. Click the ‘Save Button’ in the above dialog box
17. The message ‘SAP System waiting to be included in transport domain’ will be displayed
under the TMS graphic. We have to approve this system in Domain Controller
18. Now log-on to domain controller, I mean to 1st system
19. Click ‘Overview’ – ‘Systems’
20. All the three systems will be displayed
21. Select 2nd system – Select ‘SAP System’ and click Approve
22. Click Yes in the ‘Include system SCP in transport domain?’ dialog box
23. Select 3rd system – Select ‘SAP System’ and click Approve
24. Click Yes in the ‘Include system SCP in transport domain?’ dialog box
25. Now Select Environment – Transport Routes
26. You should be able to see the graphic of ‘Three System Configuration’

If you want through understanding of TMS concept, transport routes and export/import requests,
contact me. I can show you above steps online with explanation on my servers interactively. You can
repeat the same experiments on my servers again and again until you get satisfied. You can also
delete the TMS configuration and recreate any number of times until you get confidence over the
topic of TMS. I will explain other topics related Transport Management System. After completion of
my class, you will be able to maintain 3 system landscape very easily in your company.

You can get back for learning SAP Basis/Netweaver/HANA administration either online/offline

How to configure SAP R/3 Transport Management System (TMS) and


Transport Domain Controller (TDC) using R3trans.exe and tp.exe

How to configure STMS


STMS needs to be configured to export and import transport request across systems in the
landscape. This can be obtained with the help of R3trans.exe and tp.exe which are located in the
kernel of central instance. TMS should be configured as a part of post installation after CTS has
initialized. In TMS configuration, we have to identify one of the systems as TDC in the landscape.

Transport Domain Controller (TDC)


TDC acts as a leader for all the systems within a transport domain. TDC configures its local transport
directly, /usr/sap/trans, as common transport directory for all the systems in transport domain and
TDC allows configuration and administrative settings to be performed for other systems in the
domain then changes distributed to all other systems.

Transport Domain (TD)


Collection of all the systems connected together in TMS is called as Transport Domain. Usually
development system configured as TDC instead of quality and production.

TMS Configuration Setting up of TDC


Usually once Dev server installed we have to configure TMS after CTS initialization, which should be
done by configuration of TDC. As QAS and PRD systems are not yet installed in the initial stage of
implementation, generally, DEV gets configured as TDC. Logon to DEV with DDIC in client 000,
execute STMS after initializing CTS. Once STMS executed for the first time system asks for the
transport domain name setup and information of domain controller. Once required information is
given save the configuration. Note:-To configure current system as TDC that local system
information no need to be given, instead save the configuration.

 Once TDC configured system performs below steps in back end.


 Configures TD and TDC.
 Creates Domain. CFG and Transport Profile in bin directory, which is sub directory of
common transport directory.
 Creates a user TMSADM with type communication.
 Creates required RFC communications using TMSADM user.

Domain.CFG
This file is a part of bin directory created after TMS configured which maintains TD information
means all the systems information taken place in TD. Incase this file has been corrupted, has to be
regenerated by TMS tool, but should not be edited manually.

Transport Profile
It is a configuration file of transport domain resides in bin directory gets created by the system when
TMS got configured. This transport profile TP_DOMAIN_SID.PFL, which contains all the system
information includes SID, Common transport directory, DB type and DB information, etc… in terms
of parameters and values. As per the configuration settings maintained in transport profile we are
required to use different unconditional modes upon the requirement when importing a TR in to a
specific system.

Virtual System Creation


As per the initial stage of the implementation project, only DEV system get installed which will be
configured as TDC. When developer customizes object and includes them in a TR that request
should be routed to its target system where it gets imported. But as the target quality system would
not be installed already .We are required to create other quality and production system as virtual
systems in TMS configuration with same SID will be used in future installation of these systems. So
that a transport request can be exported to its mentioned target which is quality automatically once it
is released. Later once other quality and production systems are physically installed we can convert
them as physical systems in TMS by specifying same TDC as it was configured and approving them
through TDC.

 Go to STMS→System Overview→SAP System→Create→Virtual System


 Mention SID and Description and save and repeat the same for other virtual systems also.

Create Transport Layer


Classification of all development objects as per its type which are standard and customized should
be assigned with a transport layer which is standard and customized through which these objects
gets exported/imported from integration to consolidation system. A transport layer configuration is a
logical assumption because all the dev objects should be assigned with the transport layer either
standard or customized. There is a standard layer “SAP” already exists in the system we need to
create customized layer with Z<SID> format. Now two consolidation routes required to be created
from integration to consolidation system with the assignment standard and customized layer. So that
all standard objects will be moved through the standard layer, SAP, and customized objects moved
through Z<SID> layer.

Transport route Configuration


Logical route gets created between the systems taken place in transport domain through which we
assume a TR can be export/import is called transport route. We have two types of transport routs in
TMS 1. Consolidation route 2. Delivery route

Consolidation Route
The route obtained between integrated system and consolidation system is known as consolidation
route.

Delivery route
The route obtained between consolidation system to recipient system is called as delivery route.

Transport Target group


In case more than one system configured at consolidation level or recipient level, more than one
consolidation route or delivery route cannot be created by assigning single transport layer. In this
situation, grouping all consolidation systems with naming format /Name/ is called as target group.
Now consolidation routes are targeting to this group, from the group to all the consolidation systems
route obtained automatically so that a TR which has released an integrated system will be exported
to all the systems in the group then can be imported into all.

1. Go to STMS→Transport routs→Graphical Editor→change Drag and drop all the system


boxes into the below area which are required to be configured with the routes.
2. Go to Edit→Transport Layer→Create Create a customized layer with Z<SID> format.
3. Go to Edit→Transport route→Create Drag the route to consolidation system
4. Select Consolidation route give standard transport layer name→continue
5. Perform the above for delivery route
6. Then →Save So above configuration can be saved then distributed to all the systems in
network.

 As per the above configuration TMS setup will allow developers to customize R/3 objects
and create a TR with the target of quality system.
 Once the TR is released it will be exported to target system (QAS).
 As QAS and PRD being as virtual systems a TR could not be imported in to those
databases.
 After quality and production servers are installed as a part of TMS configuration we need to
give the information of TDC which is DEV system in QAS and Production systems.
 Then Log on to TDC go to STMS → Systems Overview → select virtual systems(QAS,PRD)
→ go to SAP system → Approve.
 Distribute and activate the configuration to all the systems in landscape so that all three
systems in the landscape created in TDC are copied to other system (QAS, PRD).
 After this is done, TR import is possible in QAS and PRD systems.

Вам также может понравиться