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

Parallel Processing Issue : call function starting new task

Former Member
0 Likes
1,412

Hi

I am using the parallel processing functionality using the call function new task destination in group default Performing on end of task inside a loop ( i am splitting the internal table )

However when i am debugging the code, i am able to see the function module( it opens a new session in debugging ) , and i see that new task is started after the RFC Function module is executed .

How is this parallel processing ? I mean the new task starts after control returns back to main program , after the execution of the RFC FM.

I thought the idea was to have the same FM executing in multi threads. So that time is saved.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,083

Parallel processing consists on execute several tasks in the same moment. Your divide your reports in tasks that can execute at the same time because are independently. At the end you combine the tasks for reaching a result

5 REPLIES 5
Read only

vinod_vemuru2
Active Contributor
0 Likes
1,083

Hi,

I think you need to try with IN BACKGROUND TASK addition. But You can't Debug the FM called in BACKGROUND TASK.

Thanks,

Vinod.

Read only

Former Member
0 Likes
1,084

Parallel processing consists on execute several tasks in the same moment. Your divide your reports in tasks that can execute at the same time because are independently. At the end you combine the tasks for reaching a result

Read only

0 Likes
1,083

Thanks for the answers.

There were too many complications in the 'call function in new task ' option.

So we are trying it with the job submit option. So we are splitting up the data into smaller tables and submiting it with this statement : Submit 'prog' with selection-table 's_sel' via job 'job' and return .

Thanks

Read only

Sathish
Product and Topic Expert
Product and Topic Expert
0 Likes
1,083

I used job submit option and there are no complexities!

Read only

Former Member
0 Likes
1,083

That happens because the FM is executed asynchronously.