Start of Content Area

RfcAddImportParam  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 receives return values ( RfcReceiveExt / RfcCallReceiveExt), or a called program that receives import parameters ( RfcGetData), must add import parameters to the stack with RfcAddImportParam:

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

Function Parameters:

Parameters for RfcAddImportParam have the same meanings as for RfcAddExportParam.

Address of the stack space area.

Index for the parameter in the import-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 RfcAddImportParam.