on ‎2010 Jan 17 6:49 AM
Hi All,
I need to import number of transport requests in Quality Assurance System all at once so I decided to use TP Import in command line.
The main issue is I don't know how to handle Error and Warning. I don't want to continue import process if one transport request encounter Error or Warning. I don't know how to use TP return code to handle this situation
Any idea regarding this issue will be appreciated,
Sanaz.
Request clarification before answering.
Hi,
You can do transports via command line and can use below command:
1) First add all transports in the buffer with below command:
tp addtobuffer <transport number> <SID> pf=/usr/sap/trans/bin/<transport profile>
2) Then use below tp command to import all requests:
tp import <transport number> <SID> CLIENT=<client number> u128 pf=/usr/sap/trans/bin/<transport profile>
Make a .sh script and include all transport requests with add to buffer and import commands. Then when you will run it, it will show you the output of each and every transport with return codes as well.
Also, when it will finish all the transports, you can login into the system and check resulting return codes and logs in STMS.
But it is always advisable that do transports from STMS.
Thanks
Sunny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in the command on the OS level the U128 option seems to be the ignore component version option as seen in stms . I normally use this option because in the command line on the os level while using TP IMPORT the system does not warn you when the transport was developed in a system with a different component version you can only see this in stms
If you are sure that you landscape is consistent then there no need to use this code but there are many codes
Hi I also think this will come in handy
while I was trying to process a solution manger request using charm the transport failed due to the component version option not being flagged and you will not be able to do the transport manualy in the managed system where the transport lies.in simple terms when you go the stms the and try to transport you get the error " you cannot import and transports for Project <SID><project number> at the moment.
Please try this to try and resolve the main problem in question
The work around the inconsistent component version is to add the parameter SP_TRANS_SYNC = OFF in the transport tool tab and this is done on the domain controller for SID PP1
goto
Tcode stms>overview>systems>
double click on the target system
got to the "transport tool '' tab
click on the pencil(edit mode)
click on insert row
then add
SP_TRANS_SYNC = OFF
make sure SP_TRANS_SY and then OFF must go under Value
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.