To get the parameter values for the called function, use the following:
RFC_RC SAP_API RfcGetData(RFC_HANDLE handle,
RFC_PARAMETER * parameters,
RFC_TABLE * tables);
Within a function registered via
RfcInstallFunction or after receiving the name of the called function by RfcGetName, the function RfcGetData can be used to receive the parameters of the function call.Here the
ITAB_H field in the RFC_TABLE record has to be initialized to NULL. The function RfcGetData fills in the corresponding table handle. (This is either a newly created table or an already existing one sent to the caller via another RFC call). The field itmode in an RFC_TABLE record determines if a received table is passed by reference or by value.This function is defined in SAPRFC.H.
Return Values:
Function Parameters:
Function parameters:
RFC connection handle
‘importing’ parameters (
‘tables’ parameters (