SAP ABAP Class CL_UKM_LOCK (UKM: Lock)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-SRV-UKM (Application Component) Standardized Key Mapping
⤷ S_UKM_ENGINE (Package) Unified Key Mapping Engine
⤷ BC-SRV-UKM (Application Component) Standardized Key Mapping
⤷ S_UKM_ENGINE (Package) Unified Key Mapping Engine
Properties
Class | CL_UKM_LOCK | |
Short Description | UKM: Lock | |
Super Class | ||
Instantiability of a Class | 1 | Protected |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | S_UKM_ENGINE | Unified Key Mapping Engine |
Created | 20050104 | SAP |
Last change | 20110908 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | CL_UKM_LOCK | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_UKM_LOCK has no interface implemented.
Friends
Class CL_UKM_LOCK has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | MV_ACTIVITY | Instance attribute | Public | Type reference (TYPE) | UKM_E_ACTIVITY_CODE | UKM: Code of an Activity | 20050111 | ||
2 | MV_DATABASE_TABLE | Instance attribute | Public | Type reference (TYPE) | UKM_E_DATABASE_TABLE | UKM: Name of a Database Table | 20050111 | ||
3 | MV_GUID | Instance attribute | Public | Type reference (TYPE) | UKM_E_GUID | UKM: GUID | 20050110 | ||
4 | MV_LOCK_MODE | Instance attribute | Public | Type reference (TYPE) | ENQMODE | Lock Mode | 20050110 | ||
5 | MV_MAIN_CONTEXT | Instance attribute | Public | Type reference (TYPE) | UKM_E_MAIN_CONTEXT_CODE | UKM: Main Context of the Mapping | 20050104 | ||
6 | MV_MAIN_CONTEXT_ID | Instance attribute | Public | Type reference (TYPE) | UKM_E_MAIN_CONTEXT_ID | UKM: ID of the Main Context | 20050104 | ||
7 | MV_MANDT | Instance attribute | Public | Type reference (TYPE) | MANDT | Client | 20050112 | ||
8 | MV_NAME | Instance attribute | Public | Type reference (TYPE) | DDOBJNAME | Name of ABAP Dictionary Object | 20050104 | ||
9 | MV_SUB_CONTEXT | Instance attribute | Public | Type reference (TYPE) | UKM_E_SUB_CONTEXT_CODE | UKM: Subcontext of the Mapping | 20050104 | ||
10 | MV_SUB_CONTEXT_ID | Instance attribute | Public | Type reference (TYPE) | UKM_E_SUB_CONTEXT_ID | UKM: ID of the Subcontext | 20050104 | ||
11 | MV_UNLOCKED | Instance attribute | Public | Type reference (TYPE) | UKM_E_BOOLEAN | UKM: Boolean Expression | 20050104 | ||
12 | SC_ACTIVITY_ADD | Constant | Public | Type reference (TYPE) | UKM_E_ACTIVITY_CODE | '01' | UKM: Code of an Activity | 20050111 | |
13 | SC_ACTIVITY_DELETE | Constant | Public | Type reference (TYPE) | UKM_E_ACTIVITY_CODE | '06' | UKM: Code of an Activity | 20050111 | |
14 | SC_ANY | Constant | Public | Type reference (TYPE) | CHAR1 | '*' | UKM: Any | 20050128 | |
15 | SC_DEFAULT_MAX_TRIES_POST | Constant | Public | Type reference (TYPE) | I | 3600 | UKM: Standard Number of Lock Attempts | 20050128 | |
16 | SC_LOCK_CONTEXT_CODE | Constant | Public | Type reference (TYPE) | DDOBJNAME | 'E_UKM_CONTEXT_CO' | Name of ABAP Dictionary Object | 20050104 | |
17 | SC_LOCK_CONTEXT_ID | Constant | Public | Type reference (TYPE) | DDOBJNAME | 'E_UKM_CONTEXT_ID' | Name of ABAP Dictionary Object | 20050104 | |
18 | SC_LOCK_DB_TABLE | Constant | Public | Type reference (TYPE) | DDOBJNAME | 'E_UKM_DB_TABLE' | Name of ABAP Dictionary Object | 20050111 | |
19 | SC_LOCK_GROUP | Constant | Public | Type reference (TYPE) | DDOBJNAME | 'E_UKM_GROUP' | Name of ABAP Dictionary Object | 20050110 | |
20 | SC_LOCK_GUID | Constant | Public | Type reference (TYPE) | DDOBJNAME | 'E_UKM_GUID' | Name of ABAP Dictionary Object | 20050110 | |
21 | SC_LOCK_MODE_EXCLUSIVE | Constant | Public | Type reference (TYPE) | ENQMODE | 'E' | Lock Mode | 20050111 | |
22 | SC_LOCK_MODE_EXT_EXCLUSIVE | Constant | Public | Type reference (TYPE) | ENQMODE | 'X' | Lock Mode | 20050111 | |
23 | SC_LOCK_MODE_SHARED | Constant | Public | Type reference (TYPE) | ENQMODE | 'S' | Lock Mode | 20050111 | |
24 | ST_LOCKS | Static Attribute | Public | Type reference (TYPE) | UKM_T_LOCKS | UKM: Table of Locks | 20050110 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | LOCK | Static method | Public | Method | UKM: Set a New Lock | 20050104 |
2 | UNLOCK | Instance method | Public | Method | UKM: Removes a Lock | 20050104 |
3 | UNLOCK_LIST | Static method | Public | Method | UKM: Removes Listed Locks | 20050104 |
Events
Class CL_UKM_LOCK has no event.
Types
Class CL_UKM_LOCK has no local type.
Method Signatures
Method LOCK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | EP_LOCK | Call by reference | Object reference (TYPE REF TO) | CL_UKM_LOCK | UKM: Sperren | 20050104 | ||
2 | Exporting | EV_LOCKING_USER | Call by reference | Attribute reference (LIKE) | SY-UNAME | Benutzername | 20060428 | ||
3 | Importing | IV_ACTIVITY | Call by reference | Type reference (TYPE) | UKM_E_ACTIVITY_CODE | UKM: Code einer Aktivität | 20050111 | ||
4 | Importing | IV_DATABASE_TABLE | Call by reference | Type reference (TYPE) | UKM_E_DATABASE_TABLE | UKM: Name einer Datenbanktabelle | 20050111 | ||
5 | Importing | IV_GUID | Call by reference | Type reference (TYPE) | UKM_E_GUID | UKM: GUID | 20050110 | ||
6 | Importing | IV_LOCK_MODE | Call by reference | Type reference (TYPE) | ENQMODE | CL_UKM_LOCK=>SC_LOCK_MODE_EXCLUSIVE | Sperrmodus | 20050110 | |
7 | Importing | IV_LOCK_OBJECT_NAME | Call by reference | Type reference (TYPE) | DDOBJNAME | Name eines ABAP Dictionary-Objekts | 20050104 | ||
8 | Importing | IV_MAIN_CONTEXT | Call by reference | Type reference (TYPE) | UKM_E_MAIN_CONTEXT_CODE | UKM: Hauptkontext des Mappings | 20050104 | ||
9 | Importing | IV_MAIN_CONTEXT_ID | Call by reference | Type reference (TYPE) | UKM_E_MAIN_CONTEXT_ID | UKM: ID des Hauptkontextes | 20050104 | ||
10 | Importing | IV_MANDT | Call by reference | Type reference (TYPE) | MANDT | Mandant | 20050112 | ||
11 | Importing | IV_SUB_CONTEXT | Call by reference | Type reference (TYPE) | UKM_E_SUB_CONTEXT_CODE | UKM: Subkontext des Mappings | 20050104 | ||
12 | Importing | IV_SUB_CONTEXT_ID | Call by reference | Type reference (TYPE) | UKM_E_SUB_CONTEXT_ID | UKM: ID des Subkontextes | 20050104 | ||
13 | Importing | IV_TRY_X_TIMES | Call by reference | Type reference (TYPE) | I | 1 | 20050111 |
Method LOCK on class CL_UKM_LOCK has no exception.
Method UNLOCK Signature
Method UNLOCK on class CL_UKM_LOCK has no parameter.
Method UNLOCK on class CL_UKM_LOCK has no exception.
Method UNLOCK_LIST Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_LOCKS | Call by reference | Type reference (TYPE) | UKM_T_LOCKS | UKM: Tabelle von Sperren | 20050104 |
Method UNLOCK_LIST on class CL_UKM_LOCK has no exception.
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 700 |