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

Using different work processes

Former Member
0 Likes
508

Hi All,

if we need to make use of diferrent work processes while the execution of a simple file download program,how can we achieve that.

eg : if you are downloading the data to as Application server and it has 1 Lakh records.It should distribute the load among the available work processed ,can that be possible.

Awaiting for any suggestions.

Thanks in adv,

Krishna.

3 REPLIES 3
Read only

Former Member
0 Likes
486

I think, you can not distribuite the work in dofferent WPs,

Also there is nothing like Multi-Threading in SAP.

Only you can split the data and download seperately...

thanks

Chetan Shah

Read only

Former Member
0 Likes
486

hi,

there is no such mechanism of making use of different work processes, only thing is system takes care of load balancing if u have more than one application server.

Read only

Former Member
0 Likes
486

look at SAP program RUTBTPA0 (available in ECC5 / ECC6 - not sure about earlier versions)

Seems to offer what you want - you would need to put your code in an appropriate function module. Each task would need to write to a different file.

Program comments start with:

***********************************************************************

  • Tool for starting parallel tasks

  • - does scheduling of tasks on available server

  • - handles start and receive errors

  • - partitions input and merges output

***********************************************************************

  • At the end you will find an scheme how to parallelize your program

  • by including RUTBTPA0.

***********************************************************************

- see comments at end of the program for details on steps required

Andrew