‎2016 Jul 01 2:08 PM
Hi Experts,
I declared a variable as type sy-datum. Now f4 help is coming, but I want all futures dates to be disabled so that I cannot select them.
Is there any function module to do so ?
Thanks,
Kishore
‎2016 Jul 01 2:16 PM
You can do screen validations, to check if the date selected is greater than today.
But, if you want to give the message from the Date picker control itself, then one way that I can think of is to build a custom popup for picking date, using CL_GUI_CALENDAR and then use DATE_SELECTED event to check if date selected is greater than today.
Thanks,
Juwin
‎2016 Jul 01 2:16 PM
You can do screen validations, to check if the date selected is greater than today.
But, if you want to give the message from the Date picker control itself, then one way that I can think of is to build a custom popup for picking date, using CL_GUI_CALENDAR and then use DATE_SELECTED event to check if date selected is greater than today.
Thanks,
Juwin