‎2010 Jan 06 6:43 AM
Hi All,
Here i am facing the problem in multi-threading logic.
This is my code.
CALL FUNCTION 'ZXXXX_FM'
STARTING NEW TASK gv_task
DESTINATION IN GROUP gv_grp
PERFORMING customer_endprocess ON END OF TASK.
I am running the above code in the work process loop. The loop is properly working upto 17 th work processes(gv_task = 17).
When looping through 18 th work process i am getting short sump saying that Call_function_send_error .
Please help me why it is happening.
Thanks,
Kishore.
Edited by: kumar raju on Jan 6, 2010 7:44 AM
‎2010 Jan 06 7:23 AM
Usually (in my experience) this error arise when too many terminated asynchronous RFC call with response are waiting.
To solve the problem, count the task running or waiting when calling function (add 1 to counter) and decrease the counter in the end of task form (sub 1 to counter) and do not submit a new task if counter is too hign, instead wait for the counter is reduced (wait until counter < max)
NB:
- You may (should) use FM SPBT_INITIALIZE before starting (check [Parallel Processing with Asynchronous RFC|http://help.sap.com/saphelp_nw04/helpdata/EN/22/0425c6488911d189490000e829fbbd/frameset.htm])
- If that do not solve the problem, you may change you system configuration as per [Note 1065551 - Short dump: CALL_FUNCTION_SEND_ERROR, ARFC_RUN_NOWAIT|https://service.sap.com/sap/support/notes/1065551]
Regards,
Raymond
‎2010 Jan 06 7:43 AM