SAP DEQUEUE_E_OIUGR_MASTER Function Module for Release lock on object E_OIUGR_MASTER
DEQUEUE_E_OIUGR_MASTER is a standard dequeue e oiugr master SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Release lock on object E_OIUGR_MASTER processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for dequeue e oiugr master FM, simply by entering the name DEQUEUE_E_OIUGR_MASTER into the relevant SAP transaction such as SE37 or SE38.
Function Group: /1BCDWBEN/OEN0008
Program Name: /1BCDWBEN/SAPLOEN0008
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function DEQUEUE_E_OIUGR_MASTER pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'DEQUEUE_E_OIUGR_MASTER'"Release lock on object E_OIUGR_MASTER.
EXPORTING
* MODE_OIUGR_MASTER_HD = 'E' "Lock mode for table OIUGR_MASTER_HD
* X_PROC_ID = ' ' "Fill argument 02 with initial value?
* X_WL_NO = ' ' "Fill argument 03 with initial value?
* X_WC_NO = ' ' "Fill argument 04 with initial value?
* X_MP_NO = ' ' "Fill argument 05 with initial value?
* X_BUKRS = ' ' "Fill argument 06 with initial value?
* X_VNAME = ' ' "Fill argument 07 with initial value?
* X_DOI_NO = ' ' "Fill argument 08 with initial value?
* _SCOPE = '3' "
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* MANDT = SY-MANDT "01th enqueue argument
* PROC_ID = "02th enqueue argument
* WL_NO = "03th enqueue argument
* WC_NO = "04th enqueue argument
* MP_NO = "05th enqueue argument
* BUKRS = "06th enqueue argument
* VNAME = "07th enqueue argument
* DOI_NO = "08th enqueue argument
IMPORTING Parameters details for DEQUEUE_E_OIUGR_MASTER
MODE_OIUGR_MASTER_HD - Lock mode for table OIUGR_MASTER_HD
Data type: ENQMODEDefault: 'E'
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_PROC_ID - Fill argument 02 with initial value?
Data type: DDENQXPARDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_WL_NO - Fill argument 03 with initial value?
Data type: DDENQXPARDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_WC_NO - Fill argument 04 with initial value?
Data type: DDENQXPARDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_MP_NO - Fill argument 05 with initial value?
Data type: DDENQXPARDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_BUKRS - Fill argument 06 with initial value?
Data type: DDENQXPARDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_VNAME - Fill argument 07 with initial value?
Data type: DDENQXPARDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_DOI_NO - Fill argument 08 with initial value?
Data type: DDENQXPARDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
_SCOPE -
Data type: DDENQSCOPEDefault: '3'
Optional: Yes
Call by Reference: No ( called with pass by value option)
_SYNCHRON - Synchonous unlock
Data type: DDENQSYNCDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
_COLLECT - Initially only collect lock
Data type: DDENQCOLLDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
MANDT - 01th enqueue argument
Data type: OIUGR_MASTER_HD-MANDTDefault: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)
PROC_ID - 02th enqueue argument
Data type: OIUGR_MASTER_HD-PROC_IDOptional: Yes
Call by Reference: No ( called with pass by value option)
WL_NO - 03th enqueue argument
Data type: OIUGR_MASTER_HD-WL_NOOptional: Yes
Call by Reference: No ( called with pass by value option)
WC_NO - 04th enqueue argument
Data type: OIUGR_MASTER_HD-WC_NOOptional: Yes
Call by Reference: No ( called with pass by value option)
MP_NO - 05th enqueue argument
Data type: OIUGR_MASTER_HD-MP_NOOptional: Yes
Call by Reference: No ( called with pass by value option)
BUKRS - 06th enqueue argument
Data type: OIUGR_MASTER_HD-BUKRSOptional: Yes
Call by Reference: No ( called with pass by value option)
VNAME - 07th enqueue argument
Data type: OIUGR_MASTER_HD-VNAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
DOI_NO - 08th enqueue argument
Data type: OIUGR_MASTER_HD-DOI_NOOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for DEQUEUE_E_OIUGR_MASTER Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_mode_oiugr_master_hd | TYPE ENQMODE, " 'E' | |||
| lv_x_proc_id | TYPE DDENQXPAR, " SPACE | |||
| lv_x_wl_no | TYPE DDENQXPAR, " SPACE | |||
| lv_x_wc_no | TYPE DDENQXPAR, " SPACE | |||
| lv_x_mp_no | TYPE DDENQXPAR, " SPACE | |||
| lv_x_bukrs | TYPE DDENQXPAR, " SPACE | |||
| lv_x_vname | TYPE DDENQXPAR, " SPACE | |||
| lv_x_doi_no | TYPE DDENQXPAR, " SPACE | |||
| lv__scope | TYPE DDENQSCOPE, " '3' | |||
| lv__synchron | TYPE DDENQSYNC, " SPACE | |||
| lv__collect | TYPE DDENQCOLL, " ' ' | |||
| lv_mandt | TYPE OIUGR_MASTER_HD-MANDT, " SY-MANDT | |||
| lv_proc_id | TYPE OIUGR_MASTER_HD-PROC_ID, " | |||
| lv_wl_no | TYPE OIUGR_MASTER_HD-WL_NO, " | |||
| lv_wc_no | TYPE OIUGR_MASTER_HD-WC_NO, " | |||
| lv_mp_no | TYPE OIUGR_MASTER_HD-MP_NO, " | |||
| lv_bukrs | TYPE OIUGR_MASTER_HD-BUKRS, " | |||
| lv_vname | TYPE OIUGR_MASTER_HD-VNAME, " | |||
| lv_doi_no | TYPE OIUGR_MASTER_HD-DOI_NO. " |
|   CALL FUNCTION 'DEQUEUE_E_OIUGR_MASTER' "Release lock on object E_OIUGR_MASTER |
| EXPORTING | ||
| MODE_OIUGR_MASTER_HD | = lv_mode_oiugr_master_hd | |
| X_PROC_ID | = lv_x_proc_id | |
| X_WL_NO | = lv_x_wl_no | |
| X_WC_NO | = lv_x_wc_no | |
| X_MP_NO | = lv_x_mp_no | |
| X_BUKRS | = lv_x_bukrs | |
| X_VNAME | = lv_x_vname | |
| X_DOI_NO | = lv_x_doi_no | |
| _SCOPE | = lv__scope | |
| _SYNCHRON | = lv__synchron | |
| _COLLECT | = lv__collect | |
| MANDT | = lv_mandt | |
| PROC_ID | = lv_proc_id | |
| WL_NO | = lv_wl_no | |
| WC_NO | = lv_wc_no | |
| MP_NO | = lv_mp_no | |
| BUKRS | = lv_bukrs | |
| VNAME | = lv_vname | |
| DOI_NO | = lv_doi_no | |
| . " DEQUEUE_E_OIUGR_MASTER | ||
ABAP code using 7.40 inline data declarations to call FM DEQUEUE_E_OIUGR_MASTER
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| DATA(ld_mode_oiugr_master_hd) | = 'E'. | |||
| DATA(ld_x_proc_id) | = ' '. | |||
| DATA(ld_x_wl_no) | = ' '. | |||
| DATA(ld_x_wc_no) | = ' '. | |||
| DATA(ld_x_mp_no) | = ' '. | |||
| DATA(ld_x_bukrs) | = ' '. | |||
| DATA(ld_x_vname) | = ' '. | |||
| DATA(ld_x_doi_no) | = ' '. | |||
| DATA(ld__scope) | = '3'. | |||
| DATA(ld__synchron) | = ' '. | |||
| DATA(ld__collect) | = ' '. | |||
| "SELECT single MANDT FROM OIUGR_MASTER_HD INTO @DATA(ld_mandt). | ||||
| DATA(ld_mandt) | = SY-MANDT. | |||
| "SELECT single PROC_ID FROM OIUGR_MASTER_HD INTO @DATA(ld_proc_id). | ||||
| "SELECT single WL_NO FROM OIUGR_MASTER_HD INTO @DATA(ld_wl_no). | ||||
| "SELECT single WC_NO FROM OIUGR_MASTER_HD INTO @DATA(ld_wc_no). | ||||
| "SELECT single MP_NO FROM OIUGR_MASTER_HD INTO @DATA(ld_mp_no). | ||||
| "SELECT single BUKRS FROM OIUGR_MASTER_HD INTO @DATA(ld_bukrs). | ||||
| "SELECT single VNAME FROM OIUGR_MASTER_HD INTO @DATA(ld_vname). | ||||
| "SELECT single DOI_NO FROM OIUGR_MASTER_HD INTO @DATA(ld_doi_no). | ||||
Search for further information about these or an SAP related objects