SET_ENQUEUE SAP Method Lock own locking table
Below is documentation, parameters and attributes of ABAP Method SET_ENQUEUE within SAP class DTINF_CL_INFORMATION_SHARED. 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 DTINF_CL_INFORMATION_SHARED 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 SET_ENQUEUE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method SET_ENQUEUE
.| Name | Type | Data Type | Description | Default Value |
| IV_ILM_OBJECT | Importing | TYPE LRM_OBJECT_TYPE | ILM Object | |
| IV_INSTID | Importing | TYPE DTINF_INSTID | System installation ID | |
| IV_MODEL | Importing | TYPE BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | |
| IV_PURPOSE_ID | Importing | TYPE DTINF_PURPOSE_ID | Purpose ID | |
| IV_RESP_ID | Importing | TYPE DTINF_RESP_ID | Responsibility ID | |
| IV_RETRIES | Importing | TYPE I | ||
| IV_SESSION_GUID | Importing | TYPE DTINF_SESSION_GUID | Session GUID | |
| IV_TC_ID | Importing | TYPE DTINF_TC_ID | Table Cluster ID |
Exceptions of Method SET_ENQUEUE
LOCK_FAILURE - Lock could not be acquiredExample 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 DTINF_CL_INFORMATION_SHARED.
DATA: lv_IV_ILM_OBJECT TYPE LRM_OBJECT_TYPE,
lv_IV_INSTID TYPE DTINF_INSTID,
lv_IV_MODEL TYPE BOOLEAN,
lv_IV_PURPOSE_ID TYPE DTINF_PURPOSE_ID,
lv_IV_RESP_ID TYPE DTINF_RESP_ID,
lv_IV_RETRIES TYPE I,
lv_IV_SESSION_GUID TYPE DTINF_SESSION_GUID,
lv_IV_TC_ID TYPE DTINF_TC_ID,
lv_other TYPE c.
CALL METHOD lo_class=>SET_ENQUEUE(
EXPORTING
IV_ILM_OBJECT = lv_IV_ILM_OBJECT
IV_INSTID = lv_IV_INSTID
IV_MODEL = lv_IV_MODEL
IV_PURPOSE_ID = lv_IV_PURPOSE_ID
IV_RESP_ID = lv_IV_RESP_ID
IV_RETRIES = lv_IV_RETRIES
IV_SESSION_GUID = lv_IV_SESSION_GUID
IV_TC_ID = lv_IV_TC_ID ).
Links to Related Class(s)
DTINF_CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects