cancel
Showing results for 
Search instead for 
Did you mean: 

Date Navigator error - Enter a valid start date..!

senthil_kumar29
Participant
0 Kudos

Hi Guys,

              I am using Date Navigator element in my WebDynpro application.

I bind the firstSelectedDate property to D type context attribute, and assign current date value sy-datum in Wddoinit method.

I am getting exception - Enter a valid start date.

any one come across this issue..?

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Senthil,

Declare attribute of type sy-datum, and pass value of sy-datum and check.

Cheers,

Kris.

Former Member
0 Kudos

you need to maintain the default value for the property "startsWith" of the DateNavigator ui element. Try mention a date like in the format: 01.01.2009 & re-run your application it should be fine

senthil_kumar29
Participant
0 Kudos

Hi,

      My cintext attribute is Type D, it takes only 8 characters.

I won't be able to give date format in DD.MM.YYYY format.

Not sure what would be the data type for the context attribute which is bind to the Date Navigator element..?

how you get the value of the date or the week selected in the Date Navigator..?

Thanks

senthil_kumar29
Participant
0 Kudos

I already assigned sy-datum to the context attribute.. I tried DD.MM.YYYY format as well, but lack of length doesn't make it possible..!

Former Member
0 Kudos

did you try this option

you need to maintain the default value for the property "startsWith" of the DateNavigator ui element.

when you click the button next to this property it will open calendar.select one date and activate it then application will work fine

senthil_kumar29
Participant
0 Kudos

Thanks for that.. its working now.

How get the date value selected..?

Thanks

senthil_kumar29
Participant
0 Kudos

Thanks for that.. its working now.

How get the date value selected..?

Thanks

Former Member
0 Kudos

hi Senthil,

check the below PDF it may help you its for WDJ but it will give you some idea.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c059344a-1930-2d10-6e8a-dcec5f949...

Regards,

Trilochan