Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get calender in f4 helpfor select options in module pool (urgent)

Former Member
0 Kudos

Hi All,

how to get calender in f4 help for select options in module pool

Please help .

Thanx in advance,

amruta

2 REPLIES 2

former_member188829
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Assign the field type as Date(DATS) and it will automatically generate F4 help for calendar