SAP Reports / Programs | Basis Components | Basis Components | NetWeaver Enterprise Search(BC-EIM-ESH) SAP BC

ESH_TEST_FUNCTIONALITY_ESH SAP ABAP Report - Testing the functionality of Enterprise Search







ESH_TEST_FUNCTIONALITY_ESH is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

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


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_FUNCTIONALITY_ESH. "Basic submit
SUBMIT ESH_TEST_FUNCTIONALITY_ESH AND RETURN. "Return to original report after report execution complete
SUBMIT ESH_TEST_FUNCTIONALITY_ESH 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_USER = D .
Selection Text: P_SYSNUM = System Number
Selection Text: P_SYSID = Target SAP System ID
Selection Text: P_SRVUSR = Service User
Selection Text: P_SRVPSW = Password for Service User
Selection Text: P_SERVER = D .
Selection Text: P_SEED = D .
Selection Text: P_SECUR = D .
Selection Text: P_ROBOT = D .
Selection Text: P_REPTP = D .
Selection Text: P_PASSW = D .
Selection Text: P_DOMAIN = D .
Selection Text: P_DIREC = D .
Selection Text: P_DESCR = D .
Selection Text: P_CRALG = D .
Selection Text: P_CLIENT = D .
Selection Text: P_BI_USR = BI User
Selection Text: P_BI_PSW = Password for BI User
Title: Testing the functionality of Enterprise Search
Text Symbol: 009 = ESH: Destination for testing functionality
Text Symbol: 008 = Create File Search Connector
Text Symbol: 007 = Create Business Object Search Connector
Text Symbol: 006 = No templates returned by the Web service
Text Symbol: 004 = Search connector created
Text Symbol: 003 = The selected template is used already
Text Symbol: 002 = The logical system is:
Text Symbol: 001 = The BI user cannot be used


INCLUDES used within this REPORT ESH_TEST_FUNCTIONALITY_ESH

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:

ESH_RSO_CTC_NWA_GET_INFO_CENTR * CALL FUNCTION 'ESH_RSO_CTC_NWA_GET_INFO_CENTR' * IMPORTING * e_logsys_central = lv_logsys_central.

RSA_LOGICAL_SYSTEM_BIW_GET * CALL FUNCTION 'RSA_LOGICAL_SYSTEM_BIW_GET' * EXPORTING * i_without_popup = 'X' * IMPORTING * e_logsys_biw = lv_logsys_self * EXCEPTIONS * no_logsys_to_this_client = 1 * logsys_changed = 2 * OTHERS = 3.

RFC_READ_R3_DESTINATION CALL FUNCTION 'RFC_READ_R3_DESTINATION' EXPORTING destination = lv_rfcdest authority_check = ' ' bypass_buf = space EXCEPTIONS authority_not_available = 01 destination_not_exist = 02 information_failure = 03 internal_failure = 04.

GUID_CREATE CALL FUNCTION 'GUID_CREATE' "#EC FB_OLDED IMPORTING ev_guid_32 = lv_guid.

CONVERSION_EXIT_ISOLA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ISOLA_OUTPUT' EXPORTING input = sy-langu IMPORTING output = lv_language.

SEFS_CREATE_SC_AND_CRAWLS CALL FUNCTION 'SEFS_CREATE_SC_AND_CRAWLS' EXPORTING iv_template_id = co_template_id_fs is_search_connector = ls_search_connector it_crawl_basic_ui = lt_crawl_basic_ui iv_log_handle = p_loghandle IMPORTING es_search_connector = ls_search_connector et_crawl_index_new = lt_crawl_index_new "contains the index and crawler * ev_log_handle = p_loghandle et_return_codes = lt_return_codes.

SEFS_GET_INDEX_CRAWL_STATE CALL FUNCTION 'SEFS_GET_INDEX_CRAWL_STATE' EXPORTING it_object_type_index = lt_obj_type_index iv_log_handle = p_loghandle IMPORTING et_index_state = lt_index_state et_crawl_state = lt_crawl_state * ev_log_handle = p_loghandle et_return_codes = lt_ret.

SEFS_FLUSH_QUEUES CALL FUNCTION 'SEFS_FLUSH_QUEUES' EXPORTING it_index_name_id = lt_index_name_id iv_log_handle = p_loghandle IMPORTING * ev_log_handle = p_loghandle et_return_codes = lt_ret.



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_FUNCTIONALITY_ESH or its description.