R3SystemInfo (by index) 

Purpose

Return value of R/3 systme information field.

Syntax

const CRfcData& GetR3SystemInfo(int nIndex);

Parameters

nIndex: index into a list of R/3 system information fields.

Return Value

A CRfcData object containing the value of the field whose index is given as argument. This CRfcData object’s content can be integer or character string, and should be extracted using one of its unary cast operators.

Exceptions

None.

Description

The system information is stored in a list and each list element can be accessed by index. The list contains all the fields in the structure export parameter RFCSI_EXPORT of RFC_SYSTEM_INFO and the simple export parameters of RFC_SYSTEM_INFO. This function should be used in conjection with CRfcConnection::R3SystemInfoCount() for iterating through the entire list.

Related Information

GetR3SystemInfo

R3SystemInfo (by field-name)

R3SystemInfoCount

The RFC_CONNECT_INFO structure