ABAP Keyword Documentation → ABAP - Reference → Obsolete Language Elements → Obsolete Processing of External Data → Logical Databases (Obsolete) → Logical Databases - Statements → Statements for Logical Databases
GET node [LATE] [FIELDS f1 f2 ...].
GET is only intended for use in
executable programs that are associated with a
GET can be used to handle two types of events after these types of executable programs are
- Read events of the logical database
Closing a hierarchy level in the logical database
If a list is written during a
GET event, an automatic line feed is created first.
The event blocks after
GETare implemented internally as procedures. Declarative statements in
GETevent blocks create local data.
If logical databases are no longer used, the statement
REJECTis no longer needed either.
GET node [FIELDS f1 f2 ...].
This statement defines an event block whose result is triggered by the
ABAP runtime environment after
submitting an executable program, if the logical
database with which the program is associated provides data in the work area
node work area must be declared with the
NODES statement (or
TABLES). The data can be processed in the event block.
GET node also controls the behavior of the logical database.
The logical database reads all data from all nodes that are not defined for field selection using
SELECTION-SCREEN FIELD SELECTIONin the logical database and are located on the access path of the logical database superior to
node. This is independent of whether
GETevent blocks have been defined for these nodes or not. However, only the data of those nodes can be accessed for which a work area was declared using the
If a field selection is defined in the logical database for those nodes on the access path of the logical
database superior to
node(and for which no
GETevent blocks are defined), then all data is read only for the nodes for which a
TABLES) statement exists. For nodes without a
TABLES) statement, only the key fields are read, because the logical database needs the key fields to build the access path.
At the end of a hierarchy level of the logical database, all fields of the work area
node are set to hexadecimal null.
GET node LATE [FIELDS f1 f2 ...].
This statement defines an event block whose result is triggered by the ABAP runtime environment after
submitting an executable program, when the logical
database has read all records of node
FIELDS, the same applies as for the previous variant. This event block can be used for final processing actions on the hierarchy level of the node.
... FIELDS f1 f2 ...
FIELDS specifies that the logical database reads only the specified
f1 f2 ... and the key fields for node
As a prerequisite, the node must be defined for field selection in the logical database using
SELECTION-SCREEN FIELD SELECTION. The content of the other fields of the work area is set to hexadecimal null.