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_ACTION

Method 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 NameDescriptionVisability
ASSERT_MOVE_WITHOUT_DATA_LOSSPrivate
CALL METHOD /bobf/cl_lib_a_lock=>ASSERT_MOVE_WITHOUT_DATA_LOSS...more details

BUILD_KEY_LINKBuild key linkPrivate
CALL METHOD /bobf/cl_lib_a_lock=>BUILD_KEY_LINK...more details

BUILD_KEY_LINKS_1_AND_2Private
CALL METHOD /bobf/cl_lib_a_lock=>BUILD_KEY_LINKS_1_AND_2...more details

CALCULATE_ENQUEUE_PARAMETERSPrivate
CALL METHOD /bobf/cl_lib_a_lock=>CALCULATE_ENQUEUE_PARAMETERS...more details

CALCULATE_ENQUEUE_X_FIELDSPrivate
CALL METHOD /bobf/cl_lib_a_lock=>CALCULATE_ENQUEUE_X_FIELDS...more details

CALL_DEQUEUEPrivate
CALL METHOD /bobf/cl_lib_a_lock=>CALL_DEQUEUE...more details

CALL_ENQUEUEPrivate
CALL METHOD /bobf/cl_lib_a_lock=>CALL_ENQUEUE...more details

COLLECT_ARGUMENTS_FOR_DEQUEUEPrivate
CALL METHOD /bobf/cl_lib_a_lock=>COLLECT_ARGUMENTS_FOR_DEQUEUE...more details

INIT_BOInitializePrivate
CALL METHOD /bobf/cl_lib_a_lock=>INIT_BO...more details

INIT_SEMANTIC_KEYPrivate
CALL METHOD /bobf/cl_lib_a_lock=>INIT_SEMANTIC_KEY...more details

LOCKLock NodePrivate
CALL METHOD /bobf/cl_lib_a_lock=>LOCK...more details

LOCK_ONE_BY_ONEPrivate
CALL METHOD /bobf/cl_lib_a_lock=>LOCK_ONE_BY_ONE...more details

LOCK_PACKAGE_BY_PACKAGEPrivate
CALL METHOD /bobf/cl_lib_a_lock=>LOCK_PACKAGE_BY_PACKAGE...more details

LOCK_WITH_COLLECTPrivate
CALL METHOD /bobf/cl_lib_a_lock=>LOCK_WITH_COLLECT...more details

MESSAGE_FOREIGN_LOCKSets an error message for a foreign lockProtected
CALL METHOD /bobf/cl_lib_a_lock=>MESSAGE_FOREIGN_LOCK...more details

MESSAGE_FOREIGN_LOCK_MASSIMPORTANT: If used, redefine MESSAGE_FOREIGN_LOCK emptyProtected
CALL METHOD /bobf/cl_lib_a_lock=>MESSAGE_FOREIGN_LOCK_MASS...more details

MESSAGE_SYSTEM_FAILURESets an error message for system failureProtected
CALL METHOD /bobf/cl_lib_a_lock=>MESSAGE_SYSTEM_FAILURE...more details

RAISE_KEY_NOT_SUPPORTEDPrivate
CALL METHOD /bobf/cl_lib_a_lock=>RAISE_KEY_NOT_SUPPORTED...more details

STORE_ARGUMENTS_FOR_DEQUEUEPrivate
CALL METHOD /bobf/cl_lib_a_lock=>STORE_ARGUMENTS_FOR_DEQUEUE...more details

TRANSLATE_EDIT_MODE_TO_ENQUEUEPrivate
CALL METHOD /bobf/cl_lib_a_lock=>TRANSLATE_EDIT_MODE_TO_ENQUEUE...more details

UNLOCKUnlock NodePrivate
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.

NameLevelDescriptionInitial ValueTypeVisability
GC_ENQUEUE_RC_FOREIGN_LOCKConstant1LIKE
I
Private
GC_ENQUEUE_RC_OKConstant0LIKE
I
Private
GC_ENQUEUE_RC_SYSTEM_FAILUREConstant2LIKE
I
Private
GC_ENQUEUE_RC_UNEXPECTEDConstant999LIKE
I
Private
GC_MODE_CHECK_OPTIMISTICConstantCheck optimistic lock validity'C'LIKE
ENQMODE
Private
GC_MODE_EXCLUSIVEConstantExclusive Write Mode'E'LIKE
ENQMODE
Private
GC_MODE_OPTIMISTICConstantOptimitic Write Lock'O'LIKE
ENQMODE
Private
GC_MODE_PROMOTEConstantPromote from 'O' to 'E''R'LIKE
ENQMODE
Private
GC_MODE_SHAREDConstantShared Read Mode'S'LIKE
ENQMODE
Private
MO_CONFIGURATIONInstance AttributeLIKE
/BOBF/IF_FRW_CONFIGURATION
Private
MO_ROOT_KEY_ABSTRACTIONInstance AttributeLIKE
/BOBF/CL_FRW_ACT_ENT_KEY_ABSTR
Private
MRT_ROOT_LEGACY_KEYInstance AttributeLIKE
DATA
Private
MR_ROOT_LEGACY_KEYInstance AttributeLIKE
DATA
Private
MS_CTXInstance AttributeLIKE
/BOBF/S_FRW_CTX_ACT
Private
MT_NODEInstance AttributeLIKE
TT_NODE
Private
MV_BO_NAMEInstance AttributeNameLIKE
/BOBF/OBM_NAME
Private
MV_IS_CLIENT_DEPENDENTInstance AttributeABAP_TRUELIKE
ABAP_BOOL
Private
MV_IS_SEMANTIC_KEYInstance AttributeLIKE
ABAP_BOOL
Private
MV_LEVELInstance AttributeLock depthLIKE
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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!