SAP DEQUEUE_ELLQUAY Function Module for Release lock on object ELLQUAY









DEQUEUE_ELLQUAY is a standard dequeue ellquay 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 ELLQUAY 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 ellquay FM, simply by entering the name DEQUEUE_ELLQUAY 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_ELLQUAY 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_ELLQUAY'"Release lock on object ELLQUAY
EXPORTING
* MODE_LQUAY = 'S' "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_ELLQUAY

MODE_LQUAY - Lock mode for table LQUAY

Data type: DD26E-ENQMODE
Default: 'S'
Optional: Yes
Call by Reference: No ( called with pass by value option)

BESTQ - 09th enqueue argument

Data type: LQUAY-BESTQ
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHARG - 10th enqueue argument

Data type: LQUAY-CHARG
Optional: Yes
Call by Reference: No ( called with pass by value option)

SOBKZ - 11th enqueue argument

Data type: LQUAY-SOBKZ
Optional: Yes
Call by Reference: No ( called with pass by value option)

SONUM - 12th enqueue argument

Data type: LQUAY-SONUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

PLPOS - 13th enqueue argument

Data type: LQUAY-PLPOS
Optional: Yes
Call by Reference: No ( called with pass by value option)

LQNUM - 14th enqueue argument

Data type: LQUAY-LQNUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

AUSME - 15th enqueue argument

Data type: LQUAY-AUSME
Optional: 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-MANDT
Default: 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-LGNUM
Optional: 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-COLLECT
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

LGTYP - 03th enqueue argument

Data type: LQUAY-LGTYP
Optional: Yes
Call by Reference: No ( called with pass by value option)

LGPLA - 04th enqueue argument

Data type: LQUAY-LGPLA
Optional: Yes
Call by Reference: No ( called with pass by value option)

LENUM - 05th enqueue argument

Data type: LQUAY-LENUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

MATNR - 06th enqueue argument

Data type: LQUAY-MATNR
Optional: Yes
Call by Reference: No ( called with pass by value option)

WERKS - 07th enqueue argument

Data type: LQUAY-WERKS
Optional: Yes
Call by Reference: No ( called with pass by value option)

LGORT - 08th enqueue argument

Data type: LQUAY-LGORT
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for DEQUEUE_ELLQUAY 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, "   'S'
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_ELLQUAY'  "Release lock on object ELLQUAY
    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_ELLQUAY




ABAP code using 7.40 inline data declarations to call FM DEQUEUE_ELLQUAY

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) = 'S'.
 
"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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!