GetConstRow 

Purpose

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

Syntax

const AType& GetConstRow(int nIndex) const;

Parameters

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

Return Value

Returns a ‚const‘ 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 ‚const‘ 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 ‚const‘ reference is obtained, the application program will not be able to use the field setter functions to modify the contents of the fields.

Related Information

AppendToTable

GetRow

RemoveRow