DateNavigator
The DateNavigator UI element enables users to display and enter dates. Users can navigate in a calendar and choose a day, month, year, or range of dates.
You can use the Legend and the DateNavigatorMarking elements to add a legend for the description of selected data to the DateNavigator UI element. This enables you to provide the user with information on specific data that is assigned to a category. For example, events in the calendar can be highlighted in a different color and each event can be described with agenda, time, and location.

UI element DateNavigatorLegend is obsolete. Instead, use UI element Legend.
The following date formats are provided in the DateNavigator:
● Gregorian
● Islamic
● Japanese

The earliest date that can be displayed is 01.01.1901, the latest 30.11.9999.
Examples of the Display
|
Gregorian Calendar
Islamic Calendar
Japanese Calendar
|
To change the date format, proceed as follows:
1. Call transaction SU3, or choose System à User Profile à Own Data.
2. Choose the Defaults tab and in the dropdown menu under Date Format select the format you want.
There are the following restrictions when you change the date format:
● In the Islamic calendar the numbers for selecting the week count are replaced with *.
● In the Islamic and Japanese calendars the months are displayed with a number, not with their names.
● The length of a year or month in the Gregorian calendar is different in the Islamic calendar. This means that time periods will be displayed differently. For example, month 08/2005 (time period from 1. August to 31. August 2005) corresponds to end of month 06/1426 and the start of month 07/1426 in the Islamic calendar.

To enable the
development of
accessible
applications, the accessibilityDescription property is checked during
the syntax check if the tooltip property is not set.
The accessibilityDescription property applies to the entire DateNavigator and is read out by the screen readers if the DateNavigator itself is focused on. The tooltip is displayed for each day, except if this day has a marking and this contains a filled tooltip.
Runtime Class |
CL_WD_DATE_NAVIGATOR |
Properties in View Designer
Name |
Type |
Initial Value |
Bindable |
STRING |
(automatic) |
No |
|
Translatable text |
|
Yes |
|
WDUI_CONTEXT_MENU_BEHAVIOUR |
inherit |
No |
|
WDY_MD_UI_ELEMENT_REFERENCE |
|
No |
|
WDY_BOOLEAN |
true |
Yes |
|
WDUI_DAY_OF_WEEK |
auto |
Yes |
|
D |
|
Yes |
|
D |
|
Yes |
|
WDY_MD_UI_ELEMENT_REFERENCE |
|
Yes |
|
I |
1 |
Yes |
|
I |
3 |
Yes |
|
WDUI_DATE_SELECTION_MODE |
single |
Yes |
|
D |
|
Yes |
|
Translatable text |
|
Yes |
|
WDUI_VISIBILITY |
visible |
Yes |
Aggregations in the View Designer
Name |
Cardinality |
Type |
0..1 |
||
0..1 |
Events in the View Designer
Name |

Other properties that can be inherited are defined in the associated higher-level classes. The associated UI elements are:
For dynamic programming, the same properties, events, and aggregations as in the View Designer are available. Bear in mind the different spellings.
Dynamic Programming of Properties
View Designer Name |
Runtime Name |
Type |
ACCESSIBILITY_DESCR |
WDY_MD_TRANSLATABLE_TEXT |
|
CONTEXT_MENU_BEHAVIOUR |
WDUI_CONTEXT_MENU_BEHAVIOUR |
|
contextMenuBehaviour: inherit |
CL_WD_DATE_NAVIGATOR=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT |
|
contextMenuBehaviour: provide |
CL_WD_DATE_NAVIGATOR=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE |
|
contextMenuBehaviour: suppress |
CL_WD_DATE_NAVIGATOR=>E_CONTEXT_MENU_BEHAVIOUR-SUPPRESS |
|
CONTEXT_MENU_ID |
WDY_MD_UI_ELEMENT_REFERENCE |
|
ENABLED |
WDY_BOOLEAN |
|
FIRST_DAY_OF_WEEK |
WDUI_DAY_OF_WEEK |
|
firstDayOfWeek: auto |
CL_WD_DATE_NAVIGATOR=>E_FIRST_DAY_OF_WEEK-AUTO |
|
firstDayOfWeek: friday |
CL_WD_DATE_NAVIGATOR=>E_FIRST_DAY_OF_WEEK-FRIDAY |
|
firstDayOfWeek: monday |
CL_WD_DATE_NAVIGATOR=>E_FIRST_DAY_OF_WEEK-MONDAY |
|
firstDayOfWeek: saturday |
CL_WD_DATE_NAVIGATOR=>E_FIRST_DAY_OF_WEEK-SATURDAY |
|
firstDayOfWeek: sunday |
CL_WD_DATE_NAVIGATOR=>E_FIRST_DAY_OF_WEEK-SUNDAY |
|
firstDayOfWeek: thursday |
CL_WD_DATE_NAVIGATOR=>E_FIRST_DAY_OF_WEEK-THURSDAY |
|
firstDayOfWeek: tuesday |
CL_WD_DATE_NAVIGATOR=>E_FIRST_DAY_OF_WEEK-TUESDAY |
|
firstDayOfWeek: wednesday |
CL_WD_DATE_NAVIGATOR=>E_FIRST_DAY_OF_WEEK-WEDNESDAY |
|
FIRST_SELECTED_DATE |
D |
|
LAST_SELECTED_DATE |
D |
|
LEGEND_ID |
WDY_MD_UI_ELEMENT_REFERENCE |
|
MONTHS_PER_COLUMN |
I |
|
MONTHS_PER_ROW |
I |
|
SELECTION_MODE |
WDUI_DATE_SELECTION_MODE |
|
selectionMode: none |
CL_WD_DATE_NAVIGATOR=>E_SELECTION_MODE-NONE |
|
selectionMode: range |
CL_WD_DATE_NAVIGATOR=>E_SELECTION_MODE-RANGE |
|
selectionMode: single |
CL_WD_DATE_NAVIGATOR=>E_SELECTION_MODE-SINGLE |
|
STARTS_WITH |
D |
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
|
VISIBLE |
WDUI_VISIBILITY |
|
visible: none |
CL_WD_DATE_NAVIGATOR=>E_VISIBLE-NONE |
|
visible: visible |
CL_WD_DATE_NAVIGATOR=>E_VISIBLE-VISIBLE |
|
Dynamic Programming of Events
View Designer Name |
Runtime Name |
ON_DAY_SELECT |
|
ON_MONTH_SELECT |
|
ON_START_DATE_CHANGED |
|
ON_WEEK_SELECT |
Dynamic Programming of Aggregations
View Designer Name |
Runtime Name |
Cardinality |
LEGEND |
0..1 |
|
MARKING |
0..1 |
You can find examples of this interface element in the system in the Web Dynpro application WDR_TEST_UI_ELEMENTS, and in the component WDR_TEST_EVENTS in the View DateNavigator.