Skip to Content
0
Former Member
Jul 15, 2014 at 06:37 AM

F4IF_FIELD_VALUE_REQUEST - Search Help

241 Views

Hi All ;

I used the 'F4IF_FIELD_VALUE_REQUEST' function for add search help to the selection screen.

The problem is that I want to add an if-else condition for the function.Now the function is working for all

selection fields.How can I add a criteria for if-else.

The funtion like below ;

CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'

EXPORTING

tabname = 'T023T'

fieldname = 'MATKL'

SEARCHHELP = 'Z_MATKL'

** SHLPPARAM = ' '

* DYNPPROG = sy-repid

* DYNPNR = sy-dynnr

* DYNPROFIELD =

** STEPL = ''

** VALUE = ' '

** MULTIPLE_CHOICE = ' '

** DISPLAY = ' '

** SUPPRESS_RECORDLIST = ' '

** CALLBACK_PROGRAM = ' '

** CALLBACK_FORM = ' ' .

*TABLES

* RETURN_TAB = return_f4.

* EXCEPTIONS

** FIELD_NOT_FOUND = 1.

** NO_HELP_FOR_FIELD = 2.

** INCONSISTENT_HELP = 3.

** NO_VALUES_FOUND = 4.

** OTHERS = 5 .

*

*if return_f4[] is not initial.



Regards

Fırtına