F4_DATE in Web Dynpro
I want the features of this function module to mark down the holidays in the calendar search help, but I have no idea how to use this FM in Web Dynpro.
P.S. This is how I would do it outside Web Dynpro.
SELECT-OPTIONS S_DATE FOR Z10_LEAVE_REQ-ERDAT.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_DATE-LOW.
CALL FUNCTION 'F4_DATE'
FACTORY_CALENDAR_ID = 'PU'
SELECT_DATE = S_DATE-LOW.
Thomas Jung replied
You can't use this function module in Web Dynpro. You would need to create your own freely programmed value help and then use the DateNavigator UI element to display the custom calendar with the holidays marked in a different color.