RFC_RC SAP_API RfcReceiveExt(RFC_HANDLE handle,
char ** exception);
allows you to receive return values from an RFC call. RfcReceiveExt must be called after callingRfcCallExt.
RfcReceiveExt waits till the answer is received before returning. If you want to check for incoming events without waiting, use the routineRfcListen.
RfcReceiveExtreturns the same values as RfcReceive.
The call was successfully completed. Return parameter values have been placed in PSpace, in the appropriate RFC_PARAMETER_STACK areas. (See
An internal error has occurred. You can use the function RfcLastError to get more information.
The remote function you called has raised an exception. The field * exception points to the name of the exception. No data was returned.
The local or remote RFC system has raised an exception. The field * exception points to the name of the exception. The connection was automatically closed by the system; you can call RfcLastError to get information on the origin of the error. Two exceptions are possible: SYSTEM_FAILURE and COMMUNICATION_FAILURE.
The callee has issued an RFC call ( a "call back") to the caller of RfcReceiveExt. No data has been returned. The call request must be handled by using the functions RfcGetNameExt, RfcGetDataExt and RfcSendDataExt before another call to RfcReceiveExt can be done.