/BCV/D_QSTAT SAP (Query Statistics) Table details

Dictionary Type: Table
Description: Query Statistics




ABAP Code to SELECT data from /BCV/D_QSTAT
Related tables to /BCV/D_QSTAT
Access table /BCV/D_QSTAT




Table field list including key, data, relationships and ABAP select examples

/BCV/D_QSTAT is a standard SAP Table which is used to store Query Statistics data and is available within R/3 SAP systems depending on the version and release level.

The /BCV/D_QSTAT table consists of various fields, each holding specific information or linking keys about Query Statistics data available in SAP. These include QUERY_ID (Query ID), EXCTIME_MIN (Minimum Processing Time of the Query), EXCTIME_MAX (Maximum Processing Time of the Query), EXCTIME_AVG (Average 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: L - Table for storing temporary data, is delivered empty
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP /BCV/D_QSTAT 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
MANDTClient MANDTCLNT3Assigned to domainMANDT
QUERY_IDQuery ID /BCV/QRM_QUERY_IDCHAR32/BCV/C_QHEAD/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 table /BCV/D_QSTAT using ABAP code

The following ABAP code Example will allow you to do a basic selection on /BCV/D_QSTAT to SELECT all data from the table
DATA: WA_/BCV/D_QSTAT TYPE /BCV/D_QSTAT.

SELECT SINGLE *
FROM /BCV/D_QSTAT
INTO CORRESPONDING FIELDS OF WA_/BCV/D_QSTAT
WHERE...

How to access SAP table /BCV/D_QSTAT

Within an ECC or HANA version of SAP you can also view further information about /BCV/D_QSTAT 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!