SQLMRECORD SAP (SQL Monitor: Data Record) Structure details

Dictionary Type: Structure
Description: SQL Monitor: Data Record




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




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

SQLMRECORD 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 "SQL Monitor: Data Record" 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_SQLMRECORD TYPE SQLMRECORD.

The SQLMRECORD table consists of various fields, each holding specific information or linking keys about SQL Monitor: Data Record 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:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP SQLMRECORD 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
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
TABLENAMESSQL Monitor: Table Names SQLMTABLENAMESCHAR160
INCLUDEABAP Program Name PROGNAMECHAR40PROGNAME
LINENatural Number INT4INT410INT4
PGMIDProgram ID in Requests and Tasks PGMIDCHAR4PGMID
OBJECTObject Type TROBJTYPECHAR4OBJECTSCTSOBJECT
OBJ_NAMEObject Name in Object Directory SOBJ_NAMECHAR40SOBJ_NAME
DEVCLASSPackage DEVCLASSCHAR30Assigned to domainDEVCLASSDVCDEVCLASS
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

Key field Non-key field



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

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

How to access SAP table SQLMRECORD

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