Ansicht
Dokumentation
ABAPGET_TIME - GET TIME
SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up ABAP Short ReferenceThis documentation is copyright by SAP AG.
GET TIME
GET TIME $[FIELD tim$].
Addition:
Effect
Without the addition FIELD, the system fields for date and time, sy-datlo, sy-datum, sy-timlo, and sy-uzeit, are set to the current value. The content of the system fields sy-dayst, sy-fdayw, sy-tzone, and sy-zonlo is not updated.
Note
Besides with GET TIME, the system fields are updated after a program is started, a
screen layout is sent, and the
internal session is changed.
Example
Approximate runtime measurement. The statement GET RUN TIME should be used instead.
Addition
... FIELD tim
Effect
The addition FIELD is used to pass the current system time in the format "hhmmss" to the variable tim instead of sy-uzeit and none of the system fields are updated. The return value of the statement has the data type t. The following can be specified for tim:
- An existing variable of the data type t or a variable to which the type t can be converted.
- An inline declaration DATA(var)
or FINAL(var), where a variable of type t is declared.
Example
The example has the same function as the previous example.
General Data in Customer Master rdisp/max_wprun_time - Maximum work process run time
This documentation is copyright by SAP AG.
Length: 2517 Date: 20240423 Time: 143616 sap01-206 ( 39 ms )