SAP NWECMD_LOCK Table for persistent Lock objects Table data and field list

NWECMD_LOCK is a standard SAP Table which is used to store Table for persistent Lock objects data in SAP systems, such as SAP R/3, S/4HANA, depending on the version and release level.

The NWECMD_LOCK table consists of various fields, each holding specific information or linking keys about Table for persistent Lock objects data available in SAP. These include LOCKID (Globally Unique Identifier), SCOPE (NW ECM: Length limited string for table queries), TYPE (NW ECM: Length limited string for table queries), DEPTH (NW ECM: Length limited string for table queries)... 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. .

NWECMD_LOCK table Technical Details:

Delivery Class: L - Table for storing temporary data, is delivered empty
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP NWECMD_LOCK table fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the NWECMD_LOCK table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
MANDTClient MANDTCLNT3Assigned to domainMANDT
LOCKIDGlobally Unique Identifier OS_GUIDRAW16SYSUUID
SCOPENW ECM: Length limited string for table queries NWECM_CHARCHAR250
TYPENW ECM: Length limited string for table queries NWECM_CHARCHAR250
DEPTHNW ECM: Length limited string for table queries NWECM_CHARCHAR250
USERNAMENW ECM: Length limited string for table queries NWECM_CHARCHAR250
CREATION_DATEnwecm: Timestamp (DATS + TIMS) NWECM_TIMESTAMPDEC21(7) TZNTSTMPL
LOCK_TOKENNW ECM: Length limited string for table queries NWECM_CHARCHAR250
TIMEOUTnwecm: kind of a long integer NWECM_LONGDEC20
CLIENT_USERNW ECM: Length limited string for table queries NWECM_CHARCHAR250

Key field Non-key field



How do I retrieve data from SAP table NWECMD_LOCK using ABAP code

The following ABAP code Example will allow you to do a basic selection on NWECMD_LOCK to SELECT all data from the table
DATA: WA_NWECMD_LOCK TYPE NWECMD_LOCK.

SELECT SINGLE *
FROM NWECMD_LOCK
INTO CORRESPONDING FIELDS OF WA_NWECMD_LOCK
WHERE...

How to access SAP table NWECMD_LOCK

Within an ECC or HANA version of SAP you can also view further information about NWECMD_LOCK and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).