12-04-2017 6:27 AM
Good day, people!
The following module function exists in the system, with which you can import a transport request in the system - TMS_TP_IMPORT. But with the help of it, you can import only one request for execution.
Is there a module function that can be used to import multiple transport requests in one block, as if I had done this in transaction stms (Select multiple transport requests and execute import)?
P.S .: Please do not offer alternatives (GUI, Report, Abap program), I'm interested in exactly the functional module 🙂
12-04-2017 6:33 AM
Try to call FM TMS_MGR_IMPORT_TR_REQUEST instead. (prameter iv_request = 'SOME' and list of requests to import into IT_REQUESTS)
12-04-2017 6:33 AM
Try to call FM TMS_MGR_IMPORT_TR_REQUEST instead. (prameter iv_request = 'SOME' and list of requests to import into IT_REQUESTS)
12-04-2017 10:57 AM
Many thanks for the answer!
I did not even know about the reserved word "SOME".
I will definitely try: 3
12-04-2017 7:24 AM
Hey,
If you want to keep the same FM you can LOOP over the requests and use the FM TMS_TP_IMPORT IN BACKGROUND UNIT / STARTING NEW TASK. Note all the constrains and restrictions with these methods.
12-04-2017 10:54 AM
Thanks for the answer.
But then it will be a "sequential" import.
I'm interested in "simultaneous" import