/BCV/S_QRM_QUERY_STATISTICS SAP (Query Statistics) Structure details

Dictionary Type: Structure
Description: Query Statistics




ABAP Code to SELECT data from /BCV/S_QRM_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_IDQuery ID /BCV/QRM_QUERY_IDCHAR32/BCV/QRM_QUERY_ID/BCV/DMZ_QUERY_ID
EXCTIME_MINMinimum Processing Time of the Query /BCV/QRM_ST_EXCTIME_MINDEC15(3) /BCV/QRM_ST_RUNTIME
EXCTIME_MAXMaximum Processing Time of the Query /BCV/QRM_ST_EXCTIME_MAXDEC15(3) /BCV/QRM_ST_RUNTIME
EXCTIME_AVGAverage Processing Time of the Query /BCV/QRM_ST_EXCTIME_AVGDEC15(3) /BCV/QRM_ST_RUNTIME
EXCTIME_LASTLast Processing Time of the Query /BCV/QRM_ST_EXCTIME_LASTDEC15(3) /BCV/QRM_ST_RUNTIME
EXCDATE_FIRSTFirst Processing Date of the Query /BCV/QRM_ST_EXCDATE_FIRSTDATS8/BCV/QRM_ST_EXCDATE
EXCDATE_LASTLast Processing Date of the Query /BCV/QRM_ST_EXCDATE_LASTDATS8/BCV/QRM_ST_EXCDATE
EXC_COUNTNumber of Query Executions /BCV/QRM_ST_EXC_COUNTINT410/BCV/QRM_ST_NUMBER
ERROR_COUNTNumber of Erroneous Query Executions /BCV/QRM_ST_ERROR_COUNTINT410/BCV/QRM_ST_NUMBER
CACHE_HIT_COUNTNumber of Successful Reads from Results Cache /BCV/QRM_ST_CACHE_HIT_COUNTINT410/BCV/QRM_ST_NUMBER
RECORDS_MINMinimum Number of Retrieved Result Records /BCV/QRM_ST_RECORDS_MININT410/BCV/QRM_ST_NUMBER
RECORDS_MAXMaximum Number of Retrieved Result Records /BCV/QRM_ST_RECORDS_MAXINT410/BCV/QRM_ST_NUMBER
RECORDS_AVGAverage Number of Retrieved Result Records /BCV/QRM_ST_RECORDS_AVGINT410/BCV/QRM_ST_NUMBER
RECORDS_LASTLast Number of Retrieved Result Records /BCV/QRM_ST_RECORDS_LASTINT410/BCV/QRM_ST_NUMBER
TIMEPERREC_MINMinimum Processing Time per Results Record (in Milliseconds) /BCV/QRM_ST_TIMEPERREC_MINDEC15(3) /BCV/QRM_ST_RUNTIME
TIMEPERREC_MAXMaximum Processing Time per Results Record (in Milliseconds) /BCV/QRM_ST_TIMEPERREC_MAXDEC15(3) /BCV/QRM_ST_RUNTIME
TIMEPERREC_AVGAverage Processing Time per Results Record (in Milliseconds) /BCV/QRM_ST_TIMEPERREC_AVGDEC15(3) /BCV/QRM_ST_RUNTIME
TIMEPERREC_LASTLast Processing Time per Results Record (in Milliseconds) /BCV/QRM_ST_TIMEPERREC_LASTDEC15(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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!