Before transferring data with the extended functions, you must add all parameters and tables to the parameter stack.

A calling program that exports parameters ( RfcCallExt / RfcCallReceiveExt), or a called program that returns them ( RfcSendData), must add export parameters to the stack with RfcAddExportParam:

RfcAddExportParam(RFC_PARAM_SPACE PSpace,
unsigned ParamNo,
void * name,
unsigned nlen,
unsigned type,
unsigned leng,
void * addr);

Function Parameters:

These fields have the same meanings as the corresponding RFC_PARAMETER fields. (See ItInsLine)

Remember to allocate the stack space with RfcAllocParamSpace before calling RfcAddExportParam.