SYB_VIEW_TOPSTMTS_DTL SAP (SYB: view data structure for top SQL statement details) Structure details

Dictionary Type: Structure
Description: SYB: view data structure for top SQL statement details




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




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

SYB_VIEW_TOPSTMTS_DTL 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 "SYB: view data structure for top SQL statement details" 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_SYB_VIEW_TOPSTMTS_DTL TYPE SYB_VIEW_TOPSTMTS_DTL.

The SYB_VIEW_TOPSTMTS_DTL table consists of various fields, each holding specific information or linking keys about SYB: view data structure for top SQL statement details data available in SAP. These include INSTANCEID (SYB: Instance ID in Cluster Edition), SSQLID (), HASHKEY (), USERID ().. 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 SYB_VIEW_TOPSTMTS_DTL 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
TOPSTMT 0
INSTANCEIDSYB: Instance ID in Cluster Edition SYBINSTIDINT25
SSQLID 0
HASHKEY 0
USERID 0
SUSERID 0
DBNAMESYB: DB Name SYBDBNAMECHAR30SYBDBNAME
STMTTYPE 0
HASAUTOPARAMS 0
PARALLELDEGREE 0
QUOTEDIDENTIFIER 0
TRANSACTIONISOLATIONLEVEL 0
TRANSACTIONMODE 0
SAAUTHORIZATION 0
SYSTEMCATALOGUPDATE 0
CACHEDDATE 0
OPTGOAL 0
OPTLEVEL 0
REMOVALDATE 0
ABAP_SOURCEABAP Program: Current Main Program SYREPIDCHAR40PROGRAMM
TOTAL_PCT 0
USECOUNTSYB: Big Integer SYBBIGINTDEC22
STATEMENTSIZE 0
MINPLANSIZEKB 0
MAXPLANSIZEKB 0
CURRENTUSAGECOUNT 0
MAXUSAGECOUNT 0
NUMRECOMPILESSCHEMACHANGESSYB: Big Integer SYBBIGINTDEC22
NUMRECOMPILESPLANFLUSHESSYB: Big Integer SYBBIGINTDEC22
METRICSCOUNTSYB: Big Integer SYBBIGINTDEC22
MINPIOSYB: Big Integer SYBBIGINTDEC22
MAXPIOSYB: Big Integer SYBBIGINTDEC22
AVGPIOSYB: Big Integer SYBBIGINTDEC22
MINLIOSYB: Big Integer SYBBIGINTDEC22
MAXLIOSYB: Big Integer SYBBIGINTDEC22
AVGLIOSYB: Big Integer SYBBIGINTDEC22
MINCPUTIMESYB: Big Integer SYBBIGINTDEC22
MAXCPUTIMESYB: Big Integer SYBBIGINTDEC22
AVGCPUTIMESYB: Big Integer SYBBIGINTDEC22
MINELAPSEDTIMESYB: Big Integer SYBBIGINTDEC22
MAXELAPSEDTIMESYB: Big Integer SYBBIGINTDEC22
AVGELAPSEDTIMESYB: Big Integer SYBBIGINTDEC22
TOTALELAPSEDTIMESYB: Big Integer SYBBIGINTDEC22
TOTALCPUTIMESYB: Big Integer SYBBIGINTDEC22
TOTALLIOSYB: Big Integer SYBBIGINTDEC22
TOTALPIOSYB: Big Integer SYBBIGINTDEC22
ROWS_READ_PROCESSEDSYB: Big Integer SYBBIGINTDEC22
LIO_ROWS_PROCESSEDSYB: Big Integer SYBBIGINTDEC22
PIO_ROWS_PROCESSEDSYB: Big Integer SYBBIGINTDEC22
LASTUSEDDATE 0
LASTRECOMPILEDDATE 0
STMT_TEXT 0
SHORT_STMT_TEXT 0
NUM_PLANS_CACHED 0
AVGSCANROWSSYB: Big Integer SYBBIGINTDEC22
MAXSCANROWSSYB: Big Integer SYBBIGINTDEC22
TOTALSCANROWSSYB: Big Integer SYBBIGINTDEC22
AVGQUALIFYINGREADROWSSYB: Big Integer SYBBIGINTDEC22
MAXQUALIFYINGREADROWSSYB: Big Integer SYBBIGINTDEC22
TOTALQUALIFYINGREADROWSSYB: Big Integer SYBBIGINTDEC22
AVGQUALIFYINGWRITEROWSSYB: Big Integer SYBBIGINTDEC22
MAXQUALIFYINGWRITEROWSSYB: Big Integer SYBBIGINTDEC22
TOTALQUALIFYINGWRITEROWSSYB: Big Integer SYBBIGINTDEC22
LOCKWAITSSYB: Big Integer SYBBIGINTDEC22
LOCKWAITTIMESYB: Big Integer SYBBIGINTDEC22
AVGLOCKWAITTIMESYB: Big Integer SYBBIGINTDEC22
SORTCOUNTSYB: Big Integer SYBBIGINTDEC22
SORTSPILLEDCOUNTSYB: Big Integer SYBBIGINTDEC22
TOTALSORTTIMESYB: Big Integer SYBBIGINTDEC22
MAXSORTTIMESYB: Big Integer SYBBIGINTDEC22
AVGSORTTIMESYB: Big Integer SYBBIGINTDEC22
PARALLELDEGREEREDUCEDSYB: Big Integer SYBBIGINTDEC22
PARALLELPLANRANSERIALSYB: Big Integer SYBBIGINTDEC22
WORKERTHREADDEFICITSYB: Big Integer SYBBIGINTDEC22
SNAPSHOT_TIMESTAMPDB6: Timestamp (Format: YYYYMMDDHHMMSS) DB6TSTAMPCHAR14
TIMESTAMP_FROMDBA Formatted Timestamp DBAFTTSTAMPSTRG0
TIMESTAMP_TODBA Formatted Timestamp DBAFTTSTAMPSTRG0
TIME_PERIOD 0
BI_TOP 0
SOURCE_HOSTNAMESYB: Hostname SYBHOSTNAMECHAR128SYBHOSTNAME
PLAN_VERSIONS 0
HISTORY 0

Key field Non-key field



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

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

How to access SAP table SYB_VIEW_TOPSTMTS_DTL

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