LOCK_W_SDB SAP (SAP DB Lock Waits) Structure details
Description: SAP DB Lock Waits
Structure field list including key, data, relationships and ABAP select examples
LOCK_W_SDB 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 "SAP DB Lock Waits" 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_LOCK_W_SDB TYPE LOCK_W_SDB.
The LOCK_W_SDB table consists of various fields, each holding specific information or linking keys about SAP DB Lock Waits data available in SAP. These include TABLEID (Table ID), H_TERMID (Terminal ID), H_PROCESS (SAP DB: Process ID), H_APPLPROC (SAP DB: Process ID).. 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: Not classified
SAP LOCK_W_SDB 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 |
TABLENAME | SDB Table Name | ADATABNAME | CHAR | 30 | CHAR30 | ||||
TABLEID | Table ID | SADA_TABID | CHAR | 16 | CHAR16 | ||||
H_TERMID | Terminal ID | SADATERMID | CHAR | 18 | CHAR18 | ||||
H_PROCESS | SAP DB: Process ID | SADA_PID | CHAR | 10 | CHR10 | ||||
H_APPLPROC | SAP DB: Process ID | SADA_PID | CHAR | 10 | CHR10 | ||||
H_APPLNODE | SDB Node Name | SADA_NODE | CHAR | 64 | CHR64 | ||||
H_ROWID | Table row ID | SADAROWID | CHAR | 256 | CHAR256 | ||||
H_LOCKMODE | SDB Locking Mode | SADA_MODE | CHAR | 14 | CHAR14 | ||||
H_DATE | SDB Date | SADA_DATE | CHAR | 10 | CHR10 | ||||
H_TIME | SDB Time | SADA_TIME | CHAR | 8 | CHAR8 | ||||
H_LOCKTOUT | SDB Timeout | SADA_TOUT | CHAR | 10 | CHR10 | ||||
R_TERMID | Terminal ID | SADATERMID | CHAR | 18 | CHAR18 | ||||
R_PROCESS | SAP DB: Process ID | SADA_PID | CHAR | 10 | CHR10 | ||||
R_APPLPROC | SAP DB: Process ID | SADA_PID | CHAR | 10 | CHR10 | ||||
R_APPLNODE | SDB Node Name | SADA_NODE | CHAR | 64 | CHR64 | ||||
R_ROWID | Table row ID | SADAROWID | CHAR | 256 | CHAR256 | ||||
R_REQMODE | SDB Locking Mode | SADA_MODE | CHAR | 14 | CHAR14 | ||||
R_DATE | SDB Date | SADA_DATE | CHAR | 10 | CHR10 | ||||
R_TIME | SDB Time | SADA_TIME | CHAR | 8 | CHAR8 | ||||
R_REQTOUT | SDB Timeout | SADA_TOUT | CHAR | 10 | CHR10 |
Key field | Non-key field |
How do I retrieve data from SAP structure LOCK_W_SDB using ABAP code?
As LOCK_W_SDB 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 LOCK_W_SDB as there is no data to select.How to access SAP table LOCK_W_SDB
Within an ECC or HANA version of SAP you can also view further information about LOCK_W_SDB 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