SAP ABAP Class CL_PT_GUI_TMW_CALENDAR2 (TMW Calendar)
Hierarchy
EA-HRRXX (Software Component) Sub component EA-HRRXX of EA-HR
   PT-RC (Application Component) Time Data Recording and Administration
     PAOC_TIM_TMW_GUI_CONTROL (Package) TMW: GUI Control
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_PT_GUI_OBJECT GUI Object 20010427
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_PT_GUI_SAP_CONTROL Initialization of SAP GUI Control 20010427
3 Interface implementation (CLASS c. INTERFACES i_ref)  IF_PT_GUI_TMW_CALENDAR TMW Calendar Control 20010427
Properties
Class CL_PT_GUI_TMW_CALENDAR2  
Short Description TMW Calendar    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PAOC_TIM_TMW_GUI_CONTROL   TMW: GUI Control 
Created 20010427   SAP 
Last change 20020214   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_EXITHANDLER Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 CL_PT_APPLICATION Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 CL_PT_TMW_CONST Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
4 CL_PT_TMW_TDM_CONST Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
5 ICON Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_PT_GUI_OBJECT GUI Object 20010427
2 IF_PT_GUI_SAP_CONTROL Initialization of SAP GUI Control 20010427
3 IF_PT_GUI_TMW_CALENDAR TMW Calendar Control 20010427
Friends
Class CL_PT_GUI_TMW_CALENDAR2 has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CALE Instance attribute Private Object reference (TYPE REF TO) CL_PT_CALENDAR Calendar Services 20010427
2 CALENDAR_CONTROL Instance attribute Private Object reference (TYPE REF TO) CL_GUI_CALENDAR Calendar Control Proxy Class 20010427
3 CONTAINER Instance attribute Private Object reference (TYPE REF TO) CL_GUI_CONTAINER SAP Custom Container 20010427
4 CORE Instance attribute Private Object reference (TYPE REF TO) IF_PT_APPLICATION_TMW_CORE Time Management Application Core 20010503
5 CO_DATEID_DAY Instance attribute Private Type reference (TYPE) PT_TMW_DATEID '01' CO_DATEID_DAY 20010427
6 CO_DATEID_MONTH Instance attribute Private Type reference (TYPE) PT_TMW_DATEID '03' CO_DATEID_MONTH 20010427
7 CO_DATEID_WEEK Instance attribute Private Type reference (TYPE) PT_TMW_DATEID '02' CO_DATEID_WEEK 20010427
8 CO_FCODE_PREFIX Constant Private Type reference (TYPE) CHAR10 'CAL_FUNC-' Prefix for User Periods 20010503
9 CO_GOTO_TODAY Constant Private Type reference (TYPE) UI_FUNC 'GOTO_TODAY' Goto Today 20010427
10 CO_NEXT_PERIOD Constant Private Type reference (TYPE) UI_FUNC 'NEXT_PERIOD' Next Period 20010427
11 CO_PREV_PERIOD Constant Private Type reference (TYPE) UI_FUNC 'PREV_PERIOD' Previous Period 20010427
12 CO_UNIT_DAY Constant Private Type reference (TYPE) PT_ZEINH '010' CO_UNIT_DAY 20010427
13 CO_UNIT_MONTH Constant Private Type reference (TYPE) PT_ZEINH '012' CO_UNIT_MONTH 20010427
14 CO_UNIT_WEEK Constant Private Type reference (TYPE) PT_ZEINH '011' CO_UNIT_WEEK 20010427
15 CO_USER Constant Private Type reference (TYPE) UI_FUNC 'CAL_USER' Default from User Exit 20010427
16 DESCRIPTION Instance attribute Private Attribute reference (LIKE) 20010427
17 FROM_DATE Instance attribute Private Type reference (TYPE) D Start Date 20010427
18 GUI_LAYOUT Instance attribute Private Attribute reference (LIKE) 20010427
19 MESSAGE_COLLECTION Instance attribute Private Object reference (TYPE REF TO) CL_PT_TMW_MESSAGE_COLLECTION Message Handler: Maintain Entries 20010427
20 NODE_ID Instance attribute Private Attribute reference (LIKE) 20010427
21 OBJECT_ID Instance attribute Private Attribute reference (LIKE) 20010427
22 REFRESH_NEEDED Instance attribute Private Type reference (TYPE) BOOLE_D 20010427
23 SELECTION_STYLE Instance attribute Private Type reference (TYPE) I Selection Style 20010427
24 SPLITTER_CONTAINER Instance attribute Private Object reference (TYPE REF TO) CL_GUI_SPLITTER_CONTAINER Reduced Version of Splitter Container Control 20010427
25 TOOLBAR_CONTROL Instance attribute Private Object reference (TYPE REF TO) CL_GUI_TOOLBAR Toolbar Control 20010427
26 TO_DATE Instance attribute Private Type reference (TYPE) D End Date 20010427
27 TYPE Instance attribute Private Attribute reference (LIKE) 20010427
28 UIA_CALENDAR Instance attribute Private Object reference (TYPE REF TO) IF_PT_UIA_TMW_DATE_SELECTION UIA Data Selection 20010427
29 UIA_LAYOUT Instance attribute Private Object reference (TYPE REF TO) IF_PT_UIA_LAYOUT UIA Layout 20010427
30 USER_VALUES Instance attribute Private Type reference (TYPE) PTM_CALENDAR_EXIT_TAB Periods from User Exit 20010427
31 VIEW_STYLE Instance attribute Private Type reference (TYPE) I View Style 20010427
Methods
# Method Level Visibility Method type Description Created on
1 CALCULATE_FIRST_DAY_IN_WEEK Instance method Private Method Determine First Day of Week 20010427
2 EXTEND_DATE_BY_UNIT Instance method Private Method Increase Date Limit 20010427
3 FIRST_DAY_IN_WEEK Instance method Private Method First day of the week 20010427
4 GET_DEFAULT_DATE Instance method Private Method Get Date from Profiles 20010427
5 ON_CALENDAR_SELECTED Instance method Private Event handling method Calendar Control: Navigation Triggered 20010427
6 ON_GOTO_TODAY Instance method Private Method Goto Current Day 20010427
7 ON_NEXT_PERIOD Instance method Private Method Goto Next Period 20010427
8 ON_PREV_PERIOD Instance method Private Method Goto Previous Period 20010427
9 ON_TOOLBAR_EXPAND Instance method Private Event handling method Toolbar Control: Dropdown List Was Chosen 20010427
10 ON_TOOLBAR_SELECTED Instance method Private Event handling method Toolbar Control: Button Chosen 20010427
11 SELECT_DATE Instance method Private Method Write Date to UIA Object 20010427
Events
Class CL_PT_GUI_TMW_CALENDAR2 has no event.
Types
Class CL_PT_GUI_TMW_CALENDAR2 has no local type.
Method Signatures

