cancel
Showing results for 
Search instead for 
Did you mean: 

Calendar WDY year based

Former Member
0 Kudos

Hi all,

I m developping an application in Webdynpro/ABAP.

In a form I want to allow to the user to make a seizure of a variable type DATS ( DD / MM / YY) through a calendar which is positioned on the month of January of the reference year (passed as parameter). This variable must belong to that year only, otherwise, this calendar musn't give a choice in other years.

Is there an FM or possibility that Allows this ?

Best regards

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Have you tried an inputField bound to a date data type context attribute? You will get a calendar as a value help and the default value in the inputField will control the startup date shown in the calendar. The rest of the validation could be controlled in logic within your controller.

The dateNavigator UI element is the only calendar related UI element in Web Dynpro ABAP. If the inputField with date data type doesn't work, then you would have to explorer this UI element.

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/81/ab884118aa1709e10000000a155106/frameset.htm