I am trying to start multiple foreground sessions from a 'driver' module asynchronously.
I have tried various forms of the call transaction, submit report and wrapping the code in a function module that I have called asynchronously. The function module will start an independent session, but as a background task instead of foreground one.
Anyone have any ideas or tried this before?
Thanks.
Yes, you can do it like this.
report zrich_0001. data: session_name type string. do 3 times. session_name = sy-index. call function 'ABAP4_CALL_TRANSACTION' starting new task session_name destination 'NONE' exporting tcode = 'SM50' exceptions call_transaction_denied = 1 tcode_invalid = 2 others = 3. enddo.
Regards,
Rich Heilman
Add a comment