/BCV/S_QRM_QUERY_STATISTICS SAP (Query Statistics) Structure details
Description: Query Statistics
Related tables to /BCV/S_QRM_QUERY_STATISTICS
Access table /BCV/S_QRM_QUERY_STATISTICS
Structure field list including key, data, relationships and ABAP select examples
/BCV/S_QRM_QUERY_STATISTICS is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Query Statistics" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_/BCV/S_QRM_QUERY_STATISTICS TYPE /BCV/S_QRM_QUERY_STATISTICS.
The /BCV/S_QRM_QUERY_STATISTICS table consists of various fields, each holding specific information or linking keys about Query Statistics data available in SAP. These include EXCTIME_MIN (Minimum Processing Time of the Query), EXCTIME_MAX (Maximum Processing Time of the Query), EXCTIME_AVG (Average Processing Time of the Query), EXCTIME_LAST (Last Processing Time of the Query).. 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:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP /BCV/S_QRM_QUERY_STATISTICS structure 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 |
QUERY_ID | Query ID | /BCV/QRM_QUERY_ID | CHAR | 32 | /BCV/QRM_QUERY_ID | /BCV/DMZ_QUERY_ID | |||
EXCTIME_MIN | Minimum Processing Time of the Query | /BCV/QRM_ST_EXCTIME_MIN | DEC | 15(3) | /BCV/QRM_ST_RUNTIME | ||||
EXCTIME_MAX | Maximum Processing Time of the Query | /BCV/QRM_ST_EXCTIME_MAX | DEC | 15(3) | /BCV/QRM_ST_RUNTIME | ||||
EXCTIME_AVG | Average Processing Time of the Query | /BCV/QRM_ST_EXCTIME_AVG | DEC | 15(3) | /BCV/QRM_ST_RUNTIME | ||||
EXCTIME_LAST | Last Processing Time of the Query | /BCV/QRM_ST_EXCTIME_LAST | DEC | 15(3) | /BCV/QRM_ST_RUNTIME | ||||
EXCDATE_FIRST | First Processing Date of the Query | /BCV/QRM_ST_EXCDATE_FIRST | DATS | 8 | /BCV/QRM_ST_EXCDATE | ||||
EXCDATE_LAST | Last Processing Date of the Query | /BCV/QRM_ST_EXCDATE_LAST | DATS | 8 | /BCV/QRM_ST_EXCDATE | ||||
EXC_COUNT | Number of Query Executions | /BCV/QRM_ST_EXC_COUNT | INT4 | 10 | /BCV/QRM_ST_NUMBER | ||||
ERROR_COUNT | Number of Erroneous Query Executions | /BCV/QRM_ST_ERROR_COUNT | INT4 | 10 | /BCV/QRM_ST_NUMBER | ||||
CACHE_HIT_COUNT | Number of Successful Reads from Results Cache | /BCV/QRM_ST_CACHE_HIT_COUNT | INT4 | 10 | /BCV/QRM_ST_NUMBER | ||||
RECORDS_MIN | Minimum Number of Retrieved Result Records | /BCV/QRM_ST_RECORDS_MIN | INT4 | 10 | /BCV/QRM_ST_NUMBER | ||||
RECORDS_MAX | Maximum Number of Retrieved Result Records | /BCV/QRM_ST_RECORDS_MAX | INT4 | 10 | /BCV/QRM_ST_NUMBER | ||||
RECORDS_AVG | Average Number of Retrieved Result Records | /BCV/QRM_ST_RECORDS_AVG | INT4 | 10 | /BCV/QRM_ST_NUMBER | ||||
RECORDS_LAST | Last Number of Retrieved Result Records | /BCV/QRM_ST_RECORDS_LAST | INT4 | 10 | /BCV/QRM_ST_NUMBER | ||||
TIMEPERREC_MIN | Minimum Processing Time per Results Record (in Milliseconds) | /BCV/QRM_ST_TIMEPERREC_MIN | DEC | 15(3) | /BCV/QRM_ST_RUNTIME | ||||
TIMEPERREC_MAX | Maximum Processing Time per Results Record (in Milliseconds) | /BCV/QRM_ST_TIMEPERREC_MAX | DEC | 15(3) | /BCV/QRM_ST_RUNTIME | ||||
TIMEPERREC_AVG | Average Processing Time per Results Record (in Milliseconds) | /BCV/QRM_ST_TIMEPERREC_AVG | DEC | 15(3) | /BCV/QRM_ST_RUNTIME | ||||
TIMEPERREC_LAST | Last Processing Time per Results Record (in Milliseconds) | /BCV/QRM_ST_TIMEPERREC_LAST | DEC | 15(3) | /BCV/QRM_ST_RUNTIME |
Key field | Non-key field |
How do I retrieve data from SAP structure /BCV/S_QRM_QUERY_STATISTICS using ABAP code?
As /BCV/S_QRM_QUERY_STATISTICS is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on /BCV/S_QRM_QUERY_STATISTICS as there is no data to select.How to access SAP table /BCV/S_QRM_QUERY_STATISTICS
Within an ECC or HANA version of SAP you can also view further information about /BCV/S_QRM_QUERY_STATISTICS 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