Tuesday, 28 October 2014

SAP Transport Management System Question and Answers

1. How to import a transport request at os level?
Logon to the target system and make sure request is released
Add TR to your buffer:
tp addtobuffer <TRANSPORT-REQUEST> <SID> Client=<CLIENT-NUMBER>
pf=/usr/sap/trans/bin/TP_DOMAIN_<DOMAIN_SID>.PFL
Example:
tp addtobuffer DEV12345 QAS Client=000
pf=/usr/sap/trans/bin/TP_DOMAIN_DEV.PFL
Import the request:
tp pf=/usr/sap/trans/bin/TP_DOMAIN_<DOMAIN_SID>.PFL
import <TRANSPORT-REQUEST> <SID> U128 client=<CLIENT-NUMBER>
Example:
tp pf=/usr/sap/trans/bin/TP_DOMAIN_DEV.PFL
import DEV12345 QAS U128 client=000

2. How to lock TMS?
Login to domain controller
Goto STMS tcode and click system overview
Select a system which you want to lock and goto menu and select lock
Confirm and distribute to activate

3. How to unlock TMS?
Login to domain controller
Goto STMS tcode and click system overview
Select a system which you want to unlock and goto menu and select unlock
Confirm and distribute to activate
How to delete system from TMS?
Login to domain controller
Goto STMS tcode and click system overview
Select the system which you want to delete TMS and click trash button/click delete option in menu
Confirm and distribute to activate

4. How to import Transport request different client within a single system?
Use SCC1 tcode to achieve it

5. How to disable IMPORT ALL option in transport queue?
Go to STMS Tcode in DC
Click systems Overview & click on systems which you want to disable import all
Go to Transport Tool Tab or double click it
Click Change button
Click ADD new row button
Insert the parameter NO_IMPORT_ALL with value 1.
Save it.
IMPORT_ALL icon will be disabled from stms_import tcode for a particular system and you have to do it for all system in the DC one by one

6. How to troubleshoot a TR is running longtime?
Check whether file system is having enough space in sapmnt
Update is activated/deactivated in SM13
Check there is available background work process is available to import TR in SM50
How to terminate a TR which is running for long time?
Check whether are you able to cancel it in import queue or goto SM50 tcode and identify which work process assigned for particular TR
Select the work process and cancel it with core or without core
If you are not able to cancel it in SM50 go to os level and kill the process which is assigned to it
Linux and unix
Kill -9 pid
For windows use taskkill command

7. What are common transport errors?
Return code (4) indicates imported ended with warning.
Ex:
1. Generation of programs and screens
2. Column missing and Rows missing
Return code (8) indicates not imported ended with error
Ex:
1. Syntax error
2. Program generation error
3. Dictionary activation error
4. Method execution error
Return code (12) indicates import is cancelled.
Ex:
1. Import is cancelled due to object missing
2. Objects are not active
3. Program terminated due to job? RDDEXECL? is not
working
Return code (16) indicates import is cancelled.
Ex:
1. Import cancelled due to system down while importing
2. Import cancelled due to user expires while importing
3. Import cancelled due to insufficient roles

8. What is domain controller?
Domain controller is the central place where you can administrate TMS.
It acts as a leader and controls all system in the landscape, where it contains details about all systems in the landscape

9. How to change password of all TMS RFC usernames using a report?
TMS_UPDATE_PWD_OF_TMSADM

10. What is the default authorization profile assigned to TMSADM user?
S.A_SYSTEM



No comments:

Post a Comment

Note: only a member of this blog may post a comment.