Start of Content Area

RfcAddExportParam  Locate the document in its SAP Library structure

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:

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

Function Parameters:

Address of the stack space area.

Index for the parameter in the export-parameter stack space.

type, leng

addr

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

Note

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