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

Function DEQUEUE_ECKEKOW 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_ECKEKOW'"Release lock on object ECKEKOW.
EXPORTING
* MODE_KEKO_ENQUEUE_WERKS = 'E' "Lock mode for table KEKO_ENQUEUE_WERKS
* WERKS = "09th enqueue argument
* X_BZOBJ = ' ' "Fill argument 02 with initial value?
* X_KALNR = ' ' "Fill argument 03 with initial value?
* X_KALKA = ' ' "Fill argument 04 with initial value?
* X_KADKY = ' ' "Fill argument 05 with initial value?
* X_TVERS = ' ' "Fill argument 06 with initial value?
* X_BWVAR = ' ' "Fill argument 07 with initial value?
* X_KKZMA = ' ' "Fill argument 08 with initial value?
* X_WERKS = ' ' "Fill argument 09 with initial value?
* _SCOPE = '3' "
* MANDT = SY-MANDT "01th enqueue argument
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* BZOBJ = "02th enqueue argument
* KALNR = "03th enqueue argument
* KALKA = "04th enqueue argument
* KADKY = "05th enqueue argument
* TVERS = "06th enqueue argument
* BWVAR = "07th enqueue argument
* KKZMA = "08th enqueue argument
IMPORTING Parameters details for DEQUEUE_ECKEKOW
MODE_KEKO_ENQUEUE_WERKS - Lock mode for table KEKO_ENQUEUE_WERKS
Data type: ENQMODEDefault: 'E'
Optional: Yes
Call by Reference: No ( called with pass by value option)
WERKS - 09th enqueue argument
Data type: KEKO_ENQUEUE_WERKS-WERKSOptional: Yes
Call by Reference: No ( called with pass by value option)
X_BZOBJ - Fill argument 02 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_KALNR - Fill argument 03 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_KALKA - Fill argument 04 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_KADKY - Fill argument 05 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_TVERS - Fill argument 06 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_BWVAR - Fill argument 07 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_KKZMA - Fill argument 08 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_WERKS - Fill argument 09 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)
MANDT - 01th enqueue argument
Data type: KEKO_ENQUEUE_WERKS-MANDTDefault: SY-MANDT
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)
BZOBJ - 02th enqueue argument
Data type: KEKO_ENQUEUE_WERKS-BZOBJOptional: Yes
Call by Reference: No ( called with pass by value option)
KALNR - 03th enqueue argument
Data type: KEKO_ENQUEUE_WERKS-KALNROptional: Yes
Call by Reference: No ( called with pass by value option)
KALKA - 04th enqueue argument
Data type: KEKO_ENQUEUE_WERKS-KALKAOptional: Yes
Call by Reference: No ( called with pass by value option)
KADKY - 05th enqueue argument
Data type: KEKO_ENQUEUE_WERKS-KADKYOptional: Yes
Call by Reference: No ( called with pass by value option)
TVERS - 06th enqueue argument
Data type: KEKO_ENQUEUE_WERKS-TVERSOptional: Yes
Call by Reference: No ( called with pass by value option)
BWVAR - 07th enqueue argument
Data type: KEKO_ENQUEUE_WERKS-BWVAROptional: Yes
Call by Reference: No ( called with pass by value option)
KKZMA - 08th enqueue argument
Data type: KEKO_ENQUEUE_WERKS-KKZMAOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for DEQUEUE_ECKEKOW 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_keko_enqueue_werks | TYPE ENQMODE, " 'E' | |||
| lv_werks | TYPE KEKO_ENQUEUE_WERKS-WERKS, " | |||
| lv_x_bzobj | TYPE KEKO_ENQUEUE_WERKS, " SPACE | |||
| lv_x_kalnr | TYPE KEKO_ENQUEUE_WERKS, " SPACE | |||
| lv_x_kalka | TYPE KEKO_ENQUEUE_WERKS, " SPACE | |||
| lv_x_kadky | TYPE KEKO_ENQUEUE_WERKS, " SPACE | |||
| lv_x_tvers | TYPE KEKO_ENQUEUE_WERKS, " SPACE | |||
| lv_x_bwvar | TYPE KEKO_ENQUEUE_WERKS, " SPACE | |||
| lv_x_kkzma | TYPE KEKO_ENQUEUE_WERKS, " SPACE | |||
| lv_x_werks | TYPE KEKO_ENQUEUE_WERKS, " SPACE | |||
| lv__scope | TYPE KEKO_ENQUEUE_WERKS, " '3' | |||
| lv_mandt | TYPE KEKO_ENQUEUE_WERKS-MANDT, " SY-MANDT | |||
| lv__synchron | TYPE KEKO_ENQUEUE_WERKS, " SPACE | |||
| lv__collect | TYPE DDENQCOLL, " ' ' | |||
| lv_bzobj | TYPE KEKO_ENQUEUE_WERKS-BZOBJ, " | |||
| lv_kalnr | TYPE KEKO_ENQUEUE_WERKS-KALNR, " | |||
| lv_kalka | TYPE KEKO_ENQUEUE_WERKS-KALKA, " | |||
| lv_kadky | TYPE KEKO_ENQUEUE_WERKS-KADKY, " | |||
| lv_tvers | TYPE KEKO_ENQUEUE_WERKS-TVERS, " | |||
| lv_bwvar | TYPE KEKO_ENQUEUE_WERKS-BWVAR, " | |||
| lv_kkzma | TYPE KEKO_ENQUEUE_WERKS-KKZMA. " |
|   CALL FUNCTION 'DEQUEUE_ECKEKOW' "Release lock on object ECKEKOW |
| EXPORTING | ||
| MODE_KEKO_ENQUEUE_WERKS | = lv_mode_keko_enqueue_werks | |
| WERKS | = lv_werks | |
| X_BZOBJ | = lv_x_bzobj | |
| X_KALNR | = lv_x_kalnr | |
| X_KALKA | = lv_x_kalka | |
| X_KADKY | = lv_x_kadky | |
| X_TVERS | = lv_x_tvers | |
| X_BWVAR | = lv_x_bwvar | |
| X_KKZMA | = lv_x_kkzma | |
| X_WERKS | = lv_x_werks | |
| _SCOPE | = lv__scope | |
| MANDT | = lv_mandt | |
| _SYNCHRON | = lv__synchron | |
| _COLLECT | = lv__collect | |
| BZOBJ | = lv_bzobj | |
| KALNR | = lv_kalnr | |
| KALKA | = lv_kalka | |
| KADKY | = lv_kadky | |
| TVERS | = lv_tvers | |
| BWVAR | = lv_bwvar | |
| KKZMA | = lv_kkzma | |
| . " DEQUEUE_ECKEKOW | ||
ABAP code using 7.40 inline data declarations to call FM DEQUEUE_ECKEKOW
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_keko_enqueue_werks) | = 'E'. | |||
| "SELECT single WERKS FROM KEKO_ENQUEUE_WERKS INTO @DATA(ld_werks). | ||||
| DATA(ld_x_bzobj) | = ' '. | |||
| DATA(ld_x_kalnr) | = ' '. | |||
| DATA(ld_x_kalka) | = ' '. | |||
| DATA(ld_x_kadky) | = ' '. | |||
| DATA(ld_x_tvers) | = ' '. | |||
| DATA(ld_x_bwvar) | = ' '. | |||
| DATA(ld_x_kkzma) | = ' '. | |||
| DATA(ld_x_werks) | = ' '. | |||
| DATA(ld__scope) | = '3'. | |||
| "SELECT single MANDT FROM KEKO_ENQUEUE_WERKS INTO @DATA(ld_mandt). | ||||
| DATA(ld_mandt) | = SY-MANDT. | |||
| DATA(ld__synchron) | = ' '. | |||
| DATA(ld__collect) | = ' '. | |||
| "SELECT single BZOBJ FROM KEKO_ENQUEUE_WERKS INTO @DATA(ld_bzobj). | ||||
| "SELECT single KALNR FROM KEKO_ENQUEUE_WERKS INTO @DATA(ld_kalnr). | ||||
| "SELECT single KALKA FROM KEKO_ENQUEUE_WERKS INTO @DATA(ld_kalka). | ||||
| "SELECT single KADKY FROM KEKO_ENQUEUE_WERKS INTO @DATA(ld_kadky). | ||||
| "SELECT single TVERS FROM KEKO_ENQUEUE_WERKS INTO @DATA(ld_tvers). | ||||
| "SELECT single BWVAR FROM KEKO_ENQUEUE_WERKS INTO @DATA(ld_bwvar). | ||||
| "SELECT single KKZMA FROM KEKO_ENQUEUE_WERKS INTO @DATA(ld_kkzma). | ||||
Search for further information about these or an SAP related objects