STR_INSTANCE SAP (Oracle monitoring: structure for V$INSTANCE.) Structure details
Description: Oracle monitoring: structure for V$INSTANCE.
Structure field list including key, data, relationships and ABAP select examples
STR_INSTANCE 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 "Oracle monitoring: structure for V$INSTANCE." 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_STR_INSTANCE TYPE STR_INSTANCE.
The STR_INSTANCE table consists of various fields, each holding specific information or linking keys about Oracle monitoring: structure for V$INSTANCE. data available in SAP. These include INSTANCE_NAME (Oracle monitoring: instance_name), HOST_NAME (Oracle monitoring: host_name), VERSION (Oracle monitoring: version), STARTUP_DATE (Oracle monitoring: instance startup time (date value)).. 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 STR_INSTANCE 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 |
INSTANCE_NUMBER | Oracle monitoring: instance number | ORA_INSTANCE_NUMBER | DEC | 22 | ORA_NUMBER | ||||
INSTANCE_NAME | Oracle monitoring: instance_name | ORA_INSTANCE_NAME | CHAR | 48 | ORA_LK_INSTNAME | ||||
HOST_NAME | Oracle monitoring: host_name | ORA_HOST_NAME | CHAR | 64 | ORA_CHAR_64 | ||||
VERSION | Oracle monitoring: version | ORA_VERSION | CHAR | 17 | ORA_CHAR_17 | ||||
STARTUP_DATE | Oracle monitoring: instance startup time (date value) | ORA_STARTUP_DATE | DATS | 8 | ORA_DATE | ||||
STARTUP_TIME | Oracle monitoring: instance startup time | ORA_STARTUP_TIME | TIMS | 6 | ORA_TIME | ||||
STATUS | Oracle monitoring: instance status | ORA_STATUS_INST | CHAR | 12 | ORA_CHAR_12 | ||||
PARALLEL | Oracle monitoring: parallel | ORA_PARALLEL | CHAR | 3 | ORA_CHAR_3 | ||||
THREAD | Oracle monitoring: thread_inst | ORA_THREAD_INST | DEC | 22 | ORA_NUMBER | ||||
ARCHIVER | Oracle monitoring: archiver | ORA_ARCHIVER | CHAR | 7 | ORA_CHAR_7 | ||||
LOG_SWITCH_WAIT | Oracle monitoring: instance log switch wait | ORA_LOG_SWITCH_WAIT | CHAR | 11 | ORA_CHAR_11 | ||||
LOGINS | Oracle monitoring: instance logins | ORA_LOGINS | CHAR | 10 | ORA_CHAR_10 | ||||
SHUTDOWN_PENDING | Oracle monitoring: shutdown_pending | ORA_SHUTDOWN_PENDING | CHAR | 3 | ORA_CHAR_3 | ||||
DATABASE_STATUS | Oracle monitoring: database status | ORA_DATABASE_STATUS | CHAR | 17 | ORA_CHAR_17 | ||||
INSTANCE_ROLE | Oracle monitoring: instance role | ORA_INSTANCE_ROLE | CHAR | 18 | ORA_CHAR_18 | ||||
ACTIVE_STATE | Oracle monitoring: active state | ORA_ACTIVE_STATE | CHAR | 9 | ORA_CHAR_9 |
Key field | Non-key field |
How do I retrieve data from SAP structure STR_INSTANCE using ABAP code?
As STR_INSTANCE 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 STR_INSTANCE as there is no data to select.How to access SAP table STR_INSTANCE
Within an ECC or HANA version of SAP you can also view further information about STR_INSTANCE 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