SAP CL_GUI_CALENDAR OO Class - Calendar Control Proxy Class
CL_GUI_CALENDAR 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_GUI_CALENDAR including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Inheritance
This OO class has a superclass assigned to it, which means it will inherit its objects and methods. The superclass for CL_GUI_CALENDAR is CL_GUI_CONTROLInterface Implementation
This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class IF_DRAGDROPMethod list of CL_GUI_CALENDAR 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 Name | Description | Visability |
CHANGE_DATES_TO_HIJRI | Change front-end dates to Hijri dates sent from back end | Private |
CALL METHOD cl_gui_calendar=>CHANGE_DATES_TO_HIJRI...more details | ||
CONSTRUCTOR | Constructor | Public |
CALL METHOD cl_gui_calendar=>CONSTRUCTOR...more details | ||
FLUSH_PARAMETER_DATE | Gets Parameters of an Event | Private |
CALL METHOD cl_gui_calendar=>FLUSH_PARAMETER_DATE...more details | ||
GET_CTL_CALENDAR_FOCUSED_DATE | Returns calendar control focused date | Public |
CALL METHOD cl_gui_calendar=>GET_CTL_CALENDAR_FOCUSED_DATE...more details | ||
GET_HIJRIDATE_FROMGREGDATE | Return Hijri date | Private |
CALL METHOD cl_gui_calendar=>GET_HIJRIDATE_FROMGREGDATE...more details | ||
GET_NAVIGATOR_HEIGHT | Determines the Height of the Navigator | Public |
CALL METHOD cl_gui_calendar=>GET_NAVIGATOR_HEIGHT...more details | ||
| ||
GET_NAVIGATOR_WIDTH | Determines Navigator Width | Public |
CALL METHOD cl_gui_calendar=>GET_NAVIGATOR_WIDTH...more details | ||
GET_PICKER_HEIGHT | Determines Picker Height | Public |
CALL METHOD cl_gui_calendar=>GET_PICKER_HEIGHT...more details | ||
GET_SELECTION | Gets Selection | Public |
CALL METHOD cl_gui_calendar=>GET_SELECTION...more details | ||
GO_TO_DATE | Scrolls a Date in the Visible Area | Public |
CALL METHOD cl_gui_calendar=>GO_TO_DATE...more details | ||
INT_TO_EXT | Get Hijri Date from Greg | Private |
CALL METHOD cl_gui_calendar=>INT_TO_EXT...more details | ||
RESET_DAY_INFO | Resets All Information for Selected Date | Public |
CALL METHOD cl_gui_calendar=>RESET_DAY_INFO...more details | ||
RESET_SELECTION | Resets Selection | Public |
CALL METHOD cl_gui_calendar=>RESET_SELECTION...more details | ||
SET_CALENDAR_TYPE | Only for Hijri calendar | Private |
CALL METHOD cl_gui_calendar=>SET_CALENDAR_TYPE...more details | ||
SET_DAY_INFO | Sets Color and Tool Tip Information for Time Interval | Public |
CALL METHOD cl_gui_calendar=>SET_DAY_INFO...more details | ||
SET_DAY_NAMES | Sets the Short and Long Name of Weekday | Private |
CALL METHOD cl_gui_calendar=>SET_DAY_NAMES...more details | ||
SET_DRAGDROP | -!!!!!!!! Do Not Release, Available Only in WinGUI!!!!!!!! | Public |
CALL METHOD cl_gui_calendar=>SET_DRAGDROP...more details | ||
SET_MONTH_NAMES | Sets the Short and Long Name of Month | Private |
CALL METHOD cl_gui_calendar=>SET_MONTH_NAMES...more details | ||
SET_PRE_SELECTION_STYLE | Sets Style for Preselection Event | Public |
CALL METHOD cl_gui_calendar=>SET_PRE_SELECTION_STYLE...more details | ||
SET_SELECTION | Selects a Data Area | Public |
CALL METHOD cl_gui_calendar=>SET_SELECTION...more details | ||
SET_TODAY | Sets the Current Date | Public |
CALL METHOD cl_gui_calendar=>SET_TODAY...more details | ||
TRACK_CONTEXT_MENU | Displays Context Menu | Public |
CALL METHOD cl_gui_calendar=>TRACK_CONTEXT_MENU...more details | ||
UPDATE_CALC_INTERVAL | Time period | Private |
CALL METHOD cl_gui_calendar=>UPDATE_CALC_INTERVAL...more details |
CL_GUI_CALENDAR 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.
Name | Level | Description | Initial Value | Type | Visability |
M_BSTANDALONE | Instance Attribute | No INFO_REQUEST Needed | LIKE I | Private | |
M_CADDON_BEGIN | Instance Attribute | First Date in Range | LIKE CNCA_UTC_DATE | Private | |
M_CADDON_END | Instance Attribute | Last Date in Range | LIKE CNCA_UTC_DATE | Private | |
M_CALC_DATE_BEGIN | Instance Attribute | Beginning of Calculated Time Period | LIKE CNCA_UTC_DATE | Public | |
M_CALC_DATE_BEGIN_HIJRI | Instance Attribute | Start Hijri date from front end | LIKE CNCA_UTC_DATE | Private | |
M_CALC_DATE_END | Instance Attribute | End of Calculated Time Period | LIKE CNCA_UTC_DATE | Public | |
M_CALC_DATE_END_HIJRI | Instance Attribute | End Hijri date from front end | LIKE CNCA_UTC_DATE | Private | |
M_CINTERVAL | Instance Attribute | Date Range | LIKE CHAR20 | Private | |
M_CINTERVAL_BEGIN | Instance Attribute | First Date in Range | LIKE CNCA_UTC_DATE | Private | |
M_CINTERVAL_END | Instance Attribute | Last Date in Range | LIKE CNCA_UTC_DATE | Private | |
M_CTXMENU_FCODE | Instance Attribute | Function Code of Selected Menu Option | LIKE UI_FUNC | Protected | |
M_CTXMENU_ID | Instance Attribute | Context Menu ID | LIKE I | Protected | |
M_DATE_FROM | Instance Attribute | Starting Point | LIKE CNCA_UTC_DATE | Protected | |
M_DATE_TO | Instance Attribute | Exit | LIKE CNCA_UTC_DATE | Protected | |
M_DBEGIN | Instance Attribute | Last Date in Range | LIKE D | Private | |
M_DBEGIN_NEW | Instance Attribute | First Date in Range | LIKE D | Private | |
M_DEND | Instance Attribute | First Date in Range | LIKE D | Private | |
M_DEND_NEW | Instance Attribute | Last Date in Range | LIKE D | Private | |
M_ID_CTXMENU_REQUEST | Constant | Context Menu | 1 | LIKE I | Public |
M_ID_CTXMENU_SELECTED | Constant | Context Menu Option Selected | 5 | LIKE I | Public |
M_ID_DATE_SELECTED | Constant | Time Period Selected | 3 | LIKE I | Public |
M_ID_F12 | Constant | Preselection Event | 8 | LIKE I | Public |
M_ID_F2 | Constant | Preselection Event | 7 | LIKE I | Public |
M_ID_INFO_REQUEST | Constant | Display Information Requested | 4 | LIKE I | Public |
M_ID_INFO_REQUEST_FOR_HIJRI | Constant | For Hijri calendar | 522 | LIKE I | Public |
M_ID_PRE_SELECTION | Constant | Preselection Event | 6 | LIKE I | Public |
M_RESULT | Instance Attribute | Return Values | LIKE I | Public | |
M_SELECTION | Instance Attribute | Table Selection | LIKE CNCA_ITAB_SELECTION | Private | |
M_SELECTION_ID | Instance Attribute | Selection ID | 0 | LIKE I | Protected |
Events of Class CL_GUI_CALENDAR
Events are created within your class using special event handler methods. These must be registered at runtime for the event and can then be triggered using the ABAP syntax: RAISE EVENT EXPOTING... CTXMENU_REQUEST - Context Menu RequestedCTXMENU_SELECTED - Menu Option Selected
DATE_SELECTED - Time Period Selected
F12 - F12 Printed
F2 - F2 Printed
INFO_REQUEST - Display Information Requested
INFO_REQUEST_FOR_HIJRI - Event for Hijri calendar
ON_DRAG - -!!!!!!!! Prototype Only, Do Not Release !!!!!!!!
ON_DRAGDROP_COMPLETE - -!!!!!!!! Prototype Only, Do Not Release !!!!!!!!
ON_DROP - -!!!!!!!! Prototype Only, Do Not Release !!!!!!!!
ON_GET_FLAVOR - -!!!!!!!! Prototype Only, Do Not Release !!!!!!!!
PRE_SELECTION - Preselection Event
Links to Related Class(s)
CL_GUI_C...Full list of available SAP object classes
Search for further information about these or an SAP related objects