STR_LOCK SAP (Oracle monitoring: structure for V$LOCK.) Structure details
Description: Oracle monitoring: structure for V$LOCK.
Structure field list including key, data, relationships and ABAP select examples
STR_LOCK 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$LOCK." 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_LOCK TYPE STR_LOCK.
The STR_LOCK table consists of various fields, each holding specific information or linking keys about Oracle monitoring: structure for V$LOCK. data available in SAP. These include KADDR (Oracle monitoring: KADDR), SID (Oracle monitoring: SID (Session)), TYPE (Oracle Monitoring: Type of user or system lock), ID1 (Oracle monitoring: Lock identifier #1 (depends on type)).. 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_LOCK 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 |
ADDR | Oracle monitoring: ADDR | ORA_ADDR | RAW | 8 | ORA_ADDR | ||||
KADDR | Oracle monitoring: KADDR | ORA_KADDR | RAW | 8 | ORA_KADDR | ||||
SID | Oracle monitoring: SID (Session) | ORA_SID | DEC | 22 | ORA_SID | ||||
TYPE | Oracle Monitoring: Type of user or system lock | ORA_TYPE | CHAR | 2 | ORA_TYPE | ||||
ID1 | Oracle monitoring: Lock identifier #1 (depends on type) | ORA_ID1 | DEC | 22 | ORA_ID1 | ||||
ID2 | Oracle monitoring: Lock identifier #2 (depends on type) | ORA_ID2 | DEC | 22 | ORA_ID2 | ||||
LMODE | Oracle monitoring: LMODE Lock mode in which the session hold | ORA_LMODE | DEC | 4 | ORA_LMODE | ||||
REQUEST | Oracle monitoring: Lock mode in which the process requests | ORA_REQUEST | DEC | 22 | ORA_REQUEST | ||||
CTIME | Oracle monitoring: Time since current mode was granted | ORA_CTIME | DEC | 22 | ORA_CTIME | ||||
BLOCK | Oracle monitoring: The lock is blocking another lock | ORA_BLOCK | DEC | 22 | ORA_BLOCK |
Key field | Non-key field |
How do I retrieve data from SAP structure STR_LOCK using ABAP code?
As STR_LOCK 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_LOCK as there is no data to select.How to access SAP table STR_LOCK
Within an ECC or HANA version of SAP you can also view further information about STR_LOCK 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