SAP Reports / Programs

ESH_TEST_SEARCH SAP ABAP Report - Enterprise Search Test







ESH_TEST_SEARCH is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Test Common Runtime Search ...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter ESH_TEST_SEARCH into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

ESH_TEST_SEARCH - Test Search


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT ESH_TEST_SEARCH. "Basic submit
SUBMIT ESH_TEST_SEARCH AND RETURN. "Return to original report after report execution complete
SUBMIT ESH_TEST_SEARCH VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_ATTR01 = Attribute 1
Selection Text: P_ATTR02 = AND Attribute 2
Selection Text: P_ATTR03 = AND Attribute 3
Selection Text: P_ATTR04 = AND Attribute 4
Selection Text: P_ATTR05 = AND Attribute 5
Selection Text: P_ATTR06 = AND Attribute 6
Selection Text: P_ATTR07 = AND Attribute 7
Selection Text: P_ATTR08 = AND Attribute 8
Selection Text: P_ATTSRC = Request Attribute-Based Search
Selection Text: P_CATEG = Category
Selection Text: P_CONNID = Connector ID
Selection Text: P_CONN_S = Connector ID
Selection Text: P_CONSTR = Add Constraints
Selection Text: P_CTG_S = Category
Selection Text: P_DEAUTH = Debug Authorization
Selection Text: P_FREEST = Freestyle Search
Selection Text: P_FROM = From
Selection Text: P_FUZZY = Non-Exact Search
Selection Text: P_FZZAL = Non-Exact Search Mode
Selection Text: P_FZZSV = Similarity Threshold
Selection Text: P_LOGC = Logical Conjunction
Selection Text: P_WRTLOG = Log Search Request
Selection Text: P_VAL08 = Value 8
Selection Text: P_VAL07 = Value 7
Selection Text: P_VAL06 = Value 6
Selection Text: P_VAL05 = Value 5
Selection Text: P_VAL04 = Value 4
Selection Text: P_VAL03 = Value 3
Selection Text: P_VAL02 = Value 2
Selection Text: P_VAL01 = Value 1
Selection Text: P_USER = User Name
Selection Text: P_TPL_S = Template ID
Selection Text: P_TPLID = Template ID
Selection Text: P_TO = To
Selection Text: P_SRCTXT = Search Term
Selection Text: P_SEM_01 = Semantic Type
Selection Text: P_SEMV01 = Semantic Value
Selection Text: P_REQTID = Request





Selection Text: P_QTRACE = Record Search Engine Trace
Selection Text: P_QLAISO = Search Language (optional)
Selection Text: P_OBJTYP = Object type
Selection Text: P_NO_OUT = Suppress Screen Output
Title: Enterprise Search Test
Text Symbol: 091 = Where-Found Analysis:
Text Symbol: 090 = Select request.
Text Symbol: 089 = Object has multiple requests.
Text Symbol: 088 = Specify single-connector scope only
Text Symbol: 087 = Authorization Debugging:
Text Symbol: 086 = Result
Text Symbol: 085 = Defaults: 7.000 (Fuzzy) / 7.500 (Similarity Srch)
Text Symbol: 084 = Set value between 0.000 and 10.000
Text Symbol: 083 = Non-exact search without similarity threshold.
Text Symbol: 082 = Attention:
Text Symbol: 081 = - exact search will be performed
Text Symbol: 080 = Combination with non-exact search not possible
Text Symbol: 079 = Search contains wildcards:
Text Symbol: 078 = Similarity specification will be ignored
Text Symbol: 077 = Linguistic search:
Text Symbol: 076 = Non-exact search:
Text Symbol: 092 = Not available with delegated search scenario
Text Symbol: 093 = Only available for Freestyle Search
Text Symbol: 094 = Not available for category-based search
Text Symbol: 095 = Query Trace:
Text Symbol: 096 = Cannot be recorded for debug-mode searches
Text Symbol: 097 = Cannot be recorded for asynchronous searches
Text Symbol: A00 = Search Scope
Text Symbol: A01 = Search Parameters
Text Symbol: A02 = Freestyle Search
Text Symbol: A03 = Attribute-Based Search
Text Symbol: A04 = Authorization Debugging
Text Symbol: A05 = Constraints
Text Symbol: A10 = Special Execution Modes
Text Symbol: R01 = Hits
Text Symbol: R02 = All Hits
Text Symbol: T01 = Search Engine Trace for Query
Text Symbol: 037 = Description
Text Symbol: 036 = Type





Text Symbol: 035 = Details
Text Symbol: 034 = Hits
Text Symbol: 033 = Search Type
Text Symbol: 032 = Status
Text Symbol: 031 = Switch to Multi-Value Input
Text Symbol: 030 = Switch to Single-Value Input
Text Symbol: 029 = Where-Found Analysis
Text Symbol: 028 = Where Found
Text Symbol: 027 = Switch to Multi-Value Input (Restricted to 45 Char)
Text Symbol: 026 = Switch to Single-Value Input (Full Length)
Text Symbol: 025 = Input
Text Symbol: 024 = Connector consistency check
Text Symbol: 023 = Connector
Text Symbol: 022 = Invalid Constraint
Text Symbol: 021 = Specify Query (Freestyle and/or Search Attributes)
Text Symbol: 020 = Add Further Search Attribute
Text Symbol: 019 = Add Attributes
Text Symbol: 018 = Add Attributes
Text Symbol: 017 = Search Results
Text Symbol: 016 = Maximum number of attributes reached
Text Symbol: 015 = Return to Standard Mode
Text Symbol: 014 = Standard
Text Symbol: 013 = Standard
Text Symbol: 012 = Expert Mode
Text Symbol: 011 = Expert Mode
Text Symbol: 010 = Expert Mode
Text Symbol: 009 = Error
Text Symbol: 008 = Milliseconds
Text Symbol: 007 = All Hits
Text Symbol: 006 = Hits
Text Symbol: 005 = Request
Text Symbol: 004 = Connector
Text Symbol: 003 = Icon
Text Symbol: 002 = Response
Text Symbol: 001 = Displayed
Text Symbol: 038 = Descr
Text Symbol: 075 = TREX version does not support chosen mode
Text Symbol: 074 = Specify non-exact search mode
Text Symbol: 073 = Generic



Text Symbol: 072 = Enterprise Search ID
Text Symbol: 071 = No values found
Text Symbol: 070 = Get Attribute Value List ended with exception
Text Symbol: 069 = No attribute selected
Text Symbol: 068 = Cannot determine selected attribute
Text Symbol: 067 = No search scope specified
Text Symbol: 066 = Common Attribute
Text Symbol: 065 = No common attributes for selected search scope
Text Symbol: 064 = Scope does not comprise searchable connectors
Text Symbol: 063 = Error reading metadata buffer
Text Symbol: 062 = No active search model
Text Symbol: 061 = Connector Consistency Check
Text Symbol: 060 = Search Text
Text Symbol: 059 = Search Connector
Text Symbol: 058 = Where-Found Analysis
Text Symbol: 057 = Provide values for at least one request attribute
Text Symbol: 056 = No active search connectors for selected scope
Text Symbol: 055 = No search connectors for selected scope
Text Symbol: 054 = Attribute-Based
Text Symbol: 053 = Freestyle
Text Symbol: 052 = Show Results
Text Symbol: 051 = Error during where-found analysis
Text Symbol: 050 = No requests found
Text Symbol: 049 = No check messages. Connector is consistent
Text Symbol: 048 = Invalid Logical Conjunction
Text Symbol: 047 = Check not supported at category level
Text Symbol: 046 = Error during check tool execution
Text Symbol: 045 = Specify a single connector
Text Symbol: 044 = Msg Type
Text Symbol: 043 = Message Type
Text Symbol: 042 = Check Stat
Text Symbol: 041 = Check Status
Text Symbol: 040 = Consist Ck
Text Symbol: 039 = Consistency Check


INCLUDES used within this REPORT ESH_TEST_SEARCH

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_data_area_collapse "icon_column_right text = 'Input'(025) info = 'Switch to Single-Value Input (Full Length)'(026) IMPORTING result = btn_tpm EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_data_area_expand "icon_column_left text = 'Input'(025) info = 'Switch to Multi-Value Input (Restricted to 45 Char)'(027) IMPORTING result = btn_tps EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_reference_list text = 'Where Found'(028) info = 'Where-Found Analysis'(029) IMPORTING result = btn_whf EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_data_area_collapse "icon_column_right text = 'Input'(025) info = 'Switch to Single-Value Input (Full Length)'(026) IMPORTING result = btn_com EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_data_area_expand "icon_column_left text = 'Input'(025) info = 'Switch to Multi-Value Input (Restricted to 45 Char)'(027) IMPORTING result = btn_cos EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_data_area_collapse "icon_column_right text = 'Input'(025) info = 'Switch to Single-Value Input'(030) IMPORTING result = btn_cgm EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_data_area_expand "icon_column_left text = 'Input'(025) info = 'Switch to Multi-Value Input'(031) IMPORTING result = btn_cgs EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_open_linked_folder "icon_extended_search "icon_zoom_in "'@59@' info = 'Show Results'(052) IMPORTING result = -detailsearch_button EXCEPTIONS OTHERS = 0.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = lt_dyfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 stepl_not_found = 10 OTHERS = 11.

DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING name = gc_doma_esh_d_if_search_mode langu = sy-langu TABLES dd07v_tab = lt_values.

DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING name = gc_doma_esh_d_if_search_mode langu = 'E' TABLES dd07v_tab = lt_values.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'DOMVALUE_L' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'P_FZZAL' value_org = 'S' TABLES field_tab = lt_fieldtab value_tab = lt_values EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'OBJECT_TYPE_NAME' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = iv_field_id value_org = 'S' TABLES field_tab = lt_fieldtab value_tab = lt_active_otypt EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'CONNECTOR_ID' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = iv_field_id value_org = 'S' TABLES field_tab = lt_fieldtab value_tab = lt_conn_f4 EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'TEMPLATE_ID' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = iv_field_id value_org = 'S' TABLES value_tab = lt_template field_tab = lt_fieldtab EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'REQ_FIELD' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = iv_field_id " 'P_ATTR01' value_org = 'S' TABLES value_tab = lt_nqf_f4 field_tab = lt_fieldtab EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'REQUEST' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'P_REQTID' value_org = 'S' TABLES field_tab = lt_fieldtab value_tab = lt_request_f4 EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'CATEGORY' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = iv_field_id value_org = 'S' TABLES field_tab = lt_fieldtab value_tab = lt_categ_f4 EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = lt_dyfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 stepl_not_found = 10 OTHERS = 11.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'VALUE' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = iv_field_id window_title = lv_window_title value_org = 'S' TABLES field_tab = lt_fieldtab value_tab = lt_value_list EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'FIELD_TYPE_EXT' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = iv_field_id * window_title = lv_window_title value_org = 'S' TABLES field_tab = lt_fieldtab value_tab = lt_field_types EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name ESH_TEST_SEARCH or its description.