Skip to Content
0
Former Member
Dec 22, 2008 at 09:03 AM

problem in F4IF_INT_TABLE_VALUE_REQUEST

113 Views

Hi Experts,

I have a requirement that in selection screen the parameter date should display 4 values in F4 help i.e 31 , 30 , 29 , 28. after using FM F4IF_INT_TABLE_VALUE_REQUEST currently it shows nothing.the code which i writen is shown below.

SELECTION-SCREEN : BEGIN OF BLOCK HIM WITH FRAME TITLE TEXT-001.

PARAMETER: DATE(2) TYPE C OBLIGATORY.

SELECTION-SCREEN : END OF BLOCK HIM.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR DATE.

IT_HELP-DAYS = '28'.

APPEND IT_HELP.

IT_HELP-DAYS = '29'.

APPEND IT_HELP.

IT_HELP-DAYS = '30'.

APPEND IT_HELP.

IT_HELP-DAYS = '31'.

APPEND IT_HELP.

L_RETFIELD = 'DAYS'.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

  • DDIC_STRUCTURE = ' '

RETFIELD = L_RETFIELD

  • PVALKEY = ' '

DYNPPROG = SY-REPID

DYNPNR = '1000'

DYNPROFIELD = 'DATE'

  • STEPL = 0

  • WINDOW_TITLE =

  • VALUE = ' '

VALUE_ORG = 'S'

  • MULTIPLE_CHOICE = ' '

  • DISPLAY = ' '

  • CALLBACK_PROGRAM = ' '

  • CALLBACK_FORM = ' '

  • MARK_TAB =

  • IMPORTING

  • USER_RESET =

TABLES

VALUE_TAB = IT_HELP

  • FIELD_TAB = 'DATE'.

RETURN_TAB = T_RETURN

  • DYNPFLD_MAPPING =

EXCEPTIONS

PARAMETER_ERROR = 1

NO_VALUES_FOUND = 2

OTHERS = 3

.

IF SY-SUBRC <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

Thanks & Regards,

Himanshu Rangappa