‎2011 Mar 29 11:54 AM
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
‎2011 Mar 29 12:28 PM
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
‎2011 Mar 29 12:28 PM
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
‎2011 Mar 29 1:05 PM
Hi Raymond,
Thanks for the reply.The wiki link doesnt work.
Thanks
‎2011 Mar 29 1:47 PM
‎2011 Mar 29 4:28 PM
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