SAP ABAP Data Element EQEUSRVB (Lock Owner, ID of Logical Unit of Work (LUW) /Update Task)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-CST-EQ (Application Component) Enqueue
     SENQ (Package) Enqueue Handling
Basic Data
Data Element EQEUSRVB
Short Description Lock Owner, ID of Logical Unit of Work (LUW) /Update Task  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type EQDUSR    
Data Type CHAR   Character String 
Length 58    
Decimal Places 0    
Output Length 58    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Owner 
Medium 15 Lock Owner 
Long 20 Lock Owner 
Heading 55 Lock Owner 
Documentation

Definition

A lock can have one or two owners (enqueue owners) Accordingly, a transaction contains two lock owners. One of the lock owners is passed to the update task when the update is called. The other lock owner remains in the transaction.

A lock owner is represented by a system-wide unique key. This key contains, among other information, the time when it is assigned.

Lock owner keys are assigned as follows:

  1. When you start a transaction or a report, both lock owner keys are assigned.
  2. When the update is called (COMMIT WORK after CALL FUNCTION IN UPDATE TASK), a lock owner key is assigned to replace the lock owner key passed to the update.
  3. On your return after branching to transactions and reports (CALL TRANSACTION, SUBMIT), the lock owner keys of the calling transaction are valid again.

When a lock operation is called, the parameter "_SCOPE" specifies the lock owner the operation is for.
_SCOPE = 1 : for the owner remaining in the transaction
_SCOPE = 2 : for the owner passed to the update task
_SCOPE = 3 : for both owners

For more information see the documentation on enqueue and the update process.

History
Last changed by/on SAP  20040312 
SAP Release Created in 630