Ansicht
Dokumentation
ABAPGET_TIME - GET TIME
ROGBILLS - Synchronize billing plans General Material DataThis 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.
rdisp/max_wprun_time - Maximum work process run time CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 2517 Date: 20240425 Time: 151414 sap01-206 ( 42 ms )