GET node [LATE] [FIELDS f1 f2 ...].
1. GET node [FIELDS f1 f2 ...].
2. GET node LATE [FIELDS f1 f2 ...].
Use GET to handle two types of events after
submitting
executable programs: Get events and events at the end of a hierarchy level of a
logical database. If during a GET event a
list is written, previously an automatic line feed is created.
The event blocks after GET are implemented internally as
procedures. Declarative statements in GET event blocks create local data.
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 to which the program is linked, 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.
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 in all records of node node. For
node and FIELDS, the same applies as for the
previous variant. Use this event block for final processing actions concerning the hierarchy level of the node.
... FIELDS f1 f2 ...
Use addition FIELDS to read only the specified fields
f1 f2 ... and the key fields for node
node from the logical database. 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.
See Example for Reporting Events.