SAP ABAP Class CL_ESH_CO_LOCK (Lock on a Database Table)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-EIM-ESH (Application Component) NetWeaver Enterprise Search
⤷
S_ESH_ENG_COMMON (Package) Common

⤷

⤷

Properties
Class | CL_ESH_CO_LOCK | |
Short Description | Lock on a Database Table | |
Super Class | ||
Instantiability of a Class | 1 | Protected |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | S_ESH_ENG_COMMON | Common |
Created | 20061008 | SAP |
Last change | 20110908 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_ESH_CO_LOCK has no interface implemented.
Friends
Class CL_ESH_CO_LOCK has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Instance attribute | Public | Object reference (TYPE REF TO) | DATA | 20070404 | |||
2 | ![]() |
Instance attribute | Public | Type reference (TYPE) | XFLAG | Client added to the lock argument | 20100810 | ||
3 | ![]() |
Instance attribute | Public | Type reference (TYPE) | XFLAG | New input values | 20061008 | ||
4 | ![]() |
Instance attribute | Public | Type reference (TYPE) | DD26E-ENQMODE | Lock mode | 20061008 | ||
5 | ![]() |
Instance attribute | Public | Type reference (TYPE) | XFLAG | No table key | 20061008 | ||
6 | ![]() |
Instance attribute | Public | Type reference (TYPE) | XFLAG | No table name | 20061008 | ||
7 | ![]() |
Instance attribute | Public | Type reference (TYPE) | RSTABLE-VARKEY | Lock key for tables | 20061008 | ||
8 | ![]() |
Instance attribute | Public | Type reference (TYPE) | RSTABLE-TABNAME | Table name | 20061008 | ||
9 | ![]() |
Constant | Public | Type reference (TYPE) | ENQMODE | 'E' | Exclusive lock | 20061008 | |
10 | ![]() |
Constant | Public | Type reference (TYPE) | ENQMODE | 'X' | Extended exclusive lock | 20061008 | |
11 | ![]() |
Constant | Public | Type reference (TYPE) | ENQMODE | 'S' | Shared lock | 20061008 | |
12 | ![]() |
Constant | Protected | Type reference (TYPE) | TABNAME | 'CL_ESH_CO_LOCK' | The name of the current class | 20070404 | |
13 | ![]() |
Static Attribute | Public | Type reference (TYPE) | RSTABLE-VARKEY | Lock key for tables | 20061008 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Compose the table key by its components | 20061008 |
2 | ![]() |
Static method | Public | Method | Set a lock | 20061008 |
3 | ![]() |
Instance method | Public | Method | Release a lock | 20061008 |
4 | ![]() |
Static method | Public | Method | Release a list of locks | 20061008 |
Events
Class CL_ESH_CO_LOCK has no event.
Types
Class CL_ESH_CO_LOCK has no local type.
Method Signatures
Method GET_TABLE_KEY Signature
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
ESH engine exception | 20061008 |
Method LOCK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ER_LOCK | Call by reference | Object reference (TYPE REF TO) | CL_ESH_CO_LOCK | Lock on a database table | 20061008 | ||
2 | ![]() |
IV_ADD_CLIENT | Call by reference | Type reference (TYPE) | ABAP_BOOL | Add client to the lock argument | 20100810 | ||
3 | ![]() |
IV_ANY_KEY | Call by reference | Type reference (TYPE) | ANY | 20070404 | |||
4 | ![]() |
IV_LOCK_MODE | Call by reference | Type reference (TYPE) | DD26E-ENQMODE | Lock mode | 20061008 | ||
5 | ![]() |
IV_SCOPE | Call by reference | Type reference (TYPE) | DDENQSCOPE | '2' | Control lock behavior when calling the update task | 20070404 | |
6 | ![]() |
IV_TABLE_KEY | Value transfer | Type reference (TYPE) | RSTABLE-VARKEY | Lock key for tables | 20061008 | ||
7 | ![]() |
IV_TABLE_NAME | Value transfer | Type reference (TYPE) | RSTABLE-TABNAME | Table name | 20061008 | ||
8 | ![]() |
IV_TRY_X_TIMES | Call by reference | Type reference (TYPE) | I | 1 | Lock retries | 20061008 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Common ESH engine exception | 20061008 | |
2 | ![]() |
ESH locking exception | 20061008 |
Method UNLOCK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_SCOPE | Call by reference | Type reference (TYPE) | DDENQSCOPE | '3' | Control lock behavior when calling the update task | 20070404 |
Method UNLOCK on class CL_ESH_CO_LOCK has no exception.
Method UNLOCK_LIST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_LOCKS | Call by reference | Type reference (TYPE) | ESH_T_CO_LOCKS | Locks | 20070612 |
Method UNLOCK_LIST on class CL_ESH_CO_LOCK has no exception.
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in |