Skip to Content
avatar image
Former Member

F4_DATE in Web Dynpro

Hi guys,

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.

Any ideas?

Thanks,

Raúl

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'

EXPORTING

FACTORY_CALENDAR_ID = 'PU'

IMPORTING

SELECT_DATE = S_DATE-LOW.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Dec 12, 2011 at 09:21 PM

    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.

    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/81/ab884118aa1709e10000000a155106/frameset.htm

    Add comment
    10|10000 characters needed characters exceeded