Before transferring data with the extended functions, you must add all parameters and tables to the parameter stack.
Both calling and called programs must add table parameters to the stack, since tables are both exported and imported. To do this, use the function:
RFC_RC SAP_API RfcAddTable(RFC_PARAM_SPACE PSpace,
unsigned TableNo,
void * name,
unsigned nlen,
unsigned type,
unsigned leng,
ITAB_H ithandle);
Function Parameters:
Address of the stack space area.
Index for the parameter in the table stack space.
type, leng
These fields have the same meanings as the corresponding
RFC_PARAMETER fields. (See ItInsLine)Table handle. (Corresponds to the itab_h field in the
Remember to allocate the stack space with