I was using the date bnavigator UI element and I have bound my StartsWith property with a context attribute of type "D" and setting the value to sy-datum on WDINIT of the view.
But at run time when i am moving from one month to the next it was not working properly the valse are generatin random for the year and i was getting the erro called invalid date.
Then I set this property to some date value at design time instead of binding this to a attribute the it starts working fine.
When I looked in the help.sap.com I found these lines for this property.
Can any one let me know why we cannot bound this property to a attribute.
Start date, start of the displayed date range.
This property can be personalized by an administrator.
This property, which does not have to be bound, can be changed by the client.