ENQSTAT SAP (Structure for storing (g)v$enqueue_stat data) Structure details
Description: Structure for storing (g)v$enqueue_stat data
Structure field list including key, data, relationships and ABAP select examples
ENQSTAT 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 "Structure for storing (g)v$enqueue_stat data" 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_ENQSTAT TYPE ENQSTAT.
The ENQSTAT table consists of various fields, each holding specific information or linking keys about Structure for storing (g)v$enqueue_stat data data available in SAP. These include EQ_NAME (Enqueue Name), INST_ID (Oracle monitor: Instance ID), TOTAL_REQ (Number of Requests), PCT_REQ (% of Enqueue requests of this type / total requests).. 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 ENQSTAT 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 |
EQ_TYPE | Enqueue Type | 0 | |||||||
EQ_NAME | Enqueue Name | 0 | |||||||
INST_ID | Oracle monitor: Instance ID | ORA_INST_ID | DEC | 22 | ORA_INST_ID | ||||
TOTAL_REQ | Number of Requests | 0 | |||||||
PCT_REQ | % of Enqueue requests of this type / total requests | 0 | |||||||
TOTAL_WAIT | Number of Waits | 0 | |||||||
PCT_WAIT | % of waits / total waits | 0 | |||||||
GRANTS | Number of successfull requests | 0 | |||||||
PCT_GRANTS | % of successes / total successes | 0 | |||||||
FAILS | Number of failed requests | 0 | |||||||
PCT_FAILS | %of fails / total fails | 0 | |||||||
CUM_WAIT_TIME | Cumulated wait time | 0 | |||||||
PCT_WAIT_TIME | % wait time / total wait time | 0 | |||||||
WAIT_ON_UPTIME | % wait time / uptime of the database | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure ENQSTAT using ABAP code?
As ENQSTAT 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 ENQSTAT as there is no data to select.How to access SAP table ENQSTAT
Within an ECC or HANA version of SAP you can also view further information about ENQSTAT 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