The function

RFC_RC SAP_API RfcReceive(RFC_HANDLE handle,
RFC_PARAMETER * parameters,
RFC_TABLE * tables,
char ** exception);

receives the return values from a function call issued by RfcCall.

This function thus allows you to receive the answer to an RFC call and must be called after calling RfcCall. The tables’ description ( RFC_TABLE) must be identical to the one used in RfcCall.

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

This function is defined in SAPRFC.H.

Return Values:

Function Parameters:

See also RfcCall and RfcCallReceive.