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.