12-05-2007 12:06 PM
Hi All,
how to get calender in f4 help for select options in module pool
Please help .
Thanx in advance,
amruta
12-05-2007 12:08 PM
Hi,
Check this Example..
Tables:Mara.
Select-options:s_matnr for mara-matnr.
Types:Begin of i_mara,
matnr like mara-matnr,
end of i_mara.
data:it_mara type standard table of i_mara.
At selection-screen on value-request for s_matnr-low.
Select matnr from mara into table it_mara.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '
RETFIELD = 'MATNR'
PVALKEY = ' '
DYNPPROG = SY-REPID
DYNPNR = SY-DYNNR
DYNPROFIELD = 'S_MATNR-LOW'
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
VALUE_ORG = 'S'
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
MARK_TAB =
IMPORTING
USER_RESET =
TABLES
VALUE_TAB = IT_MARA
FIELD_TAB =
RETURN_TAB =
DYNPFLD_MAPPING =
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3
12-05-2007 12:16 PM
Assign the field type as Date(DATS) and it will automatically generate F4 help for calendar