SAP ABAP Data Element ENQNAME (Lock object name)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-DIC-ED (Application Component) Dictionary Maintenance
     SEDD (Package) DDIC Editor
Basic Data
Data Element ENQNAME
Short Description Lock object name  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type DBOBJ_NAME    
Data Type CHAR   Character String 
Length 16    
Decimal Places 0    
Output Length 16    
Value Table      
Further Characteristics
Search Help: Name DD_ENQU    
Search Help: Parameters ENQUNAME   
Parameter ID ENQU  
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Lock obj. 
Medium 15 Lock object 
Long 20 Lock object 
Heading 10 Lock obj. 
Documentation

Definition

A lock object is a virtual link of several SAP tables which is used to synchronize simultaneous access by two users to the same set of data (SAP lock concept).

Locks are requested and released in the programming of online transactions by calling certain function modules which are automatically generated from the definition of the lock objects. These lock objects must be explicitly created in the ABAP Dictionary.

To set locks, you must perform the following steps:

  1. You must define a lock object in the ABAP Dictionary. The name of the lock object should begin with E.
  2. The function modules for requesting and releasing locks which are created automatically when the lock object is activated must be linked to the programming of the relevant online transactions.

History
Last changed by/on SAP  19990505 
SAP Release Created in