Skip to Content

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

Calling search help in SRM system

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.

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