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: 

Function module problem

Former Member
0 Kudos

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

Former Member
0 Kudos

HI,

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

Thanks,

Sriram Ponna.

2 REPLIES 2

Former Member
0 Kudos

Hello,

Use

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

Eg:

CALL FUNCTION 'ABAP4_CALL_TRANSACTION' STARTING NEW TASK 'TEST'

Regards

Vasanth

Former Member
0 Kudos

HI,

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

Thanks,

Sriram Ponna.