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 Multiple Work Processes For Your Code

Former Member
0 Likes
833

Hi,

Is there a way to identify free work processes via ABAP and excute a certain piece of code in that work process.

Thanks

Vighnesh

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
774

Look at FMs of group SPBT (like [SPBT_INITIALIZE|http://www.sdn.sap.com/irj/scn/advancedsearch?query=spbt_initialize#sdn_content_category_value_wiki], look in wiki), read also documentation on [CALL FUNCTION - STARTING NEW TASK|http://help.sap.com/abapdocu_70/en/ABAPCALL_FUNCTION_STARTING.htm]

Regards,

Raymond

4 REPLIES 4
Read only

RaymondGiuseppi
Active Contributor
0 Likes
775

Look at FMs of group SPBT (like [SPBT_INITIALIZE|http://www.sdn.sap.com/irj/scn/advancedsearch?query=spbt_initialize#sdn_content_category_value_wiki], look in wiki), read also documentation on [CALL FUNCTION - STARTING NEW TASK|http://help.sap.com/abapdocu_70/en/ABAPCALL_FUNCTION_STARTING.htm]

Regards,

Raymond

Read only

0 Likes
774

Hi Raymond,

Thanks for the reply.The wiki link doesnt work.

Thanks

Read only

0 Likes
774

Yes that is a bug, of the website, just click on wiki category on the left panel.

Regards,

Raymond

Read only

ThomasZloch
Active Contributor
0 Likes
774

You can determine the number of free work processes at a given time, however you should not be able to execute your code in one particular process (within the same category like DIA or BTC), why would you want to do that anyway? This belongs in the hands of dispatcher or load balancing functionality (a system administration topic), not in the hands of the ABAP developer.

Thomas