Skip to Content

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

Pass value to Select Option

Hi All,

I'm using the FM F4IF_INT_TABLE_VALUE_REQUEST for F4 help of a select-option

SELECT-OPTIONS reviewid FOR t71adm08-crevi OBLIGATORY NO INTERVALS.

as follows.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

  • DDIC_STRUCTURE = 'T71ADM08T'

retfield = 'LTEXT'

  • PVALKEY = ' '

dynpprog = sy-repid

dynpnr = sy-dynnr

dynprofield = 'LTEXT'

  • STEPL = 0

WINDOW_TITLE = 'Help for Review ID'

  • VALUE = ' '

  • VALUE_ORG = 'C'

multiple_choice = 'X'

  • DISPLAY = ' '

  • CALLBACK_PROGRAM = ' '

  • CALLBACK_FORM = ' '

  • MARK_TAB =

  • IMPORTING

  • USER_RESET =

TABLES

value_tab = it_value

field_tab = it_field

return_tab = it_return

  • DYNPFLD_MAPPING =

EXCEPTIONS

parameter_error = 1

no_values_found = 2

OTHERS = 3.

F4 help is working fine. Here I will be able to select multiple review ids. Now I will have the selected values in table it_return. How do I pass these values to the select option parameter?

I tried the following logic.

LOOP AT it_return.

reviewid-low = it_return-fieldval.

reviewid-sign = 'I'.

reviewid-option = 'EQ'.

APPEND reviewid.

CLEAR reviewid.

ENDLOOP.

But the values are not being passed to the Selection Screen.

Pls help as soon as possible.

Thanks a lot..

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