Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

F4IF_FIELD_VALUE_REQUEST - Search Help

$
0
0

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



Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>