01-21-2008 1:35 PM
Hi Experts,
I need to call a function module in multiple tasks,
Eg :
Do n times.
call FM.
enddo.
Every time the FM is called inside the do enddo the FM must spawn a new thread. Please suggest how this can be done,
Regards,
01-21-2008 1:40 PM
HI,
You can have multiple internal tables for each time FM executes.
Thanks,
Sriram Ponna.
01-21-2008 1:39 PM
Hello,
Use
CALL FUNCTION func ...STARTING NEW TASK task name.
Eg:
CALL FUNCTION 'ABAP4_CALL_TRANSACTION' STARTING NEW TASK 'TEST'
Regards
Vasanth
01-21-2008 1:40 PM
HI,
You can have multiple internal tables for each time FM executes.
Thanks,
Sriram Ponna.