SAP DEQUEUE_EMILL_PBWU Function Module for Release lock on object EMILL_PBWU









DEQUEUE_EMILL_PBWU is a standard dequeue emill pbwu 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 EMILL_PBWU 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 emill pbwu FM, simply by entering the name DEQUEUE_EMILL_PBWU into the relevant SAP transaction such as SE37 or SE38.

Function Group: /1BCDWBEN/MEN0000
Program Name: /1BCDWBEN/SAPLMEN0000
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function DEQUEUE_EMILL_PBWU 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_EMILL_PBWU'"Release lock on object EMILL_PBWU
EXPORTING
* MODE_MILL_PBWU = 'E' "Lock mode for table MILL_PBWU
* MATNR_PRE = "09th enqueue argument
* CHARG_PRE = "10th enqueue argument
* PCLVL_PRE = "11th enqueue argument
* X_AUFNR = ' ' "Fill argument 02 with initial value?
* X_POSNR = ' ' "Fill argument 03 with initial value?
* X_MATNR = ' ' "Fill argument 04 with initial value?
* X_CHARG = ' ' "Fill argument 05 with initial value?
* X_PCLVL = ' ' "Fill argument 06 with initial value?
* X_AUFNR_PRE = ' ' "Fill argument 07 with initial value?
* X_POSNR_PRE = ' ' "Fill argument 08 with initial value?
* MANDT = SY-MANDT "01th enqueue argument
* X_MATNR_PRE = ' ' "Fill argument 09 with initial value?
* X_CHARG_PRE = ' ' "Fill argument 10 with initial value?
* X_PCLVL_PRE = ' ' "Fill argument 11 with initial value?
* _SCOPE = '3' "
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* AUFNR = "02th enqueue argument
* POSNR = "03th enqueue argument
* MATNR = "04th enqueue argument
* CHARG = "05th enqueue argument
* PCLVL = "06th enqueue argument
* AUFNR_PRE = "07th enqueue argument
* POSNR_PRE = "08th enqueue argument
.



IMPORTING Parameters details for DEQUEUE_EMILL_PBWU

MODE_MILL_PBWU - Lock mode for table MILL_PBWU

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

MATNR_PRE - 09th enqueue argument

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

CHARG_PRE - 10th enqueue argument

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

PCLVL_PRE - 11th enqueue argument

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

X_AUFNR - Fill argument 02 with initial value?

Data type: DDENQXPAR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_POSNR - Fill argument 03 with initial value?

Data type: DDENQXPAR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_MATNR - Fill argument 04 with initial value?

Data type: DDENQXPAR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_CHARG - Fill argument 05 with initial value?

Data type: DDENQXPAR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_PCLVL - Fill argument 06 with initial value?

Data type: DDENQXPAR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_AUFNR_PRE - Fill argument 07 with initial value?

Data type: DDENQXPAR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_POSNR_PRE - Fill argument 08 with initial value?

Data type: DDENQXPAR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

MANDT - 01th enqueue argument

Data type: MILL_PBWU-MANDT
Default: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_MATNR_PRE - Fill argument 09 with initial value?

Data type: DDENQXPAR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_CHARG_PRE - Fill argument 10 with initial value?

Data type: DDENQXPAR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_PCLVL_PRE - Fill argument 11 with initial value?

Data type: DDENQXPAR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

_SCOPE -

Data type: DDENQSCOPE
Default: '3'
Optional: Yes
Call by Reference: No ( called with pass by value option)

_SYNCHRON - Synchonous unlock

Data type: DDENQSYNC
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

_COLLECT - Initially only collect lock

Data type: DDENQCOLL
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

AUFNR - 02th enqueue argument

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

POSNR - 03th enqueue argument

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

MATNR - 04th enqueue argument

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

CHARG - 05th enqueue argument

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

PCLVL - 06th enqueue argument

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

AUFNR_PRE - 07th enqueue argument

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

POSNR_PRE - 08th enqueue argument

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

