Skip to Content

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

Need help in F4IF_INT_TABLE_VALUE_REQUEST

Hi experts,

I have used  F4IF_INT_TABLE_VALUE_REQUEST  function module for field SORTL from LFA1 table.

Now my problem is when we assign search help then we get multiple selection button in f4 help.

But while using F4IF_INT_TABLE_VALUE_REQUEST for f4 multiple selection does not appear.

code i used for F4IF_INT_TABLE_VALUE_REQUEST is below.

form F4HELP .
select DISTINCT sortl from lfa1 into CORRESPONDING FIELDS OF TABLE it_f4.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
   EXPORTING
     retfield               = 'SORTL'
     DYNPPROG               = SY-REPID
     DYNPNR                 = SY-DYNNR
     DYNPROFIELD            = 'S_SORTL'
     VALUE_ORG              = 'S'
     MULTIPLE_CHOICE        = 'X'
   TABLES
     value_tab              = IT_F4
     RETURN_TAB             = T_RETURN
           .
IF SY-SUBRC = 0.
   S_SORTL-SIGN = 'I'.
   S_SORTL-OPTION = 'EQ'.
   LOOP AT T_RETURN.
     S_SORTL-LOW = T_RETURN-FIELDVAL.
     APPEND S_SORTL.
     clear s_sortl.
   ENDLOOP.
ENDIF.
endform.                    " F4HELP


Kindly help.


Regards,

Sandeep

Former Member
replied

Hi,

If you prefer to use your own search help

You can take over the search logic and remove duplicates.

Using "Search help exit"

See function F4IF_SHLP_EXIT_EXAMPLE  

Regards.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question