Event keyword for defining
event blocks for reporting events.
Syntax
GET <node> [FIELDS <f1>
<f 2>�].
Only occurs in executable
programs. When the logical database has passed a line of the node <node> to the
program, the runtime environment triggers the GET event, and the corresponding
event block is executed. You can use the FIELDS option to specify explicitly the
columns of a node that the logical database should read.
GET BIT
Reads an individual bit.
Syntax
GET BIT <n> OF <f> INTO
<g>.
Reads the bit at position
<n> of the hexadecimal field <f> into the field <b>.
GET CURSOR
Gets the cursor position
on a screen or in an interactive list event.
Syntax
GET CURSOR FIELD <f>
[OFFSET <off>] [LINE <lin>]
[VALUE <val>] [LENGTH <len>].
GET CURSOR LINE <lin>
[OFFSET <off>] [VALUE <val>] [LENGTH <len>].
At a user action on a list
or screen, the statement writes the position, value, and displayed length of a
field or line into the corresponding variables.
GET DATASET
Syntax
GET DATASET <dsn>
[POSITIONS <pos>]
[ATTRIBUTE <attr>].
Gets the attributes of a
file opened using OPEN DATASET. The POSITIONS additions writes the current
read/write position to the field <pos>. The ATTRIBUTE addition writes the
attributes to a structure, <attr>, of the type DSET_ATTRIBUTES.
GET LOCALE LANGUAGE
Gets the current text
environment.
Syntax
GET LOCALE LANGUAGE <lg>
COUNTY <c> MODIFIER <m>.
Returns the current
language, country ID and any modifier into the corresponding variables
GET PARAMETER
Gets an SPA/GPA parameters
Syntax
GET PARAMETER ID <pid>
FIELD <f>.
Writes the value of the
SPA/GPA parameter <pid> from the user-specific SAP memory into the variable <f>.
GET PF-STATUS
Gets the current GUI
status.
Syntax
GET PF-STATUS <f> [PROGRAM
<prog>] [EXCLUDING <itab>].
Returns the name of the
current GUI status (the same as SY-PFKEY) into the variable <f>. The PROGRAM
addition writes the name of the ABAP program to which the status belongs into
the variable <prog>. The EXCLUDING addition returns a list of all currently
inactive function codes into the internal table <itab>.
GET PROPERTY
Gets a property of an OLE2
Automation object.
Syntax
GET PROPERTY OF <obj> <p>
= <f>.
Writes the property <p> of
an external OLE2 Automation object to the variable <f>.
GET REFERENCE
Gets a data reference.
Syntax
GET REFERENCE OF <obj>
INTO <dref>.
Writes a data reference to
an existing data object <obj> to the data reference variable <dref>.
GET RUN TIME FIELD
Measures the runtime in
microseconds.
Syntax
GET RUN TIME FIELD <f>.
The first time the
statement is executed, the variable <f> is set to zero. In each subsequent call,
the runtime since the first call is written to <f>.
GET TIME
Synchronizes the time.
Syntax
GET TIME [FIELD <f>].
Refreshes the system
fields SY-UZEIT, SY-DATUM, SY-TIMLO, SY-DATLO, and SY-ZONLO. The FIELD addition
fills the variable <f> with the current time.
GET TIME STAMP FIELD
Returns a time stamp.
Syntax
GET TIME STAMP FIELD <f>.
Returns the short or long
form of the current date and time, depending on whether the variable <f> has the
type P(8) or P(11). The long form returns the time correct to seven decimal
places.