Copy and paste ABAP code example for DEQUEUE_EMILL_PBWU 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_mill_pbwu  TYPE ENQMODE, "   'E'
lv_matnr_pre  TYPE MILL_PBWU-MATNR_PRE, "   
lv_charg_pre  TYPE MILL_PBWU-CHARG_PRE, "   
lv_pclvl_pre  TYPE MILL_PBWU-PCLVL_PRE, "   
lv_x_aufnr  TYPE DDENQXPAR, "   SPACE
lv_x_posnr  TYPE DDENQXPAR, "   SPACE
lv_x_matnr  TYPE DDENQXPAR, "   SPACE
lv_x_charg  TYPE DDENQXPAR, "   SPACE
lv_x_pclvl  TYPE DDENQXPAR, "   SPACE
lv_x_aufnr_pre  TYPE DDENQXPAR, "   SPACE
lv_x_posnr_pre  TYPE DDENQXPAR, "   SPACE
lv_mandt  TYPE MILL_PBWU-MANDT, "   SY-MANDT
lv_x_matnr_pre  TYPE DDENQXPAR, "   SPACE
lv_x_charg_pre  TYPE DDENQXPAR, "   SPACE
lv_x_pclvl_pre  TYPE DDENQXPAR, "   SPACE
lv__scope  TYPE DDENQSCOPE, "   '3'
lv__synchron  TYPE DDENQSYNC, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_aufnr  TYPE MILL_PBWU-AUFNR, "   
lv_posnr  TYPE MILL_PBWU-POSNR, "   
lv_matnr  TYPE MILL_PBWU-MATNR, "   
lv_charg  TYPE MILL_PBWU-CHARG, "   
lv_pclvl  TYPE MILL_PBWU-PCLVL, "   
lv_aufnr_pre  TYPE MILL_PBWU-AUFNR_PRE, "   
lv_posnr_pre  TYPE MILL_PBWU-POSNR_PRE. "   

  CALL FUNCTION 'DEQUEUE_EMILL_PBWU'  "Release lock on object EMILL_PBWU
    EXPORTING
         MODE_MILL_PBWU = lv_mode_mill_pbwu
         MATNR_PRE = lv_matnr_pre
         CHARG_PRE = lv_charg_pre
         PCLVL_PRE = lv_pclvl_pre
         X_AUFNR = lv_x_aufnr
         X_POSNR = lv_x_posnr
         X_MATNR = lv_x_matnr
         X_CHARG = lv_x_charg
         X_PCLVL = lv_x_pclvl
         X_AUFNR_PRE = lv_x_aufnr_pre
         X_POSNR_PRE = lv_x_posnr_pre
         MANDT = lv_mandt
         X_MATNR_PRE = lv_x_matnr_pre
         X_CHARG_PRE = lv_x_charg_pre
         X_PCLVL_PRE = lv_x_pclvl_pre
         _SCOPE = lv__scope
         _SYNCHRON = lv__synchron
         _COLLECT = lv__collect
         AUFNR = lv_aufnr
         POSNR = lv_posnr
         MATNR = lv_matnr
         CHARG = lv_charg
         PCLVL = lv_pclvl
         AUFNR_PRE = lv_aufnr_pre
         POSNR_PRE = lv_posnr_pre
. " DEQUEUE_EMILL_PBWU




ABAP code using 7.40 inline data declarations to call FM DEQUEUE_EMILL_PBWU

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_mill_pbwu) = 'E'.
 
"SELECT single MATNR_PRE FROM MILL_PBWU INTO @DATA(ld_matnr_pre).
 
"SELECT single CHARG_PRE FROM MILL_PBWU INTO @DATA(ld_charg_pre).
 
"SELECT single PCLVL_PRE FROM MILL_PBWU INTO @DATA(ld_pclvl_pre).
 
DATA(ld_x_aufnr) = ' '.
 
DATA(ld_x_posnr) = ' '.
 
DATA(ld_x_matnr) = ' '.
 
DATA(ld_x_charg) = ' '.
 
DATA(ld_x_pclvl) = ' '.
 
DATA(ld_x_aufnr_pre) = ' '.
 
DATA(ld_x_posnr_pre) = ' '.
 
"SELECT single MANDT FROM MILL_PBWU INTO @DATA(ld_mandt).
DATA(ld_mandt) = SY-MANDT.
 
DATA(ld_x_matnr_pre) = ' '.
 
DATA(ld_x_charg_pre) = ' '.
 
DATA(ld_x_pclvl_pre) = ' '.
 
DATA(ld__scope) = '3'.
 
DATA(ld__synchron) = ' '.
 
DATA(ld__collect) = ' '.
 
"SELECT single AUFNR FROM MILL_PBWU INTO @DATA(ld_aufnr).
 
"SELECT single POSNR FROM MILL_PBWU INTO @DATA(ld_posnr).
 
"SELECT single MATNR FROM MILL_PBWU INTO @DATA(ld_matnr).
 
"SELECT single CHARG FROM MILL_PBWU INTO @DATA(ld_charg).
 
"SELECT single PCLVL FROM MILL_PBWU INTO @DATA(ld_pclvl).
 
"SELECT single AUFNR_PRE FROM MILL_PBWU INTO @DATA(ld_aufnr_pre).
 
"SELECT single POSNR_PRE FROM MILL_PBWU INTO @DATA(ld_posnr_pre).
 


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!