Skip to Content
avatar image
Former Member

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 27, 2007 at 09:34 PM

    Hey,

    This appeared due to one of the following:

    1. Network problem - probably temporary network error between the Java and ABAP

    2. Bug in the ABAP kernel, if this is the case, than your SAP team would have to

    upgrade the kernel from sap service market place...

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 28, 2007 at 08:59 AM

    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

    Add comment
    10|10000 characters needed characters exceeded