cancel
Showing results for 
Search instead for 
Did you mean: 

DateNavigator - how to limit the range of selectable dates

Peter_Lintner
Participant
0 Kudos

Hi!

I've to limit the range of dates due to organizational constraints.

Is this possible to do so with the DateNavigator?

If yes, how to do so?

Thanks for any hints!

Peter

Accepted Solutions (1)

Accepted Solutions (1)

aaron_morden2
Contributor
0 Kudos

Unfortunately I don't think there is any way disable an individual date using the DATENAV UI Element.

I think the only way to do this would be to set up an internal table with the dates you want to exclude. Use this table to mark those dates using the DATENAVIGATORMARKING UI Element. Add a legend that says those dates are invalid. You then will have to use the DATENAV Events to make sure that those dates are not selected.

Answers (3)

Answers (3)

Peter_Lintner
Participant
0 Kudos

Hi!

THanks for the given hints.

I solved the problem by throwing an error message, when a date out of border is selected by the user.

Kind regards

Peter

Former Member
0 Kudos

hi ,

create a context attribute and bind it with startsWith property of ur DateNavigator

refer the SAP online help:

http://help.sap.com/saphelp_webas630/helpdata/en/4a/05ad3e1d1edc61e10000000a114084/content.htm

regards,

amit

Former Member
0 Kudos

I had this problem too.

I did it use dropdownbykey,but i don't think it's a good way...

just for reference.