DB2QW0316 SAP (Structure for Statement Trace) Structure details

Dictionary Type: Structure
Description: Structure for Statement Trace




ABAP Code to SELECT data from DB2QW0316
Related tables to DB2QW0316
Access table DB2QW0316




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

DB2QW0316 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 "Structure for Statement Trace" 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_DB2QW0316 TYPE DB2QW0316.

The DB2QW0316 table consists of various fields, each holding specific information or linking keys about Structure for Statement Trace data available in SAP. These include QW0316TM2 (Date/Time when statement was inserted into the cache), QW0316T1 (Program name), QW0316UT1 (Date/Time when the stmt stat was updated), QW0316LX (Statement Line Number).. 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: Not classified


SAP DB2QW0316 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
QW0316L1Length of program name DB2QW316L1INT25INT2
QW0316TM2 Date/Time when statement was inserted into the cache0
QW0316T1Program name DB2QW316T1CHAR128CHAR128
QW0316UT1 Date/Time when the stmt stat was updated0
QW0316LXStatement Line Number DB2QW316LXINT410DB2INT4
QW0316UT2 Date/Time when the stmt stat was updated0
QW0316L1Length of program name DB2QW316L1INT25INT2
QW0316L2Length of transaction name DB2QW316L2INT25INT2
QW0316T1Program name DB2QW316T1CHAR128CHAR128
QW0316T2Transaction name DB2QW316T2CHAR32DB2CHAR32
QW0316L3Length of user ID DB2QW316L3INT25INT2
QW0316LXStatement Line Number DB2QW316LXINT410DB2INT4
QW0316L2Length of transaction name DB2QW316L2INT25INT2
QW0316T3User ID DB2QW316T3CHAR128CHAR128
QW0316T2Transaction name DB2QW316T2CHAR32DB2CHAR32
QW0316X4User group DB2QW316X4CHAR128CHAR128
QW0316L3Length of user ID DB2QW316L3INT25INT2
QW0316X5The value of QUALIFIER bind option DB2QW316X5CHAR128CHAR128
QW0316T3User ID DB2QW316T3CHAR128CHAR128
QW0316X6ISOLATION DB2QW316X6CHAR3DB2CHAR03
QW0316X4User group DB2QW316X4CHAR128CHAR128
QW0316X7TCURRENTDATA DB2QW316X7CHAR3DB2CHAR03
QW0316X5The value of QUALIFIER bind option DB2QW316X5CHAR128CHAR128
QW0316X8TDYNAMICRULES DB2QW316X8CHAR4DB2CHAR04
QW0316X6ISOLATION DB2QW316X6CHAR3DB2CHAR03
QW0316X9TCURRENT DEGREE DB2QW316X9CHAR3DB2CHAR03
QW0316X7TCURRENTDATA DB2QW316X7CHAR3DB2CHAR03
QW0316XATCURRENT RULES DB2QW316XACHAR3DB2CHAR03
QW0316X8TDYNAMICRULES DB2QW316X8CHAR4DB2CHAR04
QW0316XBTCURRENT PRECISION DB2QW316XBCHAR5DB2CHAR05
QW0316X9TCURRENT DEGREE DB2QW316X9CHAR3DB2CHAR03
QW0316XCTWITH HOLD DB2QW316XCCHAR3DB2CHAR03
QW0316TSTimestamp: Begin of Statistics Collection DB2QW316TSDEC16DB2DEC16
QW0316XATCURRENT RULES DB2QW316XACHAR3DB2CHAR03
QW0316CTAccumulated CPU Time DB2QW316CTDEC16DB2DEC16
QW0316XBTCURRENT PRECISION DB2QW316XBCHAR5DB2CHAR05
QW0316W1Accumulated Wait Time for Synchronous I/O DB2QW316W1DEC16DB2DEC16
QW0316XCTWITH HOLD DB2QW316XCCHAR3DB2CHAR03
QW0316TSTimestamp: Begin of Statistics Collection DB2QW316TSDEC16DB2DEC16
QW0316W2Accumulated Wait Time for Lock and Latch Req. DB2QW316W2DEC16DB2DEC16
QW0316CTAccumulated CPU Time DB2QW316CTDEC16DB2DEC16
QW0316W3Accumulated Wait Time for Sync. Execution Unit Switch DB2QW316W3DEC16DB2DEC16
QW0316W1Accumulated Wait Time for Synchronous I/O DB2QW316W1DEC16DB2DEC16
QW0316W4Accumulated Wait Time for Global Locks DB2QW316W4DEC16DB2DEC16
QW0316W2Accumulated Wait Time for Lock and Latch Req. DB2QW316W2DEC16DB2DEC16
QW0316W5Accumulated Wait Time for Read Activity by Another Thread DB2QW316W5DEC16DB2DEC16
QW0316W3Accumulated Wait Time for Sync. Execution Unit Switch DB2QW316W3DEC16DB2DEC16
QW0316W6Accumulated Wait Time for Write Activity by Another Thread DB2QW316W6DEC16DB2DEC16
QW0316RTRID List Not Used due to DB2 Limits Exceeded DB2QW316RTDEC19DB2DEC19V
QW0316W4Accumulated Wait Time for Global Locks DB2QW316W4DEC16DB2DEC16
QW0316RSRID List Not Used due to Insufficient Storage DB2QW316RSDEC19DB2DEC19V
QW0316W5Accumulated Wait Time for Read Activity by Another Thread DB2QW316W5DEC16DB2DEC16
QW0316TDName of the table referenced in the statement DB2QW316TDCHAR128CHAR128
QW0316W6Accumulated Wait Time for Write Activity by Another Thread DB2QW316W6DEC16DB2DEC16
QW0316W7Accumulated wait time for latch req DB2QW316W7DEC16
QW0316W8Accumulated wait time for page latch DB2QW316W8DEC16
QW0316W9Accumulated wait time for drain lock DB2QW316W9DEC16
QW0316WAAcc. wait for drain when waiting for claims to be released DB2QW316WADEC16
QW0316WBAccumulated wait time for logwriter DB2QW316WBDEC16
QW0316RTRID List Not Used due to DB2 Limits Exceeded DB2QW316RTDEC19DB2DEC19V
QW0316RSRID List Not Used due to Insufficient Storage DB2QW316RSDEC19DB2DEC19V
QW0316TDName of the table referenced in the statement DB2QW316TDCHAR128CHAR128

Key field Non-key field



How do I retrieve data from SAP structure DB2QW0316 using ABAP code?

As DB2QW0316 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 DB2QW0316 as there is no data to select.

How to access SAP table DB2QW0316

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