GORAV_SQL_SELECT SAP (Structure Corresponding to Oracle Table GV$SQL) Structure details

Dictionary Type: Structure
Description: Structure Corresponding to Oracle Table GV$SQL




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




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

GORAV_SQL_SELECT 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 Corresponding to Oracle Table GV$SQL" 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_GORAV_SQL_SELECT TYPE GORAV_SQL_SELECT.

The GORAV_SQL_SELECT table consists of various fields, each holding specific information or linking keys about Structure Corresponding to Oracle Table GV$SQL data available in SAP. These include SQL_TEXT (Start of SQL statement), SHARABLE_MEM (Shareable memory), PERSISTENT_MEM (Persistent memory), RUNTIME_MEM (Ephemeral frame used).. 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 GORAV_SQL_SELECT 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
INST_IDOracle Instance ID ORAINST_IDINT410ORANUMBER
SQL_TEXTStart of SQL statement ORASQLTEXTCHAR60CHAR60
SHARABLE_MEMShareable memory ORSHARMEMINT410ORAMEMORY
PERSISTENT_MEMPersistent memory ORPERSMEMINT410ORAMEMORY
RUNTIME_MEMEphemeral frame used ORRUNTMEMINT410ORAMEMORY
SORTSNumber of sorts ORSORTSINT410ORANUMBER
LOADED_VERSIONSContext heap load flag ORLOADVERINT410ORANUMBER
OPEN_VERSIONSFlag for child cursors is locked OROPENVERINT410ORANUMBER
USERS_OPENINGNumber of users executing the statement ORUSROPENINT410ORANUMBER
EXECUTIONSNumber of executions OREXECNUMDEC31ORAPNUMBER
FETCHESTotal Number of Fetches ORAFETCHESDEC31ORAPNUMBER
USERS_EXECUTINGNumber of users executing ORUSREXECINT410ORANUMBER
LOADSNumber of loads or reloads ORALOADSINT410ORANUMB5
FIRST_LOAD_TIMETime SQL statement loaded ORALOAD_TCHAR19ORATIMESTA
INVALIDATIONSInvalidations for this child cursor ORINVALIDINT410ORANUMBER
PARSE_CALLSParse calls for this child cursor ORPARSECINT410ORANUMBER
DISK_READSDisk reads for this child cursor ORDISKRDEC31ORAPNUMBER
BUFFER_GETSBuffer gets for this child cursor ORBUFFERGDEC31ORAPNUMBER
ROWS_PROCESSEDNumber of rows parsed ORROWPROCDEC31ORAPNUMBER
PARSING_USER_IDID of the user who built this child cursor ORAPARSUSRINT410ORANUMBER
ADDRESSAddress of statement in the cache ORAADDRESSCHAR16CHAR16
HASH_VALUEHash value of statement ORAHASHVALFLTP16(16) ORAP16
MODULEProgram Name ORAMODULECHAR64ORACHAR64
ACTIONAction name ORAACTIONCHAR64CHAR64
CPU_TIMECPU Time in Miroseconds ORACPUTIMEDEC31ORAPNUMBER
ELAPSED_TIMEElapsed Time in Microseconds ORAELAPSEDDEC31ORAPNUMBER
OUTLINE_CATEGORY Category of outline, if used; otherwise blank0
OUTLINE_SID Outline Session Identifier0
LAST_LOAD_TIMELast Load Time ORALASTLOACHAR19CHAR19
END_FETCH_CNT Number of Times Cursor Is Fully Executed0
PLSQL_EXEC_TIME PL/SQL Execution Time0
DIRECT_WRITES Number of Direct Writes for this Child Cursor0
SQL_ID SQL_ID0
LAST_ACTIVE_TIME Time at which the query plan was last active0
CLUSTER_WAIT_TIME Cluster Wait Time (in Microseconds)0
APPLICATION_WAIT_TIME Application Wait Time (in Microseconds)0
USER_IO_WAIT_TIME User I/O Wait Time (in Microseconds)0
CONCURRENCY_WAIT_TIME Concurrency Wait Time (in Microseconds)0
SQL_FULLTEXT Full Text of an SQL Statement0
CLUSTER_WAIT_TIME Cluster Wait Time (in Microseconds)0
USER_IO_WAIT_TIME User I/O Wait Time (in Microseconds)0
SQL_FULLTEXT Full Text of an SQL Statement0

Key field Non-key field



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

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

How to access SAP table GORAV_SQL_SELECT

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