_LOCK SAP Method of class /BOBF/CL_FRW_LOCK_MANAGER
Below is documentation, parameters and attributes of ABAP Method _LOCK within SAP class /BOBF/CL_FRW_LOCK_MANAGER. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /BOBF/CL_FRW_LOCK_MANAGER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method _LOCK can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method _LOCK
.| Name | Type | Data Type | Description | Default Value |
| IO_CHANGE | Importing | TYPE REF TO /BOBF/IF_FRW_CHANGE | ||
| IO_LOCK_PARAM_BUFFER | Importing | TYPE REF TO /BOBF/CL_FRW_LOCK_PARAM_BUFFER | ||
| IT_NODE | Importing | TYPE /BOBF/T_FRW_NODE | ||
| IT_NODE_LINK | Importing | TYPE /BOBF/T_FRW_NODE_KEY_LINK | ||
| IV_ALL_NONE | Importing | TYPE BOOLE_D | ||
| IV_CHECK_ONLY | Importing | TYPE BOOLE_D | ||
| IV_EDIT_MODE | Importing | TYPE /BOBF/CONF_EDIT_MODE | ||
| IV_GENERIC | Importing | TYPE BOOLE_D | ||
| IV_SCOPE | Importing | TYPE /BOBF/CONF_ENQUEUE_SCOPE | ||
| IT_NODE_LOCKED_FOR_DELETE | Importing | TYPE /BOBF/T_FRW_NODE | ||
| ET_LOCKABLE_NODE_NEWLY_LOCKED | Exporting | TYPE /BOBF/T_FRW_NODE | ||
| ET_LOCK_BUFFER_MODIFICATIONS | Exporting | TYPE /BOBF/T_FRW_MODIFICATION | ||
| ET_NODE_NOT_LOCKED | Exporting | TYPE /BOBF/T_FRW_NODE | ||
| CO_MESSAGE | Changing | TYPE REF TO /BOBF/IF_FRW_MESSAGE | ||
| CT_MOD | Changing | TYPE /BOBF/T_FRW_MODIFICATION |
Exceptions of Method _LOCK
This method does not have any exceptionsExample ABAP coding
This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.DATA: lo_class TYPE REF TO /BOBF/CL_FRW_LOCK_MANAGER.
DATA: lv_CO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_CT_MOD TYPE /BOBF/T_FRW_MODIFICATION,
lv_ET_LOCKABLE_NODE_NEWLY_LOCKED TYPE /BOBF/T_FRW_NODE,
lv_ET_LOCK_BUFFER_MODIFICATIONS TYPE /BOBF/T_FRW_MODIFICATION,
lv_ET_NODE_NOT_LOCKED TYPE /BOBF/T_FRW_NODE,
lv_IO_CHANGE TYPE /BOBF/IF_FRW_CHANGE,
lv_IO_LOCK_PARAM_BUFFER TYPE /BOBF/CL_FRW_LOCK_PARAM_BUFFER,
lv_IT_NODE TYPE /BOBF/T_FRW_NODE,
lv_IT_NODE_LINK TYPE /BOBF/T_FRW_NODE_KEY_LINK,
lv_IV_ALL_NONE TYPE BOOLE_D,
lv_IV_CHECK_ONLY TYPE BOOLE_D,
lv_IV_EDIT_MODE TYPE /BOBF/CONF_EDIT_MODE,
lv_IV_GENERIC TYPE BOOLE_D,
lv_IV_SCOPE TYPE /BOBF/CONF_ENQUEUE_SCOPE,
lv_IT_NODE_LOCKED_FOR_DELETE TYPE /BOBF/T_FRW_NODE,
lv_other TYPE c.
CALL METHOD lo_class=>_LOCK(
EXPORTING
IO_CHANGE = lv_IO_CHANGE
IO_LOCK_PARAM_BUFFER = lv_IO_LOCK_PARAM_BUFFER
IT_NODE = lv_IT_NODE
IT_NODE_LINK = lv_IT_NODE_LINK
IV_ALL_NONE = lv_IV_ALL_NONE
IV_CHECK_ONLY = lv_IV_CHECK_ONLY
IV_EDIT_MODE = lv_IV_EDIT_MODE
IV_GENERIC = lv_IV_GENERIC
IV_SCOPE = lv_IV_SCOPE
IT_NODE_LOCKED_FOR_DELETE = lv_IT_NODE_LOCKED_FOR_DELETE
IMPORTING
ET_LOCKABLE_NODE_NEWLY_LOCKED = lv_ET_LOCKABLE_NODE_NEWLY_LOCKED
ET_LOCK_BUFFER_MODIFICATIONS = lv_ET_LOCK_BUFFER_MODIFICATIONS
ET_NODE_NOT_LOCKED = lv_ET_NODE_NOT_LOCKED
CHANGING
CO_MESSAGE = lv_CO_MESSAGE
CT_MOD = lv_CT_MOD ).
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