DB6PMSA_ST SAP (DB6: Application Statement Snapshot) Structure details
Description: DB6: Application Statement Snapshot
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 |
COMPTIME | DB6: Timestamp (Format: YYYYMMDDHHMMSS) | DB6TSTAMP | CHAR | 14 | |||||
PARTITN | Partition Number | 0 | |||||||
AGENT_ID | agent_id: Application Handle | 0 | |||||||
ARTIF_KEY | artif_key: Artificial Key for Uniqueness | 0 | |||||||
CALLERFLAG | Who Has Called this Program | 0 | |||||||
DBMSTRTTME | DB6: Timestamp (Format: YYYYMMDDHHMMSS) | DB6TSTAMP | CHAR | 14 | |||||
PRGVERS | Version of Program Inserted this Row | 0 | |||||||
STMT_NDNUM | stmt_node_number: Node Where the Statement is Executing | 0 | |||||||
STMT_TYPE | stmt_type: Type of Statement: Dynamic or Static | 0 | |||||||
STMT_OPERA | stmt_operation: Current Operation | 0 | |||||||
SECTIONNUM | section_number: Section Number | 0 | |||||||
QY_COSTEST | query_cost_estimate: SQL Compiler Estimated in TIMERONS | 0 | |||||||
QY_CARDEST | query_card_estimate: SQL Compiler Estimated Number of Rows | 0 | |||||||
DG_PARA | degree_parallelism: SMP Intraquery Parallelism Requested | 0 | |||||||
STMT_SORTS | stmt_sorts: Number of Sorts for this Statement | 0 | |||||||
TOT_SRT_TM | total_sort_time: Total Sort Time for this Statement | 0 | |||||||
SRT_OF | sort_overflows: Number of Sort Overflows for this Stmt | 0 | |||||||
RW_READ | rows_read: Number of DMS Rows Read | 0 | |||||||
RW_WRITTEN | rows_written: Number of DMS Rows Read | 0 | |||||||
INT_RW_DEL | int_rows_deleted: Number of Internal DELETEs by the Stmt | 0 | |||||||
INT_RW_UPD | int_rows_updated: Number of internal UPDATEs by the Stmt | 0 | |||||||
INT_RW_INS | int_rows_inserted: Number of internal INSERTs by the Stmt | 0 | |||||||
FETCH_CNT | fetch_count: Fetch Count | 0 | |||||||
STMT_START | DB6: Timestamp (Format: YYYYMMDDHHMMSS) | DB6TSTAMP | CHAR | 14 | |||||
STMT_STOP | DB6: Timestamp (Format: YYYYMMDDHHMMSS) | DB6TSTAMP | CHAR | 14 | |||||
CUR_NAME | DB6: General identifier | DB6IDENT | CHAR | 20 | |||||
CREATOR | DB6: General identifier | DB6IDENT | CHAR | 20 | |||||
PKG_NAME | DB6: General identifier | DB6IDENT | CHAR | 20 | |||||
STMTURCTS | stmt_usr_cpu_time.seconds: Total User CPU Time of SQL Stmt | 0 | |||||||
STMTURCTMS | stmt_usr_cpu_time.microsec: Total User CPU Time of SQL Stmt | 0 | |||||||
STMTSYCTS | stmt_sys_cpu_time.seconds: Total System CPU Time for SQL Stm | 0 | |||||||
STMTSYCTMS | stmt_sys_cpu_time.microsec: Total System CPU Time for SQL St | 0 | |||||||
NUM_SS | num_ss: Number of Subsections | 0 | |||||||
NUM_AGENTS | num_agents: Number of Agents Currently Working on Stmt | 0 | |||||||
AGENTS_TOP | agents_top: Number of Agents Created for Statement | 0 | |||||||
PL_D_LRS | pool_data_l_reads: Pool Data Logical Reads Since Connect | 0 | |||||||
PL_D_PRS | pool_data_p_reads: Pool Data Reads Since First Connect | 0 | |||||||
PL_I_LRS | pool_index_l_reads: Pool Index Logical Reads Since Connect | 0 | |||||||
PL_I_PRS | pool_index_p_reads | 0 | |||||||
PL_TD_LRS | pool_temp_data_l_reads | 0 | |||||||
PL_TD_PRS | pool_temp_data_p_reads | 0 | |||||||
PL_TI_LRS | pool_temp_index_l_reads | 0 | |||||||
PL_TI_PRS | pool_temp_index_p_reads | 0 | |||||||
BLKCURSOR | blocking_cursor | 0 | |||||||
STMTELAS | elapsed_time seconds | 0 | |||||||
STMTELAMS | elapsed_time microseconds | 0 | |||||||
CONSISTNCY_TOKEN | consistency_token | 0 | |||||||
PACKAGE_VERS_ID | package_version_id | 0 | |||||||
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 Bndry | 0 | |||||||
STMT_TEXT | stmt_text: SQL Statement | 0 |
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 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