Ansicht
Dokumentation

ESH_F4_HELP_EXIT - ESH: Generic Function Module for F4 Search Help Exit

ESH_F4_HELP_EXIT - ESH: Generic Function Module for F4 Search Help Exit

BAL_S_LOG - Application Log: Log header data   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Description

This function module is designed to be used as a search help exit within search help definitions in the ABAP dictionary (transaction SE11).

The function module incorporates a generic integration of the Enterprise Search into the F4 search help concept. Thus, the F4 search help integration for HANA-based and TREX-based searching can be done just by declaration alone, without further programming.
CDS connectors are also supported.

Functionality

The main function is to map the parameters from the elementary search help definition to the attributes used in the search engine query. Additionally, it maps the result list from the search engine (name/value pairs) back to table RECORD_TAB of the search help exit interface afterwards. All this is done without having to define an extra object-specific data structure (type) in the ABAP dictionary.

Example

Use

If this search help exit is assigned to a collective search help and the required indexes have not been created yet, the affected elementary search helps are automatically suppressed on the user interface.

On the definition tab of your collective and elementary search help, this function module must be assigned as a search help exit.

The list of search help parameters should contain the following fixed parameters:

  • Enterprise Search connectors
  • S/RP/SEARCH_TERM - for full text search
    Data element ESH_SEARCH_TERM_F4

  • OBJECT_TYPE_ID - identifies your implementation
    Data element ESH_E_OM_OBJECT_TYPE

  • CDS connectors
  • S/RP/SEARCH_TERM - for full text search
    Data element ESH_SEARCH_TERM_F4

  • CDS_ENTITY_CHAR_1_TO_19 - signs 1 to 19 for CDS entity type
    Data element OBJECTNAME

  • CDS_ENTITY_CHAR_20_TO_30 - signs 20 to 30 for CDS entity type
    Data element OBJECTNAME

The optional parameter S/RP/MODE_FUZZY should be provided in the advanced search selection screen. It activates the fuzzy mode for the full-text search. On the quick search selection screen, the parameter should be omitted. Then this search help exit automatically activates the fuzzy mode, if no objects can be found without it.
The parameter S/RP/MODE_FUZZY is not supported for CDS connectors.

The advanced search selection screen usually contains object-specific search parameters. Note that the parameter names must exactly match the attribute names that you use in your model/view.

Notes

Further information





Parameters

CALLCONTROL
RECORD_TAB
SHLP
SHLP_TAB

Exceptions

Function Group

ESH_IF_F4

Fill RESBD Structure from EBP Component Structure   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 3295 Date: 20240523 Time: 105358     sap01-206 ( 58 ms )