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

Multithreading or parallel processing what i should use and how.

Former Member
0 Likes
1,281

Hi All,

I have created a function module where i am communiocating with webservice. The functionality is I am sending a number to the Website and getting back the result. Everything with function module is working fine.

But i Need to check a lot more numbers(around 7 hundread thousand numbers). I have all These numbers in a database table, if i program normally calling function module everytime it takes few days to execute this program.

So please suggest me how can i use parallel processing or multithreading.

We can send only one request to Website at time in single call.

Thanks in advance,

Narsireddy Cheruku

4 REPLIES 4
Read only

former_member210770
Active Participant
0 Likes
765

Hi NarsiReddy,

Parallel Processing would be efficient way to achieve your req. You can refer below documentation for this functionality .

Implementing Parallel Processing - Background Processing - SAP Library

Regards,

Sagar

Read only

0 Likes
765

Hi Sagar,

Thanks for your reply,

In Parallel processing will the same function module executes parallely?

My doubt is in one call the FM is executing, will FM called again before completing the first call.

Thanks & regards,

Narsireddy.

Read only

0 Likes
765

Hi NarsiReddy,

Yes you can execute same FM Parallel with different data. If you will go through this document you will get 1 example for the same.

Hope this will help.

Regards,

Sagar

Read only

Former Member
0 Likes
765

Hi,

Is it possible to use Loop insted of Do Statement while calling the Parallel processing function  module?

regards,

Narsireddy.