Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3019

Re: STMS - Importing transpor requests in a certain sequence

$
0
0

Hello,

 

Thank you Glenn... but this is for Windows platform.

 

I already solve this situation. What I did was simple. I created two scripts... two .bat files. One to add all the transport requests to transport buffer and the other one for the importing task. You must run this scripts in \usr\sap\trans\bin directory.

 

So... the first .bat file for the "add to buffer", it contains the following lines... this is an example, it have one line for each transport request, in my specific case it contains 2651 lines (because I need to import 2651 transport requests!):

 

tp addtobuffer ED1K900004 EP1 pf=S:\usr\sap\trans\bin\TP_DOMAIN_EP1.PFL

tp addtobuffer ED1K900759 EP1 pf=S:\usr\sap\trans\bin\TP_DOMAIN_EP1.PFL

tp addtobuffer ED1K900040 EP1 pf=S:\usr\sap\trans\bin\TP_DOMAIN_EP1.PFL

...

...

 

Sintax -» tp addtobuffer <Transpor Request ID> <SID of target system> pf=S:\usr\sap\trans\bin\TP_DOMAIN_<SID of target system>.PFL

 

I ran the command as follow (addbuffer.bat >> error.txt):

 

 

Then, after that, I ran the other .bat file for the importing of all that 2651 transport requests. Once again this .bat contains one line for each transport request, which I mean that this file has 2651 lines. I will give you an example:

 

tp import ED1K900004 EP1 client=100 u0126 pf=S:\usr\sap\trans\bin\TP_DOMAIN_EP1.PFL

tp import ED1K900759 EP1 client=100 u0126 pf=S:\usr\sap\trans\bin\TP_DOMAIN_EP1.PFL

tp import ED1K900040 EP1 client=100 u0126 pf=S:\usr\sap\trans\bin\TP_DOMAIN_EP1.PFL

...

...

 

Sintax -» tp import <Transpor Request ID> <SID of target system> client=<Client where you want to import> u0126 pf=S:\usr\sap\trans\bin\TP_DOMAIN_<SID of target system>.PFL

 

I ran the command as follow (import.bat >> error_import.txt):

 

 

This method will guarantee you that the import will be done sequentially, in mass but with a specific order/sequence!

 

 

Best regards,

João Dimas


Viewing all articles
Browse latest Browse all 3019

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>