ESH_QUERY_LOG_MONITOR is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The SAP NetWeaver Enterprise Search Query Log records data about search queries and search executions...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_QUERY_LOG_MONITOR 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_QUERY_LOG - Enterprise Search Query Log
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: PR_STI1H = Last Hour
Selection Text: PR_STI5M = Last 5 Mins
Selection Text: PR_STINT = Other Selection
Selection Text: PR_STNRE = No Limitation
Selection Text: PR_STTOD = Today
Selection Text: PR_STYES = Yesterday
Selection Text: P_AREG_Q = Queries with User Action Only
Selection Text: P_CATEG = Category
Selection Text: P_CONNID = Connector ID
Selection Text: P_ERRORS = Executions with Errors Only
Selection Text: P_FROM_D = From Date
Selection Text: P_FROM_T = From Time
Selection Text: P_KWD = Keyword
Selection Text: P_NOFHS = Maximum No. of Hits
Selection Text: P_OTYP = Object Type
Selection Text: P_QLANGU = Query Language
Selection Text: P_QRYTXT = Search Term/Query Content
Selection Text: P_QTYPE = Query Type
Selection Text: P_SUCC_Q = Successful Executions Only
Selection Text: P_TBSD_O = Term-Based Queries Only
Selection Text: P_TO_D = To Date
Selection Text: P_TO_T = To Time
Selection Text: P_USER = Execution User
Title: Enterprise Search Query Log
Text Symbol: 040 = Failed
Text Symbol: 041 = Timeout
Text Symbol: 042 = No messages
Text Symbol: 043 = Errors and Messages for Selected Log Entry
Text Symbol: 044 = Query (User Input Format)
Text Symbol: 045 = Query (Resolved Internal Format)
Text Symbol: 046 = No Query
Text Symbol: 047 = Search Query Scope
Text Symbol: 048 = No actions recorded
Text Symbol: 049 = Click Registrator: User Actions on Result List
Text Symbol: 050 = Search request could not be reinstantiated
Text Symbol: 051 = Output Error
Text Symbol: 052 = Output Error
Text Symbol: 053 = Error reading metadata buffer
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_column_right " icon_positive info = 'Expand Scope'(030) IMPORTING result =
-fldicon.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_previous_value " icon_negative info = 'Collapse Scope'(031) IMPORTING result =
-fldicon.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_element info = 'Scope Element'(032) IMPORTING result =
-fldicon.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_radiobutton info = 'Single Query'(033) IMPORTING result =
-fldicon.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'OBJECT_TYPE_NAME' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'P_OTYP' 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 = 'P_CONNID' 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 = 'CATEGORY' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'P_CATEG' value_org = 'S' TABLES field_tab = lt_fieldtab value_tab = lt_categ_f4 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_QUERY_LOG_MONITOR or its description.
ESH_QUERY_LOG_MONITOR - Enterprise Search Query Log ESH_QUERY_LOG_MONITOR - Enterprise Search Query Log ESH_QP_INVALIDATE_QG_CACHE - Invalidate ESH Query Grammar Cache ESH_QP_INVALIDATE_QG_CACHE - Invalidate ESH Query Grammar Cache ESH_QP_CHECK_QUERY_GRAMMAR - Check ESH Query Parser Grammar ESH_QP_CHECK_QUERY_GRAMMAR - Check ESH Query Parser Grammar