InsertIntoTable 

Purpose

Inserts a new, initialized row to the table parameter, and returns a reference to a reference structure type proxy object that represents the newly inserted row.

Syntax

AType& InsertIntoTable(int nIndex);

Parameters

nIndex: an integer that represents an index into the table parameter where the new row is to be inserted.

Return Value

Returns a reference to an object of the reference structure type proxy class. AType denotes the reference structure type proxy class.

Exceptions

Throw const char* for failure to insert a memory block by RFC Library.

Description

This function inserts a row to the embedded table parameter and initializes all the fields within the row. Then it returns a reference to an object of the reference structure type proxy class. For example, if the table parameter’s reference structure type is BAPI0015_1 , then the returned reference is a reference to a CBoBapi0015_1 .

Related Information

The Reference Structure Type Classes

AppendToTable