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

Function DEQUEUE_EEWA_WDOC_WAREA 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_EEWA_WDOC_WAREA'"Release lock on object EEWA_WDOC_WAREA.
EXPORTING
* MODE_EWA_WDOC_WAREA = 'E' "Lock mode for table EWA_WDOC_WAREA
* MODE_EWA_WDOC_WA_WS = 'E' "Lock mode for table EWA_WDOC_WA_WS
* MANDT = SY-MANDT "01th enqueue argument
* WORKAREA = "02th enqueue argument
* X_WORKAREA = ' ' "Fill argument 02 with initial value?
* _SCOPE = '3' "
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* MODE_EWA_WDOC_WAREAT = 'E' "Lock mode for table EWA_WDOC_WAREAT
* MODE_EWA_WDOC_WA_BP = 'E' "Lock mode for table EWA_WDOC_WA_BP
* MODE_EWA_WDOC_WA_PA = 'E' "Lock mode for table EWA_WDOC_WA_PA
* MODE_EWA_WDOC_WA_PC = 'E' "Lock mode for table EWA_WDOC_WA_PC
* MODE_EWA_WDOC_WA_RT = 'E' "Lock mode for table EWA_WDOC_WA_RT
* MODE_EWA_WDOC_WA_SL = 'E' "Lock mode for table EWA_WDOC_WA_SL
* MODE_EWA_WDOC_WA_ST = 'E' "Lock mode for table EWA_WDOC_WA_ST
* MODE_EWA_WDOC_WA_SV = 'E' "Lock mode for table EWA_WDOC_WA_SV
IMPORTING Parameters details for DEQUEUE_EEWA_WDOC_WAREA
MODE_EWA_WDOC_WAREA - Lock mode for table EWA_WDOC_WAREA
Data type: ENQMODEDefault: 'E'
Optional: Yes
Call by Reference: No ( called with pass by value option)
MODE_EWA_WDOC_WA_WS - Lock mode for table EWA_WDOC_WA_WS
Data type: ENQMODEDefault: 'E'
Optional: Yes
Call by Reference: No ( called with pass by value option)
MANDT - 01th enqueue argument
Data type: EWA_WDOC_WAREA-MANDTDefault: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)
WORKAREA - 02th enqueue argument
Data type: EWA_WDOC_WAREA-WORKAREAOptional: Yes
Call by Reference: No ( called with pass by value option)
X_WORKAREA - Fill argument 02 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)
MODE_EWA_WDOC_WAREAT - Lock mode for table EWA_WDOC_WAREAT
Data type: ENQMODEDefault: 'E'
Optional: Yes
Call by Reference: No ( called with pass by value option)
MODE_EWA_WDOC_WA_BP - Lock mode for table EWA_WDOC_WA_BP
Data type: ENQMODEDefault: 'E'
Optional: Yes
Call by Reference: No ( called with pass by value option)
MODE_EWA_WDOC_WA_PA - Lock mode for table EWA_WDOC_WA_PA
Data type: ENQMODEDefault: 'E'
Optional: Yes
Call by Reference: No ( called with pass by value option)
MODE_EWA_WDOC_WA_PC - Lock mode for table EWA_WDOC_WA_PC
Data type: ENQMODEDefault: 'E'
Optional: Yes
Call by Reference: No ( called with pass by value option)
MODE_EWA_WDOC_WA_RT - Lock mode for table EWA_WDOC_WA_RT
Data type: ENQMODEDefault: 'E'
Optional: Yes
Call by Reference: No ( called with pass by value option)
MODE_EWA_WDOC_WA_SL - Lock mode for table EWA_WDOC_WA_SL
Data type: ENQMODEDefault: 'E'
Optional: Yes
Call by Reference: No ( called with pass by value option)
MODE_EWA_WDOC_WA_ST - Lock mode for table EWA_WDOC_WA_ST
Data type: ENQMODEDefault: 'E'
Optional: Yes
Call by Reference: No ( called with pass by value option)
MODE_EWA_WDOC_WA_SV - Lock mode for table EWA_WDOC_WA_SV
Data type: ENQMODEDefault: 'E'
Optional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for DEQUEUE_EEWA_WDOC_WAREA 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_ewa_wdoc_warea | TYPE ENQMODE, " 'E' | |||
| lv_mode_ewa_wdoc_wa_ws | TYPE ENQMODE, " 'E' | |||
| lv_mandt | TYPE EWA_WDOC_WAREA-MANDT, " SY-MANDT | |||
| lv_workarea | TYPE EWA_WDOC_WAREA-WORKAREA, " | |||
| lv_x_workarea | TYPE EWA_WDOC_WAREA, " SPACE | |||
| lv__scope | TYPE EWA_WDOC_WAREA, " '3' | |||
| lv__synchron | TYPE EWA_WDOC_WAREA, " SPACE | |||
| lv__collect | TYPE DDENQCOLL, " ' ' | |||
| lv_mode_ewa_wdoc_wareat | TYPE ENQMODE, " 'E' | |||
| lv_mode_ewa_wdoc_wa_bp | TYPE ENQMODE, " 'E' | |||
| lv_mode_ewa_wdoc_wa_pa | TYPE ENQMODE, " 'E' | |||
| lv_mode_ewa_wdoc_wa_pc | TYPE ENQMODE, " 'E' | |||
| lv_mode_ewa_wdoc_wa_rt | TYPE ENQMODE, " 'E' | |||
| lv_mode_ewa_wdoc_wa_sl | TYPE ENQMODE, " 'E' | |||
| lv_mode_ewa_wdoc_wa_st | TYPE ENQMODE, " 'E' | |||
| lv_mode_ewa_wdoc_wa_sv | TYPE ENQMODE. " 'E' |
|   CALL FUNCTION 'DEQUEUE_EEWA_WDOC_WAREA' "Release lock on object EEWA_WDOC_WAREA |
| EXPORTING | ||
| MODE_EWA_WDOC_WAREA | = lv_mode_ewa_wdoc_warea | |
| MODE_EWA_WDOC_WA_WS | = lv_mode_ewa_wdoc_wa_ws | |
| MANDT | = lv_mandt | |
| WORKAREA | = lv_workarea | |
| X_WORKAREA | = lv_x_workarea | |
| _SCOPE | = lv__scope | |
| _SYNCHRON | = lv__synchron | |
| _COLLECT | = lv__collect | |
| MODE_EWA_WDOC_WAREAT | = lv_mode_ewa_wdoc_wareat | |
| MODE_EWA_WDOC_WA_BP | = lv_mode_ewa_wdoc_wa_bp | |
| MODE_EWA_WDOC_WA_PA | = lv_mode_ewa_wdoc_wa_pa | |
| MODE_EWA_WDOC_WA_PC | = lv_mode_ewa_wdoc_wa_pc | |
| MODE_EWA_WDOC_WA_RT | = lv_mode_ewa_wdoc_wa_rt | |
| MODE_EWA_WDOC_WA_SL | = lv_mode_ewa_wdoc_wa_sl | |
| MODE_EWA_WDOC_WA_ST | = lv_mode_ewa_wdoc_wa_st | |
| MODE_EWA_WDOC_WA_SV | = lv_mode_ewa_wdoc_wa_sv | |
| . " DEQUEUE_EEWA_WDOC_WAREA | ||
ABAP code using 7.40 inline data declarations to call FM DEQUEUE_EEWA_WDOC_WAREA
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_ewa_wdoc_warea) | = 'E'. | |||
| DATA(ld_mode_ewa_wdoc_wa_ws) | = 'E'. | |||
| "SELECT single MANDT FROM EWA_WDOC_WAREA INTO @DATA(ld_mandt). | ||||
| DATA(ld_mandt) | = SY-MANDT. | |||
| "SELECT single WORKAREA FROM EWA_WDOC_WAREA INTO @DATA(ld_workarea). | ||||
| DATA(ld_x_workarea) | = ' '. | |||
| DATA(ld__scope) | = '3'. | |||
| DATA(ld__synchron) | = ' '. | |||
| DATA(ld__collect) | = ' '. | |||
| DATA(ld_mode_ewa_wdoc_wareat) | = 'E'. | |||
| DATA(ld_mode_ewa_wdoc_wa_bp) | = 'E'. | |||
| DATA(ld_mode_ewa_wdoc_wa_pa) | = 'E'. | |||
| DATA(ld_mode_ewa_wdoc_wa_pc) | = 'E'. | |||
| DATA(ld_mode_ewa_wdoc_wa_rt) | = 'E'. | |||
| DATA(ld_mode_ewa_wdoc_wa_sl) | = 'E'. | |||
| DATA(ld_mode_ewa_wdoc_wa_st) | = 'E'. | |||
| DATA(ld_mode_ewa_wdoc_wa_sv) | = 'E'. | |||
Search for further information about these or an SAP related objects