The function

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 calling RfcCallExt.

RfcReceiveExt waits till the answer is received before returning. If you want to check for incoming events without waiting, use the routine RfcListen.

Return Values:

RfcReceiveExt returns the same values as RfcReceive.