SAP ABAP Class CL_CACS_TIME_HELPER (Auxiliary Class for Services for Time, Date, Time Stamp)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   ICM (Application Component) Incentive and Commission Management (ICM)
     CACSVERS (Package) ICM: Versioning
Properties
Class CL_CACS_TIME_HELPER  
Short Description Auxiliary Class for Services for Time, Date, Time Stamp    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CACSVERS   ICM: Versioning 
Created 20060609   SAP 
Last change 20100310   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_CACS_TIME_HELPER has no interface implemented.
Friends
Class CL_CACS_TIME_HELPER has no friend class.
Attributes
Class CL_CACS_TIME_HELPER has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 COMBINE_INTERVALS_OF_VERSIONS Static method Public Method Unite Intervals 20060728
2 CREATE_TIMESTAMP Static method Public Method Generate Time Stamp from Date and Time 20060808
3 DATE_TO_MONTH Static method Public Method Return Only Month from Date 20060620
4 DATE_TO_YEAR Static method Public Method Return Only Year from Date 20060620
5 GET_SPLIT_TIMESTAMP_NOW Static method Public Method Return Split Current Time Stamp 20060609
6 GET_TIMESTAMP_NOW Static method Public Method Return Current Time Stamp 20060609
7 SPLIT_TIMESTAMP Static method Public Method Split Time Stamp into Dates and Time 20060609
8 TIMESTAMP_TO_DATE Static method Public Method Return Date Only from Time Stamp 20060609
9 TIMESTAMP_TO_TIME Static method Public Method Return Time Only from Time Stamp 20060609
Events
Class CL_CACS_TIME_HELPER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 MTY_S_TIMESLICE Public See coding 20060728 BEGIN OF mty_s_timeslice, busi_begin TYPE cacs_busitime_b, busi_end TYPE cacs_busitime_e, tech_begin TYPE cacs_techtime_b, tech_end TYPE cacs_techtime_e, END OF mty_s_timeslice
2 MTY_TT_TIMESLICE Public See coding 20060728 mty_tt_timeslice type STANDARD TABLE OF mty_s_timeslice with non-unique default key
Method Signatures

Method COMBINE_INTERVALS_OF_VERSIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IB_UNION Call by reference Type reference (TYPE) BOOLEAN_FLG ABAP_FALSE Boolsche Variable (X=true, space=false) 20060728
2 Importing IT_TABLE1 Call by reference Type reference (TYPE) TABLE 20060728
3 Importing IT_TABLE2 Call by reference Type reference (TYPE) TABLE 20060728
4 Importing IT_TABLE3 Call by reference Type reference (TYPE) TABLE 20060728
5 Importing IT_TABLE4 Call by reference Type reference (TYPE) TABLE 20060728
6 Returning RT_TIMESLICE Value transfer Type reference (TYPE) MTY_TT_TIMESLICE 20060728

Method COMBINE_INTERVALS_OF_VERSIONS on class CL_CACS_TIME_HELPER has no exception.

Method CREATE_TIMESTAMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_DATE Call by reference Type reference (TYPE) SYDATUM Aktuelles Datum des Applikationsservers 20060808
2 Importing ID_TIME Call by reference Type reference (TYPE) SYUZEIT Aktuelle Uhrzeit des Applikationsservers 20060808
3 Returning RD_TIMESTAMP Value transfer Type reference (TYPE) CACSTIMESTAMP Zeitstempel (JJJJ.MM.TT hh:mm:ss) 20060808

Method CREATE_TIMESTAMP on class CL_CACS_TIME_HELPER has no exception.

Method DATE_TO_MONTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_DATE Call by reference Type reference (TYPE) SYDATUM Aktuelles Datum des Applikationsservers 20060620
2 Returning RD_MONTH Value transfer Type reference (TYPE) CACSPSTMON Periode im Buchungsjahr 20060620

Method DATE_TO_MONTH on class CL_CACS_TIME_HELPER has no exception.

Method DATE_TO_YEAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_DATE Call by reference Type reference (TYPE) SYDATUM Aktuelles Datum des Applikationsservers 20060620
2 Returning RD_YEAR Value transfer Type reference (TYPE) CACSPSTYEAR Zuordnungsjahr des Provisionsfalls/-belegs 20060620

Method DATE_TO_YEAR on class CL_CACS_TIME_HELPER has no exception.

Method GET_SPLIT_TIMESTAMP_NOW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ED_DATE Call by reference Type reference (TYPE) DATUM Datum 20060609
2 Exporting ED_TIME Call by reference Type reference (TYPE) UZEIT Tageszeit 20060609
3 Exporting ED_TIMESTAMP Call by reference Type reference (TYPE) CACSTIMESTAMP Zeitstempel (JJJJ.MM.TT hh:mm:ss) 20060609

Method GET_SPLIT_TIMESTAMP_NOW on class CL_CACS_TIME_HELPER has no exception.

Method GET_TIMESTAMP_NOW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RD_TIMESTAMP Value transfer Type reference (TYPE) CACSTIMESTAMP Zeitstempel (JJJJ.MM.TT hh:mm:ss) 20060609

Method GET_TIMESTAMP_NOW on class CL_CACS_TIME_HELPER has no exception.

Method SPLIT_TIMESTAMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ED_DATE Call by reference Type reference (TYPE) DATUM Datum 20060609
2 Exporting ED_TIME Call by reference Type reference (TYPE) UZEIT Tageszeit 20060609
3 Importing ID_TIMESTAMP Call by reference Type reference (TYPE) CACSTIMESTAMP Zeitstempel 20060609

Method SPLIT_TIMESTAMP on class CL_CACS_TIME_HELPER has no exception.

Method TIMESTAMP_TO_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_TIMESTAMP Call by reference Type reference (TYPE) CACSTIMESTAMP Zeitstempel (JJJJ.MM.TT hh:mm:ss) 20060609
2 Returning RD_DATE Value transfer Type reference (TYPE) SYDATUM Aktuelles Datum des Applikationsservers 20060609

Method TIMESTAMP_TO_DATE on class CL_CACS_TIME_HELPER has no exception.

Method TIMESTAMP_TO_TIME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ID_TIMESTAMP Call by reference Type reference (TYPE) CACSTIMESTAMP Zeitstempel (JJJJ.MM.TT hh:mm:ss) 20060609
2 Returning RD_TIME Value transfer Type reference (TYPE) SYUZEIT Aktuelle Uhrzeit des Applikationsservers 20060609

Method TIMESTAMP_TO_TIME on class CL_CACS_TIME_HELPER has no exception.
History
Last changed by/on SAP  20100310 
SAP Release Created in 700