SQLMD SAP (SQL Monitor: Data) Table details

Dictionary Type: Table
Description: SQL Monitor: Data




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




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 empty
Display/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
PROGNAMEABAP Program Name PROGNAMECHAR40PROGNAME
PROGKINDSQL Monitor: Program Kind SQLMPROGKINDCHAR1SQLMPROGKIND
PROCTYPESQL Monitor: Processing Block Type SQLMPROCTYPECHAR4
PROCNAMESQL Monitor: Processing Block Name SQLMPROCNAMECHAR93
PROCLINESQL Monitor: Line Number in Processing Block SQLMPROCLINEINT410
RUNLEVELSQL Monitor: Run Mode SQLMRUNLEVELCHAR1SQLMRUNLEVEL
ROOTTYPESQL Monitor: Request Type SQLMROOTTYPECHAR1SQLMROOTTYPE
ROOTNAMESQL Monitor: Request Entry Point (Transaction, etc.) SQLMROOTNAMECHAR60
STMTKINDSQL Monitor: SQL Operation SQLMSTMTKINDCHAR1SQLMSTMTKIND
TABLENAMESQL Monitor: Table Name SQLMTABLENAMECHAR16DBOBJ_NAME
XCNTSQL Monitor: Total Number of Executions SQLMEXECNTINT410
RCNTSQL Monitor: Internal Sessions Affected SQLMROLLAREACNTINT410
XCNTRCNTSQL Monitor: Executions per Internal Sessions SQLMEXECNTROLLAREACNTDEC31(3) SQLMDECIMAL3
RTMINSQL Monitor: Minimum Value of Execution Time SQLMRUNTIMEMINDEC31(3) SQLMRUNTIME
RTMAXSQL Monitor: Maximum Value of Execution Time SQLMRUNTIMEMAXDEC31(3) SQLMRUNTIME
RTCNTSQL Monitor: Count SQLMRUNTIMECNTINT410
RTSUMSQL Monitor: Total Execution Time SQLMRUNTIMESUMDEC31(3) SQLMRUNTIME
RTSQSSQL Monitor: Runtime Sum of Squares SQLMRUNTIMESQSDEC31(6) SQLMDECIMAL6
RTAVGSQL Monitor: Mean Value of Execution Time SQLMRUNTIMEAVGDEC31(3) SQLMRUNTIME
RTDEVSQL Monitor: Standard Deviation of Execution Time SQLMRUNTIMEDEVDEC31(3) SQLMRUNTIME
DBMINSQL Monitor: Minimum Value of Fetched / Modified Records SQLMDBCOUNTMININT410
DBMAXSQL Monitor: Maximum Value of Fetched / Modified Records SQLMDBCOUNTMAXINT410
DBCNTSQL Monitor: DB Count Count SQLMDBCOUNTCNTINT410
DBSUMSQL Monitor: Total Fetched or Modified Records SQLMDBCOUNTSUMDEC31SQLMINTEGER
DBSQSSQL Monitor: DB Count Sum of Squares SQLMDBCOUNTSQSDEC31SQLMINTEGER
DBAVGSQL Monitor: Mean Value of Fetched / Modified Records SQLMDBCOUNTAVGDEC31(3) SQLMDECIMAL3
DBDEVSQL Monitor: Standard Deviation of Fetched / Modif. Records SQLMDBCOUNTDEVDEC31(3) SQLMDECIMAL3
DDATEDate for Runtime Monitor DATA entry RTMDDATEDATS8SYDATS
DTIMETime for Runtime Monitor data entry D_TIMETIMS6SYTIME
RTMCNTSQL Monitor: RTM Count SQLMRTMCNTINT410

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 table
DATA: 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 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!