SAP TIMESTAMP SYSTEM CLASS



Get Example source ABAP code based on a different SAP table
  


• CL_ABAP_UTCLONG ABAP_CLASS

System Class for Time Stamp Fields
The Class Library contains the following system class for handling time stamps in time stamp fields:
CL_ABAP_UTCLONG
This class provides the following methods:
DIFF for calculating time differences.
READ for reading a time stamp from a string.
The attributes MIN and MAX contain the minimum and maximum values of the time stamp type utclong.



Latest notes:

An initial time stamp passed to the method DIFF is handled here like the smallest possible value of a time stamp.
NON_V5_HINTS
ABAP_HINT_END

ABAP_EXAMPLE_VX5
Comparison of the method DIFF with the built-in function utclong_diff.
ABEXA 01348
ABAP_EXAMPLE_END

ABAP_EXAMPLE_ABEXA
Read Time Stamp from String
ABAP_EXAMPLE_END