SAP /BOBF/CL_LIB_A_LOCK OO Class - Library: Lock and Unlock
/BOBF/CL_LIB_A_LOCK is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class /BOBF/CL_LIB_A_LOCK including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Interface Implementation
This OO class is an Interface Implementation, which means it will implement its own version of the methods from implementation class /BOBF/IF_FRW_ACTIONMethod list of /BOBF/CL_LIB_A_LOCK SAP class
A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD.
Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...
| Method Name | Description | Visability |
| ASSERT_MOVE_WITHOUT_DATA_LOSS | Private | |
| CALL METHOD /bobf/cl_lib_a_lock=>ASSERT_MOVE_WITHOUT_DATA_LOSS...more details | ||
| BUILD_KEY_LINK | Build key link | Private |
| CALL METHOD /bobf/cl_lib_a_lock=>BUILD_KEY_LINK...more details | ||
| BUILD_KEY_LINKS_1_AND_2 | Private | |
| CALL METHOD /bobf/cl_lib_a_lock=>BUILD_KEY_LINKS_1_AND_2...more details | ||
| CALCULATE_ENQUEUE_PARAMETERS | Private | |
| CALL METHOD /bobf/cl_lib_a_lock=>CALCULATE_ENQUEUE_PARAMETERS...more details | ||
| CALCULATE_ENQUEUE_X_FIELDS | Private | |
| CALL METHOD /bobf/cl_lib_a_lock=>CALCULATE_ENQUEUE_X_FIELDS...more details | ||
| CALL_DEQUEUE | Private | |
| CALL METHOD /bobf/cl_lib_a_lock=>CALL_DEQUEUE...more details | ||
|
| ||
| CALL_ENQUEUE | Private | |
| CALL METHOD /bobf/cl_lib_a_lock=>CALL_ENQUEUE...more details | ||
| COLLECT_ARGUMENTS_FOR_DEQUEUE | Private | |
| CALL METHOD /bobf/cl_lib_a_lock=>COLLECT_ARGUMENTS_FOR_DEQUEUE...more details | ||
| INIT_BO | Initialize | Private |
| CALL METHOD /bobf/cl_lib_a_lock=>INIT_BO...more details | ||
| INIT_SEMANTIC_KEY | Private | |
| CALL METHOD /bobf/cl_lib_a_lock=>INIT_SEMANTIC_KEY...more details | ||
| LOCK | Lock Node | Private |
| CALL METHOD /bobf/cl_lib_a_lock=>LOCK...more details | ||
| LOCK_ONE_BY_ONE | Private | |
| CALL METHOD /bobf/cl_lib_a_lock=>LOCK_ONE_BY_ONE...more details | ||
| LOCK_PACKAGE_BY_PACKAGE | Private | |
| CALL METHOD /bobf/cl_lib_a_lock=>LOCK_PACKAGE_BY_PACKAGE...more details | ||
| LOCK_WITH_COLLECT | Private | |
| CALL METHOD /bobf/cl_lib_a_lock=>LOCK_WITH_COLLECT...more details | ||
| MESSAGE_FOREIGN_LOCK | Sets an error message for a foreign lock | Protected |
| CALL METHOD /bobf/cl_lib_a_lock=>MESSAGE_FOREIGN_LOCK...more details | ||
| MESSAGE_FOREIGN_LOCK_MASS | IMPORTANT: If used, redefine MESSAGE_FOREIGN_LOCK empty | Protected |
| CALL METHOD /bobf/cl_lib_a_lock=>MESSAGE_FOREIGN_LOCK_MASS...more details | ||
| MESSAGE_SYSTEM_FAILURE | Sets an error message for system failure | Protected |
| CALL METHOD /bobf/cl_lib_a_lock=>MESSAGE_SYSTEM_FAILURE...more details | ||
| RAISE_KEY_NOT_SUPPORTED | Private | |
| CALL METHOD /bobf/cl_lib_a_lock=>RAISE_KEY_NOT_SUPPORTED...more details | ||
| STORE_ARGUMENTS_FOR_DEQUEUE | Private | |
| CALL METHOD /bobf/cl_lib_a_lock=>STORE_ARGUMENTS_FOR_DEQUEUE...more details | ||
| TRANSLATE_EDIT_MODE_TO_ENQUEUE | Private | |
| CALL METHOD /bobf/cl_lib_a_lock=>TRANSLATE_EDIT_MODE_TO_ENQUEUE...more details | ||
| UNLOCK | Unlock Node | Private |
| CALL METHOD /bobf/cl_lib_a_lock=>UNLOCK...more details | ||
/BOBF/CL_LIB_A_LOCK attributes
List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.
| Name | Level | Description | Initial Value | Type | Visability |
| GC_ENQUEUE_RC_FOREIGN_LOCK | Constant | 1 | LIKE I | Private | |
| GC_ENQUEUE_RC_OK | Constant | 0 | LIKE I | Private | |
| GC_ENQUEUE_RC_SYSTEM_FAILURE | Constant | 2 | LIKE I | Private | |
| GC_ENQUEUE_RC_UNEXPECTED | Constant | 999 | LIKE I | Private | |
| GC_MODE_CHECK_OPTIMISTIC | Constant | Check optimistic lock validity | 'C' | LIKE ENQMODE | Private |
| GC_MODE_EXCLUSIVE | Constant | Exclusive Write Mode | 'E' | LIKE ENQMODE | Private |
| GC_MODE_OPTIMISTIC | Constant | Optimitic Write Lock | 'O' | LIKE ENQMODE | Private |
| GC_MODE_PROMOTE | Constant | Promote from 'O' to 'E' | 'R' | LIKE ENQMODE | Private |
| GC_MODE_SHARED | Constant | Shared Read Mode | 'S' | LIKE ENQMODE | Private |
| MO_CONFIGURATION | Instance Attribute | LIKE /BOBF/IF_FRW_CONFIGURATION | Private | ||
| MO_ROOT_KEY_ABSTRACTION | Instance Attribute | LIKE /BOBF/CL_FRW_ACT_ENT_KEY_ABSTR | Private | ||
| MRT_ROOT_LEGACY_KEY | Instance Attribute | LIKE DATA | Private | ||
| MR_ROOT_LEGACY_KEY | Instance Attribute | LIKE DATA | Private | ||
| MS_CTX | Instance Attribute | LIKE /BOBF/S_FRW_CTX_ACT | Private | ||
| MT_NODE | Instance Attribute | LIKE TT_NODE | Private | ||
| MV_BO_NAME | Instance Attribute | Name | LIKE /BOBF/OBM_NAME | Private | |
| MV_IS_CLIENT_DEPENDENT | Instance Attribute | ABAP_TRUE | LIKE ABAP_BOOL | Private | |
| MV_IS_SEMANTIC_KEY | Instance Attribute | LIKE ABAP_BOOL | Private | ||
| MV_LEVEL | Instance Attribute | Lock depth | LIKE INT1 | Private |
/BOBF/CL_LIB_A_LOCK types
TS_NODE -TS_PATH -
TTS_ENQUEUE_ARG_BY_KEY -
TT_FAILED_LOCK -
TT_FOREIGN_LOCK -
TT_NODE -
TT_PATH -
TY_BUFFERED_ARGUMENT_LEVEL_2 -
TY_BUFFERED_ARGUMENT_LEVEL_3 -
TY_ENQUEUE_ARGUMENT -
TY_ENQUEUE_ARG_BY_KEY -
TY_FAILED_LOCK -
TY_FOREIGN_LOCK -
Links to Related Class(s)
/BOBF/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects