SAP CL_ABAP_TSTMP OO Class - Arithmetic and Conversion for Time Stamps









CL_ABAP_TSTMP is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class CL_ABAP_TSTMP including details of:

  • Interface class implementations
  • Inheritance details
  • Methods defined within class ( including link to full details )
  • Attributes ( including initial values )
  • Class Events



Method list of CL_ABAP_TSTMP SAP class


A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD. Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...


Method NameDescriptionVisability
ADDAddition of Duration in Seconds to Time StampPublic
CALL METHOD cl_abap_tstmp=>ADD...more details

ADD_TO_SHORTLike 'ADD' but returns short time stampPublic
CALL METHOD cl_abap_tstmp=>ADD_TO_SHORT...more details

CLASS_CONSTRUCTORCLASS_CONSTRUCTORPublic
CALL METHOD cl_abap_tstmp=>CLASS_CONSTRUCTOR...more details

COMPAREONLY FOR PROGRAMS WITHOUT FIXED POINT ARITHMETIC FLAGPublic
CALL METHOD cl_abap_tstmp=>COMPARE...more details

GET_START_OF_DOUBLEDHOURPrivate
CALL METHOD cl_abap_tstmp=>GET_START_OF_DOUBLEDHOUR...more details

GET_SYSTEM_TIMEZONEReturns system time zonePublic
CALL METHOD cl_abap_tstmp=>GET_SYSTEM_TIMEZONE...more details

ISDOUBLEINTERVALCheck Against Period of Daylight Saving TimePublic
CALL METHOD cl_abap_tstmp=>ISDOUBLEINTERVAL...more details

ISDOUBLEINTERVAL_TZONELike ISDOUBLEINTERVAL but With Time ZonePublic
CALL METHOD cl_abap_tstmp=>ISDOUBLEINTERVAL_TZONE...more details

MAKE_VALID_TIMEConvert date/time from the missing hourPublic
CALL METHOD cl_abap_tstmp=>MAKE_VALID_TIME...more details

MOVEConverts UTC Time StampsPublic
CALL METHOD cl_abap_tstmp=>MOVE...more details

MOVE_TO_SHORTConverts to a short UTC time stampPublic
CALL METHOD cl_abap_tstmp=>MOVE_TO_SHORT...more details

NORMALIZENormalizes Time StampPublic
CALL METHOD cl_abap_tstmp=>NORMALIZE...more details

SECS2TSTMPConversion: Duration in Seconds after Time StampPrivate
CALL METHOD cl_abap_tstmp=>SECS2TSTMP...more details

SUBTRACTSubtraction of Two Time StampsPublic
CALL METHOD cl_abap_tstmp=>SUBTRACT...more details

SUBTRACTSECSSubtraction of Duration in Seconds of Time StampPublic
CALL METHOD cl_abap_tstmp=>SUBTRACTSECS...more details

SUBTRACTSECS_TO_SHORTLike 'SUBTRACTSECS' but returns short time stampPublic
CALL METHOD cl_abap_tstmp=>SUBTRACTSECS_TO_SHORT...more details

SYSTEMTSTMP_LOC2SYSTConversion: Local Time in 'Continuous System Time'Public
CALL METHOD cl_abap_tstmp=>SYSTEMTSTMP_LOC2SYST...more details

SYSTEMTSTMP_SYST2LOCConversion: 'Continuous System Time' in Local TimePublic
CALL METHOD cl_abap_tstmp=>SYSTEMTSTMP_SYST2LOC...more details

SYSTEMTSTMP_SYST2UTCConversion: 'Continuous System Time' in UTC TimePublic
CALL METHOD cl_abap_tstmp=>SYSTEMTSTMP_SYST2UTC...more details

SYSTEMTSTMP_UTC2SYSTConversion: 'UTC Time in Continuous System Time'Public
CALL METHOD cl_abap_tstmp=>SYSTEMTSTMP_UTC2SYST...more details

TD_ADDAddition of Duration in Seconds to Date/Time PairPublic
CALL METHOD cl_abap_tstmp=>TD_ADD...more details

TD_NORMALIZENormalizes Local Time Stamp (Date/Time Pairs)Public
CALL METHOD cl_abap_tstmp=>TD_NORMALIZE...more details

TD_SUBTRACTSubstraction of Two Date/Time PairsPublic
CALL METHOD cl_abap_tstmp=>TD_SUBTRACT...more details

TIMET_TO_TSTMPConverts operating system time stamp to ABAP time stampPublic
CALL METHOD cl_abap_tstmp=>TIMET_TO_TSTMP...more details

TSTMP2SECSConversion: Time Stamp by Duration in SecondsPrivate
CALL METHOD cl_abap_tstmp=>TSTMP2SECS...more details

TSTMP2UTCLONGConverts time stamp from type TIMESTAMP(L) to type UTCLONGPublic
CALL METHOD cl_abap_tstmp=>TSTMP2UTCLONG...more details

UTCLONG2TSTMPConverts type UTCLONG to TIMESTAMPL (long time stamp)Public
CALL METHOD cl_abap_tstmp=>UTCLONG2TSTMP...more details

UTCLONG2TSTMP_SHORTConverts type UTCLONG to TIMESTAMP (short time stamp)Public
CALL METHOD cl_abap_tstmp=>UTCLONG2TSTMP_SHORT...more details



CL_ABAP_TSTMP attributes

List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.

NameLevelDescriptionInitial ValueTypeVisability
MAXSECSConstantMaximum Duration (Number of Seconds)'315538070399.9999999'LIKE
TZNTSTMPL
Private
MINSECSConstantMinimum Duration (Number of Seconds)'-315538070399.9999999'LIKE
TZNTSTMPL
Private
M_SYSTEM_TZONEInstance AttributeLIKE
Private
OP_MODE_BEFOREInstance AttributeLIKE
Private
OP_MODE_NEXTInstance AttributeLIKE
Private
OP_MODE_WALLCLOCKInstance AttributeLIKE
Private
SECSOFDAYConstantNumber of Seconds in a Day86400LIKE
I
Private
SYSTEM_TZONEStatic AttributeSystem Time Zone for TTZCULIKE
TZNZONE
Private
UNIX_ZEROConstantUTC time stamp for UNIX time_t = 019700101000000LIKE
TIMESTAMP
Public




CL_ABAP_TSTMP types

OPERATION_MODE -

Links to Related Class(s)

CL_ABAP_...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!