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

Function DEQUEUE_ELLQUAZ 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_ELLQUAZ'"Release lock on object ELLQUAZ.
EXPORTING
* MODE_LQUAY = 'E' "Lock mode for table LQUAY
* BESTQ = "09th enqueue argument
* CHARG = "10th enqueue argument
* SOBKZ = "11th enqueue argument
* SONUM = "12th enqueue argument
* PLPOS = "13th enqueue argument
* LQNUM = "14th enqueue argument
* AUSME = "15th enqueue argument
* X_LGNUM = ' ' "Fill argument 02 with initial value?
* X_LGTYP = ' ' "Fill argument 03 with initial value?
* X_LGPLA = ' ' "Fill argument 04 with initial value?
* MANDT = SY-MANDT "01th enqueue argument
* X_LENUM = ' ' "Fill argument 05 with initial value?
* X_MATNR = ' ' "Fill argument 06 with initial value?
* X_WERKS = ' ' "Fill argument 07 with initial value?
* X_LGORT = ' ' "Fill argument 08 with initial value?
* X_BESTQ = ' ' "Fill argument 09 with initial value?
* X_CHARG = ' ' "Fill argument 10 with initial value?
* X_SOBKZ = ' ' "Fill argument 11 with initial value?
* X_SONUM = ' ' "Fill argument 12 with initial value?
* X_PLPOS = ' ' "Fill argument 13 with initial value?
* X_LQNUM = ' ' "Fill argument 14 with initial value?
* LGNUM = "02th enqueue argument
* X_AUSME = ' ' "Fill argument 15 with initial value?
* _SCOPE = '3' "
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* LGTYP = "03th enqueue argument
* LGPLA = "04th enqueue argument
* LENUM = "05th enqueue argument
* MATNR = "06th enqueue argument
* WERKS = "07th enqueue argument
* LGORT = "08th enqueue argument
IMPORTING Parameters details for DEQUEUE_ELLQUAZ
MODE_LQUAY - Lock mode for table LQUAY
Data type: DD26E-ENQMODEDefault: 'E'
Optional: Yes
Call by Reference: No ( called with pass by value option)
BESTQ - 09th enqueue argument
Data type: LQUAY-BESTQOptional: Yes
Call by Reference: No ( called with pass by value option)
CHARG - 10th enqueue argument
Data type: LQUAY-CHARGOptional: Yes
Call by Reference: No ( called with pass by value option)
SOBKZ - 11th enqueue argument
Data type: LQUAY-SOBKZOptional: Yes
Call by Reference: No ( called with pass by value option)
SONUM - 12th enqueue argument
Data type: LQUAY-SONUMOptional: Yes
Call by Reference: No ( called with pass by value option)
PLPOS - 13th enqueue argument
Data type: LQUAY-PLPOSOptional: Yes
Call by Reference: No ( called with pass by value option)
LQNUM - 14th enqueue argument
Data type: LQUAY-LQNUMOptional: Yes
Call by Reference: No ( called with pass by value option)
AUSME - 15th enqueue argument
Data type: LQUAY-AUSMEOptional: Yes
Call by Reference: No ( called with pass by value option)
X_LGNUM - Fill argument 02 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_LGTYP - Fill argument 03 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_LGPLA - Fill argument 04 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
MANDT - 01th enqueue argument
Data type: LQUAY-MANDTDefault: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_LENUM - Fill argument 05 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_MATNR - Fill argument 06 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_WERKS - Fill argument 07 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_LGORT - Fill argument 08 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_BESTQ - Fill argument 09 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_CHARG - Fill argument 10 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_SOBKZ - Fill argument 11 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_SONUM - Fill argument 12 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_PLPOS - Fill argument 13 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_LQNUM - Fill argument 14 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
LGNUM - 02th enqueue argument
Data type: LQUAY-LGNUMOptional: Yes
Call by Reference: No ( called with pass by value option)
X_AUSME - Fill argument 15 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: DDENQ_LIKE-COLLECTDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
LGTYP - 03th enqueue argument
Data type: LQUAY-LGTYPOptional: Yes
Call by Reference: No ( called with pass by value option)
LGPLA - 04th enqueue argument
Data type: LQUAY-LGPLAOptional: Yes
Call by Reference: No ( called with pass by value option)
LENUM - 05th enqueue argument
Data type: LQUAY-LENUMOptional: Yes
Call by Reference: No ( called with pass by value option)
MATNR - 06th enqueue argument
Data type: LQUAY-MATNROptional: Yes
Call by Reference: No ( called with pass by value option)
WERKS - 07th enqueue argument
Data type: LQUAY-WERKSOptional: Yes
Call by Reference: No ( called with pass by value option)
LGORT - 08th enqueue argument
Data type: LQUAY-LGORTOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for DEQUEUE_ELLQUAZ 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_lquay | TYPE DD26E-ENQMODE, " 'E' | |||
| lv_bestq | TYPE LQUAY-BESTQ, " | |||
| lv_charg | TYPE LQUAY-CHARG, " | |||
| lv_sobkz | TYPE LQUAY-SOBKZ, " | |||
| lv_sonum | TYPE LQUAY-SONUM, " | |||
| lv_plpos | TYPE LQUAY-PLPOS, " | |||
| lv_lqnum | TYPE LQUAY-LQNUM, " | |||
| lv_ausme | TYPE LQUAY-AUSME, " | |||
| lv_x_lgnum | TYPE LQUAY, " SPACE | |||
| lv_x_lgtyp | TYPE LQUAY, " SPACE | |||
| lv_x_lgpla | TYPE LQUAY, " SPACE | |||
| lv_mandt | TYPE LQUAY-MANDT, " SY-MANDT | |||
| lv_x_lenum | TYPE LQUAY, " SPACE | |||
| lv_x_matnr | TYPE LQUAY, " SPACE | |||
| lv_x_werks | TYPE LQUAY, " SPACE | |||
| lv_x_lgort | TYPE LQUAY, " SPACE | |||
| lv_x_bestq | TYPE LQUAY, " SPACE | |||
| lv_x_charg | TYPE LQUAY, " SPACE | |||
| lv_x_sobkz | TYPE LQUAY, " SPACE | |||
| lv_x_sonum | TYPE LQUAY, " SPACE | |||
| lv_x_plpos | TYPE LQUAY, " SPACE | |||
| lv_x_lqnum | TYPE LQUAY, " SPACE | |||
| lv_lgnum | TYPE LQUAY-LGNUM, " | |||
| lv_x_ausme | TYPE LQUAY, " SPACE | |||
| lv__scope | TYPE LQUAY, " '3' | |||
| lv__synchron | TYPE LQUAY, " SPACE | |||
| lv__collect | TYPE DDENQ_LIKE-COLLECT, " ' ' | |||
| lv_lgtyp | TYPE LQUAY-LGTYP, " | |||
| lv_lgpla | TYPE LQUAY-LGPLA, " | |||
| lv_lenum | TYPE LQUAY-LENUM, " | |||
| lv_matnr | TYPE LQUAY-MATNR, " | |||
| lv_werks | TYPE LQUAY-WERKS, " | |||
| lv_lgort | TYPE LQUAY-LGORT. " |
|   CALL FUNCTION 'DEQUEUE_ELLQUAZ' "Release lock on object ELLQUAZ |
| EXPORTING | ||
| MODE_LQUAY | = lv_mode_lquay | |
| BESTQ | = lv_bestq | |
| CHARG | = lv_charg | |
| SOBKZ | = lv_sobkz | |
| SONUM | = lv_sonum | |
| PLPOS | = lv_plpos | |
| LQNUM | = lv_lqnum | |
| AUSME | = lv_ausme | |
| X_LGNUM | = lv_x_lgnum | |
| X_LGTYP | = lv_x_lgtyp | |
| X_LGPLA | = lv_x_lgpla | |
| MANDT | = lv_mandt | |
| X_LENUM | = lv_x_lenum | |
| X_MATNR | = lv_x_matnr | |
| X_WERKS | = lv_x_werks | |
| X_LGORT | = lv_x_lgort | |
| X_BESTQ | = lv_x_bestq | |
| X_CHARG | = lv_x_charg | |
| X_SOBKZ | = lv_x_sobkz | |
| X_SONUM | = lv_x_sonum | |
| X_PLPOS | = lv_x_plpos | |
| X_LQNUM | = lv_x_lqnum | |
| LGNUM | = lv_lgnum | |
| X_AUSME | = lv_x_ausme | |
| _SCOPE | = lv__scope | |
| _SYNCHRON | = lv__synchron | |
| _COLLECT | = lv__collect | |
| LGTYP | = lv_lgtyp | |
| LGPLA | = lv_lgpla | |
| LENUM | = lv_lenum | |
| MATNR | = lv_matnr | |
| WERKS | = lv_werks | |
| LGORT | = lv_lgort | |
| . " DEQUEUE_ELLQUAZ | ||
ABAP code using 7.40 inline data declarations to call FM DEQUEUE_ELLQUAZ
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.| "SELECT single ENQMODE FROM DD26E INTO @DATA(ld_mode_lquay). | ||||
| DATA(ld_mode_lquay) | = 'E'. | |||
| "SELECT single BESTQ FROM LQUAY INTO @DATA(ld_bestq). | ||||
| "SELECT single CHARG FROM LQUAY INTO @DATA(ld_charg). | ||||
| "SELECT single SOBKZ FROM LQUAY INTO @DATA(ld_sobkz). | ||||
| "SELECT single SONUM FROM LQUAY INTO @DATA(ld_sonum). | ||||
| "SELECT single PLPOS FROM LQUAY INTO @DATA(ld_plpos). | ||||
| "SELECT single LQNUM FROM LQUAY INTO @DATA(ld_lqnum). | ||||
| "SELECT single AUSME FROM LQUAY INTO @DATA(ld_ausme). | ||||
| DATA(ld_x_lgnum) | = ' '. | |||
| DATA(ld_x_lgtyp) | = ' '. | |||
| DATA(ld_x_lgpla) | = ' '. | |||
| "SELECT single MANDT FROM LQUAY INTO @DATA(ld_mandt). | ||||
| DATA(ld_mandt) | = SY-MANDT. | |||
| DATA(ld_x_lenum) | = ' '. | |||
| DATA(ld_x_matnr) | = ' '. | |||
| DATA(ld_x_werks) | = ' '. | |||
| DATA(ld_x_lgort) | = ' '. | |||
| DATA(ld_x_bestq) | = ' '. | |||
| DATA(ld_x_charg) | = ' '. | |||
| DATA(ld_x_sobkz) | = ' '. | |||
| DATA(ld_x_sonum) | = ' '. | |||
| DATA(ld_x_plpos) | = ' '. | |||
| DATA(ld_x_lqnum) | = ' '. | |||
| "SELECT single LGNUM FROM LQUAY INTO @DATA(ld_lgnum). | ||||
| DATA(ld_x_ausme) | = ' '. | |||
| DATA(ld__scope) | = '3'. | |||
| DATA(ld__synchron) | = ' '. | |||
| "SELECT single COLLECT FROM DDENQ_LIKE INTO @DATA(ld__collect). | ||||
| DATA(ld__collect) | = ' '. | |||
| "SELECT single LGTYP FROM LQUAY INTO @DATA(ld_lgtyp). | ||||
| "SELECT single LGPLA FROM LQUAY INTO @DATA(ld_lgpla). | ||||
| "SELECT single LENUM FROM LQUAY INTO @DATA(ld_lenum). | ||||
| "SELECT single MATNR FROM LQUAY INTO @DATA(ld_matnr). | ||||
| "SELECT single WERKS FROM LQUAY INTO @DATA(ld_werks). | ||||
| "SELECT single LGORT FROM LQUAY INTO @DATA(ld_lgort). | ||||
Search for further information about these or an SAP related objects