04-22-2010 7:01 AM
Hi,
I have a problem right now with the parallel processing. If i start my program, which using the call function in new task,performing func(xy) on the end of task, it works fine for the first 5 minutes. All dialog processes were booked with the my aRFC calls. After 5 minutes I found that only 50% from all dialog processes were busy. After 20 minutes only 1 dialog process is busy, which like the serial processing. All other dialog processes are waiting for a task and do nothing.
I have used SPBT_INITIALIZE at the beginning to find the free work processes. The function module I have called was remoteable function module, which internally call CRM_ORDER_MAINTAIN.
Can anyone help me?
Regards,
Beny
04-26-2010 10:23 AM
I suggest you call function module CRMXIF_ORDER_SAVE (which is already RFC enabled)
customizing about BDOCs will be taken into account
the call mode is S (synchronous) by default but you can change it with badi IF_EX_CRMXIF_SNDSID_GET
processing of generated IDOCs can be set on a server group in order to enable parallel processing
04-26-2010 10:54 AM
Hallo Francois,
No I am not using the XIF function. In my task i call crm_order_maintain,crm_oder_save and order_inilitize.
Regards,
Beny