STMS – Import a build list into many clients on Windows
Scenario:
You have many clients in your testing system which is on a Windows environment. Using one command you wish to update your testing environment with a “build list” using one command.
Solution:
Step |
Description |
1 |
Create a batch file under the directory \usr\sap\trans\bin\ Name the batch file AutoImport.bat Insert the following code into the batch file: @ECHO OFF IF (%1) == () ECHO Enter Transport number. IF (%1) == () GOTO END @ECHO ON tp import %1 <SID> client<Client> pf=<drive>:\usr\sap\trans\bin\TP_DOMAIN_<SID>.PFL u1 :END Replace the entries <SID> with your System ID <Client> with your client number <drive> with the drive your \usr\sap\trans\bin directory resides under. Replicate the line below for each client you have tp import %1 <SID> client<Client> pf=<drive>:\usr\sap\trans\bin\TP_DOMAIN_<SID>.PFL u1 Example |
2 |
Create another batch file under the directory \usr\sap\trans\bin\ Name the batch file TransportList.bat Insert the following code into the batch file: call AutoImport.bat <transport> call AutoImport.bat <transport> call AutoImport.bat <transport> … This can easily be created using excel. Replace <transport> with the transports you wish to import. Replicate the lines for each transport you wish to import. |
3 |
To execute run the TransportList.bat from the \usr\sap\trans\bin\ directory. |