SQLMD SAP (SQL Monitor: Data) Table details
Dictionary Type: Table
Description: SQL Monitor: Data
Description: SQL Monitor: Data
Table field list including key, data, relationships and ABAP select examples
SQLMD is a standard SAP Table which is used to store SQL Monitor: Data data and is available within R/3 SAP systems depending on the version and release level.
The SQLMD table consists of various fields, each holding specific information or linking keys about SQL Monitor: Data data available in SAP. These include PROGNAME (ABAP Program Name), PROGKIND (SQL Monitor: Program Kind), PROCTYPE (SQL Monitor: Processing Block Type), PROCNAME (SQL Monitor: Processing Block Name).. 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 emptyDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP SQLMD 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 |
PROGNAME | ABAP Program Name | PROGNAME | CHAR | 40 | PROGNAME | ||||
PROGKIND | SQL Monitor: Program Kind | SQLMPROGKIND | CHAR | 1 | SQLMPROGKIND | ||||
PROCTYPE | SQL Monitor: Processing Block Type | SQLMPROCTYPE | CHAR | 4 | |||||
PROCNAME | SQL Monitor: Processing Block Name | SQLMPROCNAME | CHAR | 93 | |||||
PROCLINE | SQL Monitor: Line Number in Processing Block | SQLMPROCLINE | INT4 | 10 | |||||
RUNLEVEL | SQL Monitor: Run Mode | SQLMRUNLEVEL | CHAR | 1 | SQLMRUNLEVEL | ||||
ROOTTYPE | SQL Monitor: Request Type | SQLMROOTTYPE | CHAR | 1 | SQLMROOTTYPE | ||||
ROOTNAME | SQL Monitor: Request Entry Point (Transaction, etc.) | SQLMROOTNAME | CHAR | 60 | |||||
STMTKIND | SQL Monitor: SQL Operation | SQLMSTMTKIND | CHAR | 1 | SQLMSTMTKIND | ||||
TABLENAME | SQL Monitor: Table Name | SQLMTABLENAME | CHAR | 16 | DBOBJ_NAME | ||||
XCNT | SQL Monitor: Total Number of Executions | SQLMEXECNT | INT4 | 10 | |||||
RCNT | SQL Monitor: Internal Sessions Affected | SQLMROLLAREACNT | INT4 | 10 | |||||
XCNTRCNT | SQL Monitor: Executions per Internal Sessions | SQLMEXECNTROLLAREACNT | DEC | 31(3) | SQLMDECIMAL3 | ||||
RTMIN | SQL Monitor: Minimum Value of Execution Time | SQLMRUNTIMEMIN | DEC | 31(3) | SQLMRUNTIME | ||||
RTMAX | SQL Monitor: Maximum Value of Execution Time | SQLMRUNTIMEMAX | DEC | 31(3) | SQLMRUNTIME | ||||
RTCNT | SQL Monitor: Count | SQLMRUNTIMECNT | INT4 | 10 | |||||
RTSUM | SQL Monitor: Total Execution Time | SQLMRUNTIMESUM | DEC | 31(3) | SQLMRUNTIME | ||||
RTSQS | SQL Monitor: Runtime Sum of Squares | SQLMRUNTIMESQS | DEC | 31(6) | SQLMDECIMAL6 | ||||
RTAVG | SQL Monitor: Mean Value of Execution Time | SQLMRUNTIMEAVG | DEC | 31(3) | SQLMRUNTIME | ||||
RTDEV | SQL Monitor: Standard Deviation of Execution Time | SQLMRUNTIMEDEV | DEC | 31(3) | SQLMRUNTIME | ||||
DBMIN | SQL Monitor: Minimum Value of Fetched / Modified Records | SQLMDBCOUNTMIN | INT4 | 10 | |||||
DBMAX | SQL Monitor: Maximum Value of Fetched / Modified Records | SQLMDBCOUNTMAX | INT4 | 10 | |||||
DBCNT | SQL Monitor: DB Count Count | SQLMDBCOUNTCNT | INT4 | 10 | |||||
DBSUM | SQL Monitor: Total Fetched or Modified Records | SQLMDBCOUNTSUM | DEC | 31 | SQLMINTEGER | ||||
DBSQS | SQL Monitor: DB Count Sum of Squares | SQLMDBCOUNTSQS | DEC | 31 | SQLMINTEGER | ||||
DBAVG | SQL Monitor: Mean Value of Fetched / Modified Records | SQLMDBCOUNTAVG | DEC | 31(3) | SQLMDECIMAL3 | ||||
DBDEV | SQL Monitor: Standard Deviation of Fetched / Modif. Records | SQLMDBCOUNTDEV | DEC | 31(3) | SQLMDECIMAL3 | ||||
DDATE | Date for Runtime Monitor DATA entry | RTMDDATE | DATS | 8 | SYDATS | ||||
DTIME | Time for Runtime Monitor data entry | D_TIME | TIMS | 6 | SYTIME | ||||
RTMCNT | SQL Monitor: RTM Count | SQLMRTMCNT | INT4 | 10 |
Key field | Non-key field |
How do I retrieve data from SAP table SQLMD using ABAP code
The following ABAP code Example will allow you to do a basic selection on SQLMD to SELECT all data from the tableDATA: WA_SQLMD TYPE SQLMD.
SELECT SINGLE *
FROM SQLMD
INTO CORRESPONDING FIELDS OF WA_SQLMD
WHERE...
How to access SAP table SQLMD
Within an ECC or HANA version of SAP you can also view further information about SQLMD 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