Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling search help in SRM system

Former Member
0 Kudos

Hello all!

I have a problem with using the functional module ‘F4IF_FIELD_VALUE_REQUEST’ in SRM system. I need to call search help by this function module and retrieve output parameter. If I’ve connected by SAP GUI all works splendid, but in HTML environment a behavior of this FM is very strange. In the HTML connection after I’ve select the subordinate search help for selection criteria field search help becomes disappeared and main screen becomes shown as modal (sic!) window.

Does anybody know how to avoid this?

This is piece of code with FM call


  CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
    EXPORTING
      tabname           = 'ZSRM_002_SCR_REQITEM'
      fieldname         = 'PRDID'
      searchhelp        = 'COM_PR_COLLECTION'
      shlpparam         = 'PRODUCT_GUID'
      dynpprog          = 'SAPLZSRM_PP_SELECT_SCREENS'
      dynpnr            = '9003'
      dynprofield       = 'ZSRM_002_SCR_REQITEM-PRDID'
    TABLES
      return_tab        = lt_return
    EXCEPTIONS
      field_not_found   = 1
      no_help_for_field = 2
      inconsistent_help = 3
      no_values_found   = 4
      OTHERS            = 5.

Best regards and thanks in advance.

1 REPLY 1

Former Member
0 Kudos

Is my explanation not clear or nobody knows how to win this problem?