CALL_FUNCTION_WAIT_ERROR

I am calling custome developed RFC functions from Java application daily.  This is automated process.  We are using these functions for the last few months. No issues reported. But on 05/22/2007 when a call is made to these RFC, one RFC has thrown the following error.  Please let me know if the error is in the function module coding / data problem or in RFC call. Is this fix is to be takenup by the ABAP developer?  What action to be taken to fix the issue. This issue was not reported again.  on 05/23/2007 also RFC are called and it is successful.  Please let me know how to handle this if again I encounter this kind of problem.
The following is the Short dump.
ABAP runtime errors    CALL_FUNCTION_WAIT_ERROR     
       Occurred on     05/22/2007 at 16:43:08
Error when waiting for reply to Remote Function Call.                         
What happened?
"connection closed"                                                                               
An error occurred when executing a Remote Function Call.
Error analysis
An error occurred when executing a Remote Function Call.                                                                               
"connection closed"                                                                               
Status of connection.... "CODE=CM_DEALLOCATED_NORMAL CM_SEND_RECEIVED         
CM_COMPLETE_DATA_RECEIVED SAPCODE=0 CONV=89797100"                           
Internal error code.... "RFC_IO5"                                                                               
There is an error in the communication system. To clarify                     
and resolve the error, contact your system administrator.
Information on where termination occurred
The termination occurred in the ABAP/4 program "SAPMSSY1 " in                 
"REMOTE_FUNCTION_CALL".                                                       
The main program was "SAPMSSY1 ".                                                                               
The termination occurred in line 69                                           
of the source code of program "SAPMSSY1 " (when calling the editor 690).
Source code extract
000650   FORM REMOTE_FUNCTION_CALL USING VALUE(TYPE).                           
000660     DO.                                                                  
000670       CALL 'RfcImport' ID 'Type' FIELD TYPE.                             
000680       PERFORM (SY-XFORM) IN PROGRAM (SY-XPROG).                          
>       RSYN >SCONT SYSC 00011111 0.                                       
000700     ENDDO.                                                               
000710   ENDFORM.
It will be very helpful if someone can provide a suggetion or detailed information on this.  I dont have access to OSS or SAP service notes.   We are Java developers.  We have no SAP in my organization. The issue is reported in my customers SAP system.
Thanks
Sarma

Hi Sarma,
The runtime error CALL_FUNCTION_WAIT_ERROR is logged on the receiving side of the RFC communication if the RFC connection to the sending program was unexpectedly terminated.
If the error only arises within the asynchronous RFC without response, you can correct this error with the kernel patch.
If it only arises within the asynchronous RFCs with response, this error may be caused by the fact that the caller program does not fetch the answers from ALL pending asynchronous RFCs before scheduling.
Hope this is useful
Reagrds
Umesh

Similar Messages

  • Abap Error CALL_FUNCTION_WAIT_ERROR in program SAPMSSY1

    I am getting abap error " CALL_FUNCTION_WAIT_ERROR  ".
    The termination occurred in the ABAP/4 program "SAPMSSY1 " in
    "REMOTE_FUNCTION_CALL".
    The main program was "SAPMSSY1 ".
    The termination occurred in line 69
    of the source code of program "SAPMSSY1 " (when calling the editor 690).
    Regards,
    Arundhati

    Hello,
    If CALL_FUNCTION_WAIT_ERROR occurs only at the server side for
    Remote Function Call (RFC) communication when the server gets
    the message that the client side is not reachable any more.
    This can happen if there exists an communication interruption (CPIC /
    TCP/IP network problems) or a client is not any more active.
    Therefore please check the gateway, workprocess and rfc traces
    (dev_rd,  dev_w* and dev_rfc*) and SM21 for possible problems. Could
    you find the origin of the rfc connection? Is it an external RFC
    program? Then you may need to install the most recent rfc library
    on external side according to SAP notes:
    413708  RFC library current at present
      27517  Installation RFCSDK
    Regards,
    David

  • ABAP runtime errors    CALL_FUNCTION_WAIT_ERROR

    Dear All,
      we got a lot of dump error in CALL_FUNCTION_WAIT_ERROR
    Error analysis
    An error occurred when executing a Remote Function Call.
    "connection closed"
    Status of connection.... "CODE=CM_DEALLOCATED_NORMAL CM_SEND_RECEIVED
    CM_COMPLETE_DATA_RECEIVED SAPCODE=0 CONV=02919576"
    Internal error code.... "RFC_IO5"
    There is an error in the communication system. To clarify
    and resolve the error, contact your system administrator.
    The termination occurred in the ABAP/4 program "SAPMSSY1 " in
    "REMOTE_FUNCTION_CALL".
    The main program was "SAPMSSY1 ".
    The termination occurred in line 69
    of the source code of program "SAPMSSY1 " (when calling the editor 690).

    What happened?
    "connection closed"
    An error occurred when executing a Remote Function Call.
    Information on where termination occurred?
    The termination occurred in the ABAP/4 program "SAPMSSY1 " in
    "REMOTE_FUNCTION_CALL".
    The main program was "SAPMSSY1 ".
    The termination occurred in line 69
    of the source code of program "SAPMSSY1 " (when calling the editor 690).

Maybe you are looking for