DB6PMSA_ST SAP (DB6: Application Statement Snapshot) Structure details

Dictionary Type: Structure
Description: DB6: Application Statement Snapshot




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




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

DB6PMSA_ST 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 "DB6: Application Statement Snapshot" 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_DB6PMSA_ST TYPE DB6PMSA_ST.

The DB6PMSA_ST table consists of various fields, each holding specific information or linking keys about DB6: Application Statement Snapshot data available in SAP. These include PARTITN (Partition Number), AGENT_ID (agent_id: Application Handle), ARTIF_KEY (artif_key: Artificial Key for Uniqueness), CALLERFLAG (Who Has Called this Program).. 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: Cannot Be Enhanced


SAP DB6PMSA_ST 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
COMPTIMEDB6: Timestamp (Format: YYYYMMDDHHMMSS) DB6TSTAMPCHAR14
PARTITN Partition Number0
AGENT_ID agent_id: Application Handle0
ARTIF_KEY artif_key: Artificial Key for Uniqueness0
CALLERFLAG Who Has Called this Program0
DBMSTRTTMEDB6: Timestamp (Format: YYYYMMDDHHMMSS) DB6TSTAMPCHAR14
PRGVERS Version of Program Inserted this Row0
STMT_NDNUM stmt_node_number: Node Where the Statement is Executing0
STMT_TYPE stmt_type: Type of Statement: Dynamic or Static0
STMT_OPERA stmt_operation: Current Operation0
SECTIONNUM section_number: Section Number0
QY_COSTEST query_cost_estimate: SQL Compiler Estimated in TIMERONS0
QY_CARDEST query_card_estimate: SQL Compiler Estimated Number of Rows0
DG_PARA degree_parallelism: SMP Intraquery Parallelism Requested0
STMT_SORTS stmt_sorts: Number of Sorts for this Statement0
TOT_SRT_TM total_sort_time: Total Sort Time for this Statement0
SRT_OF sort_overflows: Number of Sort Overflows for this Stmt0
RW_READ rows_read: Number of DMS Rows Read0
RW_WRITTEN rows_written: Number of DMS Rows Read0
INT_RW_DEL int_rows_deleted: Number of Internal DELETEs by the Stmt0
INT_RW_UPD int_rows_updated: Number of internal UPDATEs by the Stmt0
INT_RW_INS int_rows_inserted: Number of internal INSERTs by the Stmt0
FETCH_CNT fetch_count: Fetch Count0
STMT_STARTDB6: Timestamp (Format: YYYYMMDDHHMMSS) DB6TSTAMPCHAR14
STMT_STOPDB6: Timestamp (Format: YYYYMMDDHHMMSS) DB6TSTAMPCHAR14
CUR_NAMEDB6: General identifier DB6IDENTCHAR20
CREATORDB6: General identifier DB6IDENTCHAR20
PKG_NAMEDB6: General identifier DB6IDENTCHAR20
STMTURCTS stmt_usr_cpu_time.seconds: Total User CPU Time of SQL Stmt0
STMTURCTMS stmt_usr_cpu_time.microsec: Total User CPU Time of SQL Stmt0
STMTSYCTS stmt_sys_cpu_time.seconds: Total System CPU Time for SQL Stm0
STMTSYCTMS stmt_sys_cpu_time.microsec: Total System CPU Time for SQL St0
NUM_SS num_ss: Number of Subsections0
NUM_AGENTS num_agents: Number of Agents Currently Working on Stmt0
AGENTS_TOP agents_top: Number of Agents Created for Statement0
PL_D_LRS pool_data_l_reads: Pool Data Logical Reads Since Connect0
PL_D_PRS pool_data_p_reads: Pool Data Reads Since First Connect0
PL_I_LRS pool_index_l_reads: Pool Index Logical Reads Since Connect0
PL_I_PRS pool_index_p_reads0
PL_TD_LRS pool_temp_data_l_reads0
PL_TD_PRS pool_temp_data_p_reads0
PL_TI_LRS pool_temp_index_l_reads0
PL_TI_PRS pool_temp_index_p_reads0
BLKCURSOR blocking_cursor0
STMTELAS elapsed_time seconds0
STMTELAMS elapsed_time microseconds0
CONSISTNCY_TOKEN consistency_token0
PACKAGE_VERS_ID package_version_id0
PL_TEMP_XDA_L_RD 0
PL_TEMP_XDA_P_RD 0
POOL_XDA_L_READS 0
POOL_XDA_P_READS 0
STMT_LEN stmt_length: Lth of Dyn SQL Text Blank Padded to 4Byte Bndry0
STMT_TEXT stmt_text: SQL Statement0

Key field Non-key field



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

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

How to access SAP table DB6PMSA_ST

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