SAP DEQUEUE_EEM07WP Function Module for Release lock on object EEM07WP
DEQUEUE_EEM07WP is a standard dequeue eem07wp 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 EEM07WP 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 eem07wp FM, simply by entering the name DEQUEUE_EEM07WP into the relevant SAP transaction such as SE37 or SE38.
Function Group: /1BCDWBEN/MEN0003
Program Name: /1BCDWBEN/SAPLMEN0003
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function DEQUEUE_EEM07WP 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_EEM07WP'"Release lock on object EEM07WP.
EXPORTING
* MODE_EM07WP = 'S' "Lock mode for table EM07WP
* X_BWKEY = ' ' "Fill argument 02 with initial value?
* X_BWTAR = ' ' "Fill argument 03 with initial value?
* X_SOBKZ = ' ' "Fill argument 04 with initial value?
* X_SKONT = ' ' "Fill argument 05 with initial value?
* X_CURTP = ' ' "Fill argument 06 with initial value?
* X_XRUEM = ' ' "Fill argument 07 with initial value?
* _SCOPE = '3' "
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* MATNR = "01th enqueue argument
* BWKEY = "02th enqueue argument
* BWTAR = "03th enqueue argument
* SOBKZ = "04th enqueue argument
* SKONT = "05th enqueue argument
* CURTP = "06th enqueue argument
* XRUEM = "07th enqueue argument
* X_MATNR = ' ' "Fill argument 01 with initial value?
IMPORTING Parameters details for DEQUEUE_EEM07WP
MODE_EM07WP - Lock mode for table EM07WP
Data type: ENQMODEDefault: 'S'
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_BWKEY - Fill argument 02 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_BWTAR - Fill argument 03 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_SOBKZ - Fill argument 04 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_SKONT - Fill argument 05 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_CURTP - Fill argument 06 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_XRUEM - Fill argument 07 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
_SCOPE -
Data type:Default: '3'
Optional: Yes
Call by Reference: No ( called with pass by value option)
_SYNCHRON - Synchonous unlock
Data type:Default: 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)
MATNR - 01th enqueue argument
Data type: EM07WP-MATNROptional: Yes
Call by Reference: No ( called with pass by value option)
BWKEY - 02th enqueue argument
Data type: EM07WP-BWKEYOptional: Yes
Call by Reference: No ( called with pass by value option)
BWTAR - 03th enqueue argument
Data type: EM07WP-BWTAROptional: Yes
Call by Reference: No ( called with pass by value option)
SOBKZ - 04th enqueue argument
Data type: EM07WP-SOBKZOptional: Yes
Call by Reference: No ( called with pass by value option)
SKONT - 05th enqueue argument
Data type: EM07WP-SKONTOptional: Yes
Call by Reference: No ( called with pass by value option)
CURTP - 06th enqueue argument
Data type: EM07WP-CURTPOptional: Yes
Call by Reference: No ( called with pass by value option)
XRUEM - 07th enqueue argument
Data type: EM07WP-XRUEMOptional: Yes
Call by Reference: No ( called with pass by value option)
X_MATNR - Fill argument 01 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for DEQUEUE_EEM07WP 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_em07wp | TYPE ENQMODE, " 'S' | |||
| lv_x_bwkey | TYPE ENQMODE, " SPACE | |||
| lv_x_bwtar | TYPE ENQMODE, " SPACE | |||
| lv_x_sobkz | TYPE ENQMODE, " SPACE | |||
| lv_x_skont | TYPE ENQMODE, " SPACE | |||
| lv_x_curtp | TYPE ENQMODE, " SPACE | |||
| lv_x_xruem | TYPE ENQMODE, " SPACE | |||
| lv__scope | TYPE ENQMODE, " '3' | |||
| lv__synchron | TYPE ENQMODE, " SPACE | |||
| lv__collect | TYPE DDENQCOLL, " ' ' | |||
| lv_matnr | TYPE EM07WP-MATNR, " | |||
| lv_bwkey | TYPE EM07WP-BWKEY, " | |||
| lv_bwtar | TYPE EM07WP-BWTAR, " | |||
| lv_sobkz | TYPE EM07WP-SOBKZ, " | |||
| lv_skont | TYPE EM07WP-SKONT, " | |||
| lv_curtp | TYPE EM07WP-CURTP, " | |||
| lv_xruem | TYPE EM07WP-XRUEM, " | |||
| lv_x_matnr | TYPE EM07WP. " SPACE |
|   CALL FUNCTION 'DEQUEUE_EEM07WP' "Release lock on object EEM07WP |
| EXPORTING | ||
| MODE_EM07WP | = lv_mode_em07wp | |
| X_BWKEY | = lv_x_bwkey | |
| X_BWTAR | = lv_x_bwtar | |
| X_SOBKZ | = lv_x_sobkz | |
| X_SKONT | = lv_x_skont | |
| X_CURTP | = lv_x_curtp | |
| X_XRUEM | = lv_x_xruem | |
| _SCOPE | = lv__scope | |
| _SYNCHRON | = lv__synchron | |
| _COLLECT | = lv__collect | |
| MATNR | = lv_matnr | |
| BWKEY | = lv_bwkey | |
| BWTAR | = lv_bwtar | |
| SOBKZ | = lv_sobkz | |
| SKONT | = lv_skont | |
| CURTP | = lv_curtp | |
| XRUEM | = lv_xruem | |
| X_MATNR | = lv_x_matnr | |
| . " DEQUEUE_EEM07WP | ||
ABAP code using 7.40 inline data declarations to call FM DEQUEUE_EEM07WP
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_em07wp) | = 'S'. | |||
| DATA(ld_x_bwkey) | = ' '. | |||
| DATA(ld_x_bwtar) | = ' '. | |||
| DATA(ld_x_sobkz) | = ' '. | |||
| DATA(ld_x_skont) | = ' '. | |||
| DATA(ld_x_curtp) | = ' '. | |||
| DATA(ld_x_xruem) | = ' '. | |||
| DATA(ld__scope) | = '3'. | |||
| DATA(ld__synchron) | = ' '. | |||
| DATA(ld__collect) | = ' '. | |||
| "SELECT single MATNR FROM EM07WP INTO @DATA(ld_matnr). | ||||
| "SELECT single BWKEY FROM EM07WP INTO @DATA(ld_bwkey). | ||||
| "SELECT single BWTAR FROM EM07WP INTO @DATA(ld_bwtar). | ||||
| "SELECT single SOBKZ FROM EM07WP INTO @DATA(ld_sobkz). | ||||
| "SELECT single SKONT FROM EM07WP INTO @DATA(ld_skont). | ||||
| "SELECT single CURTP FROM EM07WP INTO @DATA(ld_curtp). | ||||
| "SELECT single XRUEM FROM EM07WP INTO @DATA(ld_xruem). | ||||
| DATA(ld_x_matnr) | = ' '. | |||
Search for further information about these or an SAP related objects