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

Call_function_send_error

Former Member
0 Likes
1,232

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

2 REPLIES 2
Read only

RaymondGiuseppi
Active Contributor
0 Likes
723

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

Read only

0 Likes
723

Thanks for your replay.