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_CONTROL

Interface Implementation

This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class IF_DRAGDROP

Method 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 NameDescriptionVisability
CHANGE_DATES_TO_HIJRIChange front-end dates to Hijri dates sent from back endPrivate
CALL METHOD cl_gui_calendar=>CHANGE_DATES_TO_HIJRI...more details

CONSTRUCTORConstructorPublic
CALL METHOD cl_gui_calendar=>CONSTRUCTOR...more details

FLUSH_PARAMETER_DATEGets Parameters of an EventPrivate
CALL METHOD cl_gui_calendar=>FLUSH_PARAMETER_DATE...more details

GET_CTL_CALENDAR_FOCUSED_DATEReturns calendar control focused datePublic
CALL METHOD cl_gui_calendar=>GET_CTL_CALENDAR_FOCUSED_DATE...more details

GET_HIJRIDATE_FROMGREGDATEReturn Hijri datePrivate
CALL METHOD cl_gui_calendar=>GET_HIJRIDATE_FROMGREGDATE...more details

GET_NAVIGATOR_HEIGHTDetermines the Height of the NavigatorPublic
CALL METHOD cl_gui_calendar=>GET_NAVIGATOR_HEIGHT...more details

GET_NAVIGATOR_WIDTHDetermines Navigator WidthPublic
CALL METHOD cl_gui_calendar=>GET_NAVIGATOR_WIDTH...more details

GET_PICKER_HEIGHTDetermines Picker HeightPublic
CALL METHOD cl_gui_calendar=>GET_PICKER_HEIGHT...more details

GET_SELECTIONGets SelectionPublic
CALL METHOD cl_gui_calendar=>GET_SELECTION...more details

GO_TO_DATEScrolls a Date in the Visible AreaPublic
CALL METHOD cl_gui_calendar=>GO_TO_DATE...more details

INT_TO_EXTGet Hijri Date from GregPrivate
CALL METHOD cl_gui_calendar=>INT_TO_EXT...more details

RESET_DAY_INFOResets All Information for Selected DatePublic
CALL METHOD cl_gui_calendar=>RESET_DAY_INFO...more details

RESET_SELECTIONResets SelectionPublic
CALL METHOD cl_gui_calendar=>RESET_SELECTION...more details

SET_CALENDAR_TYPEOnly for Hijri calendarPrivate
CALL METHOD cl_gui_calendar=>SET_CALENDAR_TYPE...more details

SET_DAY_INFOSets Color and Tool Tip Information for Time IntervalPublic
CALL METHOD cl_gui_calendar=>SET_DAY_INFO...more details

SET_DAY_NAMESSets the Short and Long Name of WeekdayPrivate
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_NAMESSets the Short and Long Name of MonthPrivate
CALL METHOD cl_gui_calendar=>SET_MONTH_NAMES...more details

SET_PRE_SELECTION_STYLESets Style for Preselection EventPublic
CALL METHOD cl_gui_calendar=>SET_PRE_SELECTION_STYLE...more details

SET_SELECTIONSelects a Data AreaPublic
CALL METHOD cl_gui_calendar=>SET_SELECTION...more details

SET_TODAYSets the Current DatePublic
CALL METHOD cl_gui_calendar=>SET_TODAY...more details

TRACK_CONTEXT_MENUDisplays Context MenuPublic
CALL METHOD cl_gui_calendar=>TRACK_CONTEXT_MENU...more details

UPDATE_CALC_INTERVALTime periodPrivate
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.

NameLevelDescriptionInitial ValueTypeVisability
M_BSTANDALONEInstance AttributeNo INFO_REQUEST NeededLIKE
I
Private
M_CADDON_BEGINInstance AttributeFirst Date in RangeLIKE
CNCA_UTC_DATE
Private
M_CADDON_ENDInstance AttributeLast Date in RangeLIKE
CNCA_UTC_DATE
Private
M_CALC_DATE_BEGINInstance AttributeBeginning of Calculated Time PeriodLIKE
CNCA_UTC_DATE
Public
M_CALC_DATE_BEGIN_HIJRIInstance AttributeStart Hijri date from front endLIKE
CNCA_UTC_DATE
Private
M_CALC_DATE_ENDInstance AttributeEnd of Calculated Time PeriodLIKE
CNCA_UTC_DATE
Public
M_CALC_DATE_END_HIJRIInstance AttributeEnd Hijri date from front endLIKE
CNCA_UTC_DATE
Private
M_CINTERVALInstance AttributeDate RangeLIKE
CHAR20
Private
M_CINTERVAL_BEGINInstance AttributeFirst Date in RangeLIKE
CNCA_UTC_DATE
Private
M_CINTERVAL_ENDInstance AttributeLast Date in RangeLIKE
CNCA_UTC_DATE
Private
M_CTXMENU_FCODEInstance AttributeFunction Code of Selected Menu OptionLIKE
UI_FUNC
Protected
M_CTXMENU_IDInstance AttributeContext Menu IDLIKE
I
Protected
M_DATE_FROMInstance AttributeStarting PointLIKE
CNCA_UTC_DATE
Protected
M_DATE_TOInstance AttributeExitLIKE
CNCA_UTC_DATE
Protected
M_DBEGINInstance AttributeLast Date in RangeLIKE
D
Private
M_DBEGIN_NEWInstance AttributeFirst Date in RangeLIKE
D
Private
M_DENDInstance AttributeFirst Date in RangeLIKE
D
Private
M_DEND_NEWInstance AttributeLast Date in RangeLIKE
D
Private
M_ID_CTXMENU_REQUESTConstantContext Menu1LIKE
I
Public
M_ID_CTXMENU_SELECTEDConstantContext Menu Option Selected5LIKE
I
Public
M_ID_DATE_SELECTEDConstantTime Period Selected3LIKE
I
Public
M_ID_F12ConstantPreselection Event8LIKE
I
Public
M_ID_F2ConstantPreselection Event7LIKE
I
Public
M_ID_INFO_REQUESTConstantDisplay Information Requested4LIKE
I
Public
M_ID_INFO_REQUEST_FOR_HIJRIConstantFor Hijri calendar522LIKE
I
Public
M_ID_PRE_SELECTIONConstantPreselection Event6LIKE
I
Public
M_RESULTInstance AttributeReturn ValuesLIKE
I
Public
M_SELECTIONInstance AttributeTable SelectionLIKE
CNCA_ITAB_SELECTION
Private
M_SELECTION_IDInstance AttributeSelection ID0LIKE
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 Requested
CTXMENU_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



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!