Table Object Methods 

A Table object has the following methods:

Table Object Methods

Name

Parameter(s)

Return Type

Description

CreateFromR3Repository

VARIANT

R3Connection

String

RepositoryEntry

String

ParameterName

Boolean

This methods defines a column structure for a Table object by reading all information from the R/3 repository.

CreateFromHandle

VARIANT

R3Connection

Long TableHandle

String

RepositoryEntry

String

ParameterName

Boolean

This methods defines a column structure for a Table object by reading all information from the R/3 Repository and associating the table handle with it.

CreateFromTable

Object Table

Boolean

This method defines a column structure for a Table object by copying the column structure of the input Table object.

Create

String

ParameterName

Long

TableLineLength

Boolean

This method defines a single-column structure for a Table object. The column has width TableLineLength.

AttachHandle

Long TableHandle

Boolean

This method attaches a TableHandle (H_ITAB) to a Table object.

DetachHandle

 

Long

This method detaches the TableHandle from the Table object. The Table object structure is still valid.

Refresh

void

void

Forces an internal state update.

FreeTable

void

void

Frees all data in the Table.

DeleteTable

void

void

Deletes the table data and structure.

SelectToMatrix

VARIANT

RowVector

Long

RowAssocIndex

VARIANT

ColumnVector

Long

ColumnAssocIndex

Long

DataAssocIndex

Object

This method returns a Matrix object containing a two-dimensional view of one column of the table.

SelectMatrixToNumber

VARIANT

RowVector

Long

RowAssocIndex VARIANT

ColumnVector

Long

ColumnAssocIndex

Long

DataAssocIndex

Long Decimals

Object

This method returns a Matrix object containing a two-dimensional view of one column of the table. It also tries to convert the result into numbers.

SelectToVector

VARIANT

RowVector

Long

RowAssocIndex

Long

DataAssocIndex

Object

This method returns a Matrix object using one input dimension.

SelectVectorToNumber

VARIANT

RowVector

Long

RowAssocIndex

Long

DataAssocIndex

Long Decimals

Object

This method returns a Matrix object using one input dimension. It also tries to convert the result into numbers.

BuildTiledRanges

Long Size

Object

Returns a Range collection whose ranges together completely span the table.