Basis Stms Configuration Notes

20
How to configure SAP Transport Route (STMS) After finishing your SAP installation , you need to do post installation tasks. One of the tasks is to configure SAP Transport Management System (STMS). I'll show you how to configure STMS in SAP, the document applies for newly finished SAP installation. 1. Go to SE06 -> Standard Installation -> Perform Post-Installation Actions. Perform Post SAP Installation 2. Since it's a fresh installation, choose YES to reinstall the CTS.

description

Basis Stms Configuration Notes

Transcript of Basis Stms Configuration Notes

Page 1: Basis Stms Configuration Notes

How to configure SAP Transport Route (STMS)

After finishing your SAP installation, you need to do post installation tasks. One of the tasks is to configure SAP Transport Management System (STMS).

I'll show you how to configure STMS in SAP, the document applies for newly finished SAP installation.1. Go to SE06 -> Standard Installation -> Perform Post-Installation Actions.

Perform Post SAP Installation

2. Since it's a fresh installation, choose YES to reinstall the CTS.

Reinstall CTS

Page 2: Basis Stms Configuration Notes

3. If it's the first SAP installation you can configure it as SAP Transport Domain, otherwise include it in existing SAP Transport Domain.

Create SAP Transport Domain

4. Enter the password for TMSADM user.

TMSADM and password

5. Your SAP Transport Domain is now created.

Page 3: Basis Stms Configuration Notes

New SAP Transport Domain is created

6. Now you can add virtual system QA & PROD for your complete system landscape (you can replace it later when you've installed QA & PROD).

From initial screen STMS -> Overview -> Systems -> SAP Systems -> Create -> Virtual System.

Create SAP Virtual System

7. Enter Description

Page 4: Basis Stms Configuration Notes

Add QA Virtual System

Repeat the above step for Virtual Production.

Add Prod Virtual System

8. Now you begin to setup SAP Transport Route.From initial screen STMS -> Overview -> Transport Route -> Configuration -> Standard Configuration -> Three Systems in Groups

Page 5: Basis Stms Configuration Notes

Setup Transport Route - Standard Configuration

9. Enter your DEV, QA & PROD system respectively.

Enter the three System Group

10. It's better to create Transport Target Group if you have multiple clients in your target system. From Transport Group -> Edit -> Transport Target Group -> Create

Page 6: Basis Stms Configuration Notes

Create Transport Target Group

11. Enter the name of Target Group and enter the target clients for both QA and PROD Target.

Target group name and target clients QA

Page 7: Basis Stms Configuration Notes

Target group name and target clients PROD

12. Now from Edit -> Transport Route -> Create to create your transport route. (You can choose in Graphical Mode or Hierarchical View). Integration System : <DEV SID> Target Group: <QA Target Group>.

Create The Transport Route

13. Do the above steps for Delivery Source: <QA SID - client>

Delivery Target: <PROD Target Group>

Page 8: Basis Stms Configuration Notes

Transport Route for target PROD

14. Now your SAP Transport Route is fully configured and shown like below

Fully configured SAP Transport Route

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

Page 9: Basis Stms Configuration Notes

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 computers2. 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.03. Run T-CODE STMS4. As soon as you run the STMS T-CODE, Click the ‘Save Button’ in the dialog box that appears5. 1st system will become domain controller and transport domain will be created6. 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 Processor7. Now log-on to 2nd system using 000 client, DDIC user8. Run T-CODE STMS in 2nd system9. Transport Domain and Domain Controller Information will be displayed in the dialog box that

opens10. Click the ‘Save Button’ in the above dialog box11. 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 Controller12. 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 Processor13. Now log-on to 3rd system using 000 client, DDIC user14. Run T-CODE STMS in 3rd system15. 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 box17. 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 Controller18. Now log-on to domain controller, I mean to 1st system19. Click ‘Overview’ – ‘Systems’20. All the three systems will be displayed21. Select 2nd system – Select ‘SAP System’ and click Approve22. Click Yes in the ‘Include system SCP in transport domain?’ dialog box23. Select 3rd system – Select ‘SAP System’ and click Approve24. Click Yes in the ‘Include system SCP in transport domain?’ dialog box25. Now Select Environment – Transport Routes26. You should be able to see the graphic of ‘Three System Configuration’

If you want through understanding of TMS concept, tranport 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 related Transport Management System topics. After completion of my class, you will be

Page 10: Basis Stms Configuration Notes

able to maintain 3 system landscape very easily in your company. Please get back to me for more details about fee and duration of the class.

http://punarvasi.com/simple-steps-to-configure-transport-management-system-tms-3-system-landscape-in-sap-system/

http://basissap.blogspot.com/2008/05/components-of-r3-architecture.html

http://www.sapbasismania.net/2012/11/how-to-configure-sap-transport-route.html

SAP BW 7.3 Training - BW 7.3 Modeling - INFO OBJECTS Part 1

http://www.youtube.com/watch?v=rZ4JcZHpgbs

SAP BW 7.3 Training - BW 7.3 Modeling - INFO OBJECTS Part 2 http://www.youtube.com/watch?v=QX8asIti1Bk

Importanat database command : BRTOOL and BRBACKUP

Querying tape Required :brbackup -qbrarchive -q

Initialising tape:brbackup -c -i force -v / SCRATCH

brarchive -c -i force -v / SCRATCH

Backup:Database Backupbrbackup -c -m all -t online -a -c -cds For Online Database

brbackup -c -m all -t online_cons -a -c -cds For Online consistent backup (Database + Archive Logs)

brbackup -c -m all -t offline -a -c -cds For Offline backup

Archive Log Backupbrarchive -c -cds Archive Log Backup with Copy ,delete & Savebrarchive -c -sd Archive Log backup with Save & Delete

Queryng Tape No. present inside Tape Drivebrbackup -i show

Page 11: Basis Stms Configuration Notes

Restoring Offline Backup from Tape brrestore –c –m all –b <.aft file>

*.aft file for that particular backup will be at path : oracle\SID\sapbackup\<.aft>Forcefully Ending the backup1 Execute DB02 TCode2 Go to Current Sizes3 Read the Tablespace name whose backup status is 'ACTIVE'4 Telnet of the Server / Take Dameware of server & goto command prompt5 sqlplus /nolog6 conn /as sysdba7 Fire following commandalter tablespace end backup;

SAP Basis is a  niche IT skill. This is very demanding in IT companies.Basis consultant requirement is always high and there are very less numbers of good experience Basis consultants available in IT market. This make SAP Basis high paying job.Many times it is been asked how to become a Basis Consultant.There are many SAP training institutes which are providing BASIS training, but most of them doesn’t have good infrastructure available with them to give live practical training.It is very important for Basis Consultant to have hands on experience on live servers.There are good Institutes are available like Siemens, Genovate and NIIT. This institutes are having good infrastructure to provide to work real scenarios..As a fresher one can also go into SAP BASIS, many IT companies are there which recruit people from Campus provide them In house training in SAP BASIS.But most important for a Basis Consultant is to have hands on experience on Live Production Servers.Because every scenario could not be created in Training Environment or by Installing SAP at home. I have seen many people which show many year of experience but in actual they don’t have proper knowledge.

Three most important things are required to be a good Basis consultant.

1.      Good knowledge of OS (Unix, Linux and Windows). Having good knowledge of makes a consultant resolve issue very fast and he can do deep analysis on any problem which related to OS side. Unix experience is very advantage in Basis Side, because most company use Unix/Linux servers in there landscapes.

2.       Any Database knowledge is very helpful to a consultant like Oracle, DB2 and Maxdb etc. It gives added advantage in anybody career. Because in day to day scenarios one can face mostly DB related issue.

3.       Third important point is overall SAP knowledge, about its architecture, how its work?. How transaction works and etcThere are many sites available in Internet where one get learn SAP Basis. Most important site is SAP SDN, where you can get latest information about SAP. There are many forums available and while papers available in SDN.

What's the use of a domain controller and how to configure the same?

Page 12: Basis Stms Configuration Notes

The transport domain contains all SAP systems whose transports are to be administrated jointly. One of these SAP systems is chosen as the transport domain controller.Since all activities relevant to the entire transport domain, such as configuring transport routes or RFC connections, can only be carried out on the domain controller, the SAP system selected to be the domain controller should have:High availabilityA high level of securityA high level of maintenance

The domain controller is normally configured on a production system or a quality assurance system. Out of several reason you may choose to set up an SAP System dedicated to tasks that may be carried out CENTRALLY. This includes the task of the TMS domain controller.The system load on the SAP system that is chosen as the domain controller is low, and only increases for a short period when the TMS configuration is changed.Configuration:

To activate the TMS on an SAP system, run transaction STMS in client 000 with user authorization S_CTS_ADMIN.If the SAP system is already assigned to a transport domain, the TMS initial screen shows the system’s status, either as a domain controller, or as a SAP system within a domain.If the SAP system is not yet assigned to a transport domain, the system tries to locate an existing transport domain within the current transport group by reading the file DOMAIN.CFG in the directory bin of the common transport directory. If no transport domain exists, a new transport domain is created, and the current SAP system is assigned as the transport domain controller.When a transport domain controller is first created, the TMS generates:ü A transport domain and a transport groupü User TMSADMü The RFC destinations required for the TMSü File DOMAIN.CFG in directory bin of the common transport directory, for storing the TMS configurationo The name of the transport domain may not contain blanks and may not be changed afterwards without reconfiguring the domain controller. By default, a transport domain will have the name DOMAIN_, where is the system ID of the domain controller. The name of the transport domain cannot be changed afterwards.

Components of R/3 Architecture

Database ServerThe database server is the most powerful server in an R/3 system. R/3 uses the database management system as central storage for all R/3 data and R/3 metadata information. This central storage, the basis for the tight integration of all R/3 application modules, guarantees consistent data storage.Three important factors govern the decision-making process for selecting data storage options.

Page 13: Basis Stms Configuration Notes

· Adequate protection from data loss· Appropriate speed of access· Sufficient storage capacity to accommodate growthThe application serverWhile SAP uses the generic term application server to define a computer that receives connections from SAP clients, the actual connections are managed by SAP dialog servers.A dialog instance is a software program that is running the SAP kernel (similar to an Oracle instance), and it is the job of the dialog instance to execute the ABAP programs and manage the requests for data and services. While there is generally a one-to-one mapping between an application server and a dialog instance, it is possible to have more than one dialog instance on an application server.

InstanceAn instance is a group of R/3 services that are started and stopped togetherThe central instanceThe central instance is a concept that is unique to SAP. The central instance is a combination of hardware and software. It contains a physical server (the application server) and numerous software components, including a message server, a database gateway (a pre-established connection between SAP and Oracle--or another database), and various update, enqueue, dialog, and spool facility software. In most generic SAP architectures, there are numerous application servers but only a single central instance. However, in addition to managing the SAP interfaces, the central instance can also serve as an application server.Work ProcessA work process is where individual dialog steps are actually processed and the work is done. Each work process handles one type of request.The work process types are:Dialog, for executing dialog programs(processes only one request at a time)Update, for changing database entries( primary or secondary )Background, for executing background jobs( started at a specified time )Spool, for print formatting (generated online or during back ground processing For printing ) andEnqueue, for executing lock operations

DispatcherCentral process on an instance. It is responsible for starting work processes and distributing transaction load across work processes.Message Server

Independent program that maintains a list of all instances in a SAP system. The message server determines which instance a user logs on to and organizes communication between instances

GatewayInterface that converts one communication protocol into another.

Page 14: Basis Stms Configuration Notes

Explain work processesA work process is where individual dialog steps are actually processed and the work is done. Each work process handles one type of request.The work process types are:Dialog, for executing dialog programs(processes only one request at a time)Update, for changing database entries( primary or secondary )Background, for executing background jobs( started at a specified time )Spool, for print formatting (generated online or during back ground processing For printing ) andEnqueue, for executing lock operations

What is STMS? How does u configure it?

STMS is used for configuring routes / importing into relevent server after release of a request.STMS is being used to transport all your customization and workbench work from Development to QA and then to production. There are several steps need to follow for STMS configuration.1. Create Common mount point /usr/sap/trans. (Normally Development server file system need to be mount with Production system with nfs.)2. In all servers, to configure STMS follow the steps as mentioned below. I. Create System ii. Select same domain for both the systems.iii. Again in Development server create Transport Route. (One Transport Layer for Standard objects and one layer for Customer Objects) iv. Activate the router in all the systems.3. Check the Status of all system of STMS after activation.

What is authorization, authorization object, authorization profile, role?

Actions and the access to data are protected by authorization objects inthe SAP system. Authorization objects allow complex checks that involve multipleconditions that allow a user to perform an action. The conditions arespecified in authorization fields for the authorization objects and are ANDlinked for the check. Authorization objects and their fields have descriptiveand technical names.

An authorization is always associated with exactly one authorizationobject and contains the value for the fields for the authorization object.An authorization is a permission to perform a certain action in the SAPsystem. The action is defined on the basis of the values for the individualfields of an authorization object.

A role is primarily a functional descriptionThe technical realization of the role, in the form of concrete authorizations is achieved through the authorization profile associated with the role.

What is a composite profile?

A set of profiles which are included under a single profile name is called as a composite profile (SU02)

Page 15: Basis Stms Configuration Notes

How can you find missing authorizations? How can you solve?

By running the SU53 transaction.Identify the authorization object where the required filed value is to be given and the do the same thru SU01 or PFCG.

Components of R/3 Architecture

Database ServerThe database server is the most powerful server in an R/3 system. R/3 uses the database management system as central storage for all R/3 data and R/3 metadata information. This central storage, the basis for the tight integration of all R/3 application modules, guarantees consistent data storage.Three important factors govern the decision-making process for selecting data storage options.· Adequate protection from data loss· Appropriate speed of access· Sufficient storage capacity to accommodate growthThe application serverWhile SAP uses the generic term application server to define a computer that receives connections from SAP clients, the actual connections are managed by SAP dialog servers.A dialog instance is a software program that is running the SAP kernel (similar to an Oracle instance), and it is the job of the dialog instance to execute the ABAP programs and manage the requests for data and services. While there is generally a one-to-one mapping between an application server and a dialog instance, it is possible to have more than one dialog instance on an application server.

InstanceAn instance is a group of R/3 services that are started and stopped togetherThe central instanceThe central instance is a concept that is unique to SAP. The central instance is a combination of hardware and software. It contains a physical server (the application server) and numerous software components, including a message server, a database gateway (a pre-established connection between SAP and Oracle--or another database), and various update, enqueue, dialog, and spool facility software. In most generic SAP architectures, there are numerous application servers but only a single central instance. However, in addition to managing the SAP interfaces, the central instance can also serve as an application server.Work ProcessA work process is where individual dialog steps are actually processed and the work is done. Each work process handles one type of request.The work process types are:Dialog, for executing dialog programs(processes only one request at a time)Update, for changing database entries( primary or secondary )Background, for executing background jobs( started at a specified time )Spool, for print formatting (generated online or during back ground processing For printing ) andEnqueue, for executing lock operations

DispatcherCentral process on an instance. It is responsible for starting work processes and distributing transaction load across work processes.Message Server

Independent program that maintains a list of all instances in a SAP system. The message server determines which instance a user logs on to and organizes communication between instances

Page 16: Basis Stms Configuration Notes

GatewayInterface that converts one communication protocol into another.

Explain work processesA work process is where individual dialog steps are actually processed and the work is done. Each work process handles one type of request.The work process types are:Dialog, for executing dialog programs(processes only one request at a time)Update, for changing database entries( primary or secondary )Background, for executing background jobs( started at a specified time )Spool, for print formatting (generated online or during back ground processing For printing ) andEnqueue, for executing lock operations