2007 Jul 10 9:02 AM
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.
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.
2007 Jul 10 10:23 AM
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
2007 Jul 11 7:40 AM
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.
2007 Jul 11 7:52 AM
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
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |