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  Syntax Diagram

Short Reference

Obsolete Syntax

GET node [LATE] [FIELDS f1 f2 ...].

Alternatives:

1. GET node [FIELDS f1 f2 ...].

2. GET node LATE [FIELDS f1 f2 ...].

Addition:

... FIELDS f1 f2 ...

Effect

The statement GET is only intended for use in executable programs that are associated with a logical database. GET can be used to handle two types of events after these types of executable programs are submitted:

If a list is written during a GET event, an automatic line feed is created first.

Notes

Alternative 1

GET node [FIELDS f1 f2 ...].


Effect

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. The 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.

After the event block GET is ended regularly, the nodes that are inferior in the hierarchical structure of the logical database are processed (see PUT).

At the end of a hierarchy level of the logical database, all fields of the work area node are set to hexadecimal null.

Alternative 2

GET node LATE [FIELDS f1 f2 ...].


Effect

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 node. For node and 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.

Addition

... FIELDS f1 f2 ...

Effect

The addition FIELDS specifies that the logical database reads only the specified fields f1 f2 ... and the key fields for node 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.

Example

See Example for Reporting Events