CL_ABAP_TSTMP - Arithmetic and Conversion for Time Stamps
BAL Application Log Documentation Fill RESBD Structure from EBP Component StructureThis documentation is copyright by SAP AG.
Functionality
This class provides functions for arithmetic with time stamps in ABAP.
For more information about time stamps in ABAP, refer to: Overview: Time Stamps in ABAP.
Relationships
Example
CLASS CL_ABAP_TSTMP DEFINITION LOAD.
DATA tstmp1 TYPE TZNTSTMPL.
DATA tstmp2 TYPE TZNTSTMPL.
DATA secs TYPE I.
GET TIME STAMP FIELD tstmp1.
tstmp2 = CL_ABAP_TSTMP=>ADD( tstmp = tstmp1 secs = 86400 ).
secs = CL_ABAP_TSTMP=>SUBTRACT( tstmp1 = tstmp2 tstmp2 = tstmp1 ).
WRITE: / 'Time stamp difference is', secs, 'seconds.'.
Notes
Further information is available for the individual class methods.
Further information
SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up Fill RESBD Structure from EBP Component Structure
This documentation is copyright by SAP AG.
Length: 962 Date: 20120526 Time: 083219 triton ( 24 ms )






