GetRow 

Purpose

Returns a reference to an object of the reference structure type proxy class that represents the desired table parameter row specified by the index.

Syntax

AType& GetConstRow(int nIndex);

Parameters

nIndex: a zero-based integer specifying the desired row.

Return Value

Returns a reference to an object of the reference structure type proxy class that represents the desired row. AType denotes the reference structure type proxy class.

Exceptions

Throws const char* when the specified integer index is larger than the total number of rows in the table.

Description

This functions returns a reference to an object of the reference structure type proxy class that represents the table parameter row specified by the integer index. For example, if the table parameter’s reference structure type is BAPI0015_1 , then the returned reference is a reference to a CBoBapi0015_1 .

Once this reference is obtained, the application program will be able to use both the field setter and getter functions to modify the contents of the fields.

Related Information

AppendToTable

GetConstRow

RemoveRow