Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Custom F4 help not showing any result

Hi all,

I am creating a custom F4 help for a screen field DUE_MONTH using the fm F4IF_INT_TABLE_VALUE_REQUEST. The problem is that when i click on a the dropdown list icon on the field, it displays the pop-up screen but does not show any results in it. Can anyone suggest a solution. I am using the following code:

DATA: BEGIN OF i_month OCCURS 0,

month(9) TYPE c,

END OF i_month.

REFRESH: i_month.

i_month-month = 'January'.

APPEND i_month.

i_month-month = 'February'.

APPEND i_month.

i_month-month = 'March'.

APPEND i_month.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

retfield = 'MONTH'

  • PVALKEY = ' '

dynpprog = sy-repid "SY-CPROG"' '

dynpnr = sy-dynnr "'2000'

dynprofield = 'DUE_MONTH'

  • STEPL = 0

  • WINDOW_TITLE =

  • VALUE = ' '

value_org = 'S'

  • MULTIPLE_CHOICE = ' '

  • DISPLAY = 'F'

  • CALLBACK_PROGRAM = ' '

  • CALLBACK_FORM = ' '

  • MARK_TAB =

  • IMPORTING

  • USER_RESET =

TABLES

value_tab = i_month

  • FIELD_TAB =

  • RETURN_TAB =

  • 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.

regards,

Hamza

Tags:
Not what you were looking for? View more on this topic or Ask a question