ESH_QL_QLOG SAP (Query Log) Table details
Dictionary Type: Table
Description: Query Log
Description: Query Log
Table field list including key, data, relationships and ABAP select examples
ESH_QL_QLOG is a standard SAP Table which is used to store Query Log data and is available within R/3 SAP systems depending on the version and release level.
The ESH_QL_QLOG table consists of various fields, each holding specific information or linking keys about Query Log data available in SAP. These include EXEC_ID (Search Execution ID), SESSION_ID (Search Session ID), QUERY_TYPE (Internal Query Type (Sync, Async, Bulk, Delegated)), EXEC_MODE (Search Execution Mode (Functional/Special)).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP ESH_QL_QLOG table fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
EXEC_ID | Search Execution ID | ESH_E_IF_SEARCH_EXEC_ID | CHAR | 32 | ESH_D_IF_SEARCH_EXEC_ID | ||||
SESSION_ID | Search Session ID | ESH_E_IF_SEARCH_SESSION_ID | CHAR | 32 | |||||
QUERY_TYPE | Internal Query Type (Sync, Async, Bulk, Delegated) | ESH_E_QL_QUERY_TYPE | CHAR | 4 | ESH_D_QL_QUERY_TYPE | ||||
EXEC_MODE | Search Execution Mode (Functional/Special) | ESH_E_IF_SEARCH_EXEC_MODE | CHAR | 1 | ESH_D_IF_SEARCH_EXEC_MODE | ||||
EXEC_TSTP | Execution Timestamp | ESH_E_QL_EXEC_TSTP | DEC | 21(7) | TZNTSTMPL | ||||
EXEC_USER | Execution User | ESH_E_CO_EXEC_USER | CHAR | 12 | UNAME | ||||
REF_TYPE | Parent Query Reference Type | ESH_E_QL_REF_TYPE | CHAR | 4 | ESH_D_QL_REF_TYPE | ||||
REF_ID | Search Execution ID | ESH_E_IF_SEARCH_EXEC_ID | CHAR | 32 | ESH_D_IF_SEARCH_EXEC_ID | ||||
INTERVAL_FROM | Search Start Index | ESH_E_CO_START_IDX | INT4 | 10 | |||||
INTERVAL_TO | Search End Index | ESH_E_CO_END_IDX | INT4 | 10 | |||||
TIMEOUT | Search Timeout (secs) | ESH_E_FED_TIMEOUT | INT4 | 10 | INT4 | ||||
VALIDITY_DATE | Search Date (Date-Specific Search) | ESH_E_CO_SEARCH_DATE | DATS | 8 | DATUM | ||||
SEARCH_LANGU | 2-Character SAP Language Code | LAISO | CHAR | 2 | LAISO | ||||
SEARCH_MODE | Term Action (Search Mode, e.g. Denoting Fuzzy Search) | ESH_E_CO_TERM_ACTION | CHAR | 1 | CHAR01 | ||||
FUZZY_SIMILARITY | Fuzzy Similarity 0..10000 | ESH_E_FED_FUZZY_SIMILARITY | INT4 | 10 | |||||
HITS | Number of Hits | ESH_E_QL_HITS | INT4 | 10 | |||||
TOTAL_HITS | Total Number of Hits | ESH_E_QL_TOTAL_HITS | INT4 | 10 | |||||
ENDED_WITH_EXC | Ended with Exception | ESH_E_QL_ENDED_WITH_EXC | CHAR | 1 | |||||
STAT_CONN_ALL | Response Statistics: Number of Connectors in Query | ESH_E_QL_STAT_CONN_ALL | INT4 | 10 | |||||
STAT_CONN_SUCC | Response Statistics: Number of Connectors Returning Results | ESH_E_QL_STAT_CONN_SUCC | INT4 | 10 | |||||
STAT_CONN_NORES | Response Statistics: Number of Connectors Not Returning Res. | ESH_E_QL_STAT_CONN_NORES | INT4 | 10 | |||||
STAT_CONN_ERROR | Response Statistics: Number of Connectors with Errors | ESH_E_QL_STAT_CONN_ERROR | INT4 | 10 | |||||
STAT_ACTIONS | Click Registrator Statistics: Number of Actions | ESH_E_QL_STAT_ACTIONS | INT4 | 10 | |||||
RUNTIME_TOTAL | Search Execution Runtime - Total | ESH_E_QL_RUNTIME_TOTAL | INT4 | 10 |
Key field | Non-key field |
How do I retrieve data from SAP table ESH_QL_QLOG using ABAP code
The following ABAP code Example will allow you to do a basic selection on ESH_QL_QLOG to SELECT all data from the tableDATA: WA_ESH_QL_QLOG TYPE ESH_QL_QLOG.
SELECT SINGLE *
FROM ESH_QL_QLOG
INTO CORRESPONDING FIELDS OF WA_ESH_QL_QLOG
WHERE...
How to access SAP table ESH_QL_QLOG
Within an ECC or HANA version of SAP you can also view further information about ESH_QL_QLOG and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects