Skip to content

/AWS1/CL_QSTLOGICALTABLE

A logical table is a unit that joins and that data transformations operate on. A logical table has a source, which can be either a physical table or result of a join. When a logical table points to a physical table, the logical table acts as a mutable copy of that physical table through transform operations.

CONSTRUCTOR

IMPORTING

Required arguments:

IV_ALIAS TYPE /AWS1/QSTLOGICALTABLEALIAS /AWS1/QSTLOGICALTABLEALIAS

A display name for the logical table.

IO_SOURCE TYPE REF TO /AWS1/CL_QSTLOGICALTABLESOURCE /AWS1/CL_QSTLOGICALTABLESOURCE

Source of this logical table.

Optional arguments:

IT_DATATRANSFORMS TYPE /AWS1/CL_QSTTRANSFORMOPERATION=>TT_TRANSFORMOPERATIONLIST TT_TRANSFORMOPERATIONLIST

Transform operations that act on this logical table. For this structure to be valid, only one of the attributes can be non-null.


Queryable Attributes

Alias

A display name for the logical table.

Accessible with the following methods

Method Description
GET_ALIAS() Getter for ALIAS, with configurable default
ASK_ALIAS() Getter for ALIAS w/ exceptions if field has no value
HAS_ALIAS() Determine if ALIAS has a value

DataTransforms

Transform operations that act on this logical table. For this structure to be valid, only one of the attributes can be non-null.

Accessible with the following methods

Method Description
GET_DATATRANSFORMS() Getter for DATATRANSFORMS, with configurable default
ASK_DATATRANSFORMS() Getter for DATATRANSFORMS w/ exceptions if field has no valu
HAS_DATATRANSFORMS() Determine if DATATRANSFORMS has a value

Source

Source of this logical table.

Accessible with the following methods

Method Description
GET_SOURCE() Getter for SOURCE

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_LOGICALTABLEMAP

TYPES TT_LOGICALTABLEMAP TYPE HASHED TABLE OF /AWS1/CL_QSTLOGICALTABLE=>TS_LOGICALTABLEMAP_MAPROW WITH UNIQUE KEY key
.

TS_LOGICALTABLEMAP_MAPROW

TYPES: BEGIN OF TS_LOGICALTABLEMAP_MAPROW,
key TYPE /AWS1/QSTLOGICALTABLEID,
value TYPE REF TO /AWS1/CL_QSTLOGICALTABLE,
END OF TS_LOGICALTABLEMAP_MAPROW.