Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Simultaneous import of multiple transport requests using the function module

Former Member
0 Kudos

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 🙂

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor

Try to call FM TMS_MGR_IMPORT_TR_REQUEST instead. (prameter iv_request = 'SOME' and list of requests to import into IT_REQUESTS)

4 REPLIES 4

raymond_giuseppi
Active Contributor

Try to call FM TMS_MGR_IMPORT_TR_REQUEST instead. (prameter iv_request = 'SOME' and list of requests to import into IT_REQUESTS)

0 Kudos

Many thanks for the answer!

I did not even know about the reserved word "SOME".
I will definitely try: 3

iftah_peretz
Active Contributor
0 Kudos

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.

0 Kudos

Thanks for the answer.
But then it will be a "sequential" import.
I'm interested in "simultaneous" import