Method CALCULATE_FIRST_DAY_IN_WEEK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CALENDAR Value transfer Object reference (TYPE REF TO) IF_PT_UIA_TMW_DATE_SELECTION UIA Calendar 20010427
2 Returning RESULT Value transfer Type reference (TYPE) I Erster Tag einer Woche 20010427

Method CALCULATE_FIRST_DAY_IN_WEEK on class CL_PT_GUI_TMW_CALENDAR2 has no exception.

Method EXTEND_DATE_BY_UNIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DATE Value transfer Type reference (TYPE) D Datum 20010427
2 Importing IM_IS_TO_DATE Value transfer Type reference (TYPE) BOOLE_D Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20010427
3 Importing IM_REL_POS_NUMBER Value transfer Type reference (TYPE) PT_TMW_RELATIVE_POSITION Relative Lage für Einstiegszeitraum 20010427
4 Importing IM_REL_POS_UNIT Value transfer Type reference (TYPE) PT_TMW_RELATIVE_UNIT Einheit für die relative Lage des Beginn- und Endedatums 20010427
5 Returning RESULT Value transfer Type reference (TYPE) D Ergebnisdatum 20010427

Method EXTEND_DATE_BY_UNIT on class CL_PT_GUI_TMW_CALENDAR2 has no exception.

Method FIRST_DAY_IN_WEEK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_1ST_WEEKDAY Value transfer Type reference (TYPE) PT_TMW_WEEKDAY Erster Wochentag 20010427
2 Importing IM_DATE Value transfer Type reference (TYPE) D Tag 20010427
3 Returning RESULT Value transfer Type reference (TYPE) D Erster Tag der Woche 20010427

Method FIRST_DAY_IN_WEEK on class CL_PT_GUI_TMW_CALENDAR2 has no exception.

Method GET_DEFAULT_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_FROM_DATE Call by reference Type reference (TYPE) DATS Feld vom Typ DATS 20010427
2 Exporting EX_TO_DATE Call by reference Type reference (TYPE) DATS Feld vom Typ DATS 20010427

Method GET_DEFAULT_DATE on class CL_PT_GUI_TMW_CALENDAR2 has no exception.

Method ON_CALENDAR_SELECTED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DATE_BEGIN Call by reference Type reference (TYPE) 20010427
2 Importing DATE_END Call by reference Type reference (TYPE) 20010427

Method ON_CALENDAR_SELECTED on class CL_PT_GUI_TMW_CALENDAR2 has no exception.

Method ON_GOTO_TODAY Signature

Method ON_GOTO_TODAY on class CL_PT_GUI_TMW_CALENDAR2 has no parameter.
Method ON_GOTO_TODAY on class CL_PT_GUI_TMW_CALENDAR2 has no exception.

Method ON_NEXT_PERIOD Signature

Method ON_NEXT_PERIOD on class CL_PT_GUI_TMW_CALENDAR2 has no parameter.
Method ON_NEXT_PERIOD on class CL_PT_GUI_TMW_CALENDAR2 has no exception.

Method ON_PREV_PERIOD Signature

Method ON_PREV_PERIOD on class CL_PT_GUI_TMW_CALENDAR2 has no parameter.
Method ON_PREV_PERIOD on class CL_PT_GUI_TMW_CALENDAR2 has no exception.

Method ON_TOOLBAR_EXPAND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FCODE Value transfer Attribute reference (LIKE) 20010427
2 Importing POSX Value transfer Attribute reference (LIKE) 20010427
3 Importing POSY Value transfer Attribute reference (LIKE) 20010427

Method ON_TOOLBAR_EXPAND on class CL_PT_GUI_TMW_CALENDAR2 has no exception.

Method ON_TOOLBAR_SELECTED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FCODE Call by reference Type reference (TYPE) 20010427

Method ON_TOOLBAR_SELECTED on class CL_PT_GUI_TMW_CALENDAR2 has no exception.

Method SELECT_DATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_BEGDA Call by reference Type reference (TYPE) D Begindatum 20010427
2 Importing IM_ENDDA Call by reference Type reference (TYPE) D Endedatum 20010427

Method SELECT_DATE on class CL_PT_GUI_TMW_CALENDAR2 has no exception.
History
Last changed by/on SAP  20020214 
SAP Release Created in 46C