RfcSendData

To send the result parameters back to the caller, use this function:

RFC_RC SAP_API RfcSendData(RFC_HANDLE handle,
RFC_PARAMETER * parameters,
RFC_TABLE * tables);

The tables description ( RFC_TABLE) must be the same as in the previous RfcGetData call.

This function is defined in SAPRFC.H.

Return Values:

  • RFC_OK
  • RFC_FAILURE

Function Parameters:

Function parameters:

  • handle

Rfc connection handle

  • parameters

‘exporting’ parameters

  • tables

‘tables’ parameters (must be in the same structure as passed to RfcGetData)

RfcRaise should be used instead of RfcSendData if an exception is to be raised.
If RfcRaise is used, then do not send off an additional RfcSendData.