/SDF/SQLTOP SAP (SQL Monitor: Top Statements) Table details

Dictionary Type: Table
Description: SQL Monitor: Top Statements




ABAP Code to SELECT data from /SDF/SQLTOP
Related tables to /SDF/SQLTOP
Access table /SDF/SQLTOP




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

/SDF/SQLTOP is a standard SAP Table which is used to store SQL Monitor: Top Statements data and is available within R/3 SAP systems depending on the version and release level.

The /SDF/SQLTOP table consists of various fields, each holding specific information or linking keys about SQL Monitor: Top Statements 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 /SDF/SQLTOP 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
TIMESTAMPTimestamp for SQLM Data Collection /SDF/SQLTIMESTAMPDEC15TSTLC/SDF/SQLTIMESTAMP
PROGNAMEABAP Program Name PROGNAMECHAR40PROGNAME
PROGKINDSQL Monitor: Program Kind /SDF/ZQLMPROGKINDCHAR1/SDF/ZQLMPROGKIND
PROCTYPESQL Monitor: Processing Block Type /SDF/ZQLMPROCTYPECHAR4
PROCNAMESQL Monitor: Processing Block Name /SDF/ZQLMPROCNAMECHAR93
PROCLINESQL Monitor: Line Number in Processing Block /SDF/ZQLMPROCLINEINT410
RUNLEVELSQL Monitor: Run Mode /SDF/ZQLMRUNLEVELCHAR1/SDF/ZQLMRUNLEVEL
ROOTTYPESQL Monitor: Request Type /SDF/ZQLMROOTTYPECHAR1/SDF/ZQLMROOTTYPE
ROOTNAMESQL Monitor: Request Entry Point (Transaction, etc.) /SDF/ZQLMROOTNAMECHAR60
STMTKINDSQL Monitor: SQL Operation /SDF/ZQLMSTMTKINDCHAR1/SDF/ZQLMSTMTKIND
TABLENAMESQL Monitor: Table Name /SDF/ZQLMTABLENAMECHAR16DBOBJ_NAME
HASHHash Value (160 Bits) HASH160XRAW20
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 /SDF/ZQLMEXECNTINT410
RCNTSQL Monitor: Internal Sessions Affected /SDF/ZQLMROLLAREACNTINT410
XCNTRCNTSQL Monitor: Executions per Internal Sessions /SDF/ZQLMEXECNTROLLAREACNTDEC31(3) /SDF/ZQLMDECIMAL3
RTMINSQL Monitor: Minimum Value of Execution Time /SDF/ZQLMRUNTIMEMINDEC31(3) /SDF/ZQLMRUNTIME
RTMAXSQL Monitor: Maximum Value of Execution Time /SDF/ZQLMRUNTIMEMAXDEC31(3) /SDF/ZQLMRUNTIME
RTCNTSQL Monitor: Count /SDF/ZQLMRUNTIMECNTINT410
RTSUMSQL Monitor: Total Execution Time /SDF/ZQLMRUNTIMESUMDEC31(3) /SDF/ZQLMRUNTIME
RTSQSSQL Monitor: Runtime Sum of Squares /SDF/ZQLMRUNTIMESQSDEC31(6) /SDF/ZQLMDECIMAL6
RTAVGSQL Monitor: Mean Value of Execution Time /SDF/ZQLMRUNTIMEAVGDEC31(3) /SDF/ZQLMRUNTIME
RTDEVSQL Monitor: Standard Deviation of Execution Time /SDF/ZQLMRUNTIMEDEVDEC31(3) /SDF/ZQLMRUNTIME
DBMINSQL Monitor: Minimum Value of Fetched / Modified Records /SDF/ZQLMDBCOUNTMININT410
DBMAXSQL Monitor: Maximum Value of Fetched / Modified Records /SDF/ZQLMDBCOUNTMAXINT410
DBCNTSQL Monitor: DB Count Count /SDF/ZQLMDBCOUNTCNTINT410
DBSUMSQL Monitor: Total Fetched or Modified Records /SDF/ZQLMDBCOUNTSUMDEC31/SDF/ZQLMINTEGER
DBSQSSQL Monitor: DB Count Sum of Squares /SDF/ZQLMDBCOUNTSQSDEC31/SDF/ZQLMINTEGER
DBAVGSQL Monitor: Mean Value of Fetched / Modified Records /SDF/ZQLMDBCOUNTAVGDEC31(3) /SDF/ZQLMDECIMAL3
DBDEVSQL Monitor: Standard Deviation of Fetched / Modif. Records /SDF/ZQLMDBCOUNTDEVDEC31(3) /SDF/ZQLMDECIMAL3
DDATE RTM Date of last entry0
DTIME RTM Time of last entry0

Key field Non-key field



How do I retrieve data from SAP table /SDF/SQLTOP using ABAP code

The following ABAP code Example will allow you to do a basic selection on /SDF/SQLTOP to SELECT all data from the table
DATA: WA_/SDF/SQLTOP TYPE /SDF/SQLTOP.

SELECT SINGLE *
FROM /SDF/SQLTOP
INTO CORRESPONDING FIELDS OF WA_/SDF/SQLTOP
WHERE...

How to access SAP table /SDF/SQLTOP

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