Application Development and Automation 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: 
Read only

Function module problem

Former Member
0 Likes
399

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,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
376

HI,

You can have multiple internal tables for each time FM executes.

Thanks,

Sriram Ponna.

2 REPLIES 2
Read only

Former Member
0 Likes
376

Hello,

Use

CALL FUNCTION func ...STARTING NEW TASK task name.

Eg:

CALL FUNCTION 'ABAP4_CALL_TRANSACTION' STARTING NEW TASK 'TEST'

Regards

Vasanth

Read only

Former Member
0 Likes
377

HI,

You can have multiple internal tables for each time FM executes.

Thanks,

Sriram Ponna.