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
Below is a list of transaction codes which are relevant to this SAP report
ESH_TEST_SEARCH - Test Search
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.
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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
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.
ESH_TEST_SEARCH - Enterprise Search Test ESH_TEST_SEARCH - Enterprise Search Test ESH_TEST_FUNCTIONALITY_ESH - Testing the functionality of Enterprise Search ESH_TEST_FUNCTIONALITY_ESH - Testing the functionality of Enterprise Search ESH_TEST_CREATE_JOIN_SIMPLE - Program ESH_TEST_CREATE_JOIN_SIMPLE ESH_TEST_CREATE_JOIN_SIMPLE - Program ESH_TEST_CREATE_JOIN_SIMPLE