SAP DEQUEUE_EN1ABWMSG Function Module for Release lock on object EN1ABWMSG









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

Function Group: /1BCDWBEN/NEN0002
Program Name: /1BCDWBEN/SAPLNEN0002
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function DEQUEUE_EN1ABWMSG 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_EN1ABWMSG'"Release lock on object EN1ABWMSG
EXPORTING
* MODE_N1ABWMSG = 'E' "Lock mode for table N1ABWMSG
* ENDDT = "09th enqueue argument
* X_EINRI = ' ' "Fill argument 02 with initial value?
* X_ERBOE = ' ' "Fill argument 03 with initial value?
* X_ANPOE = ' ' "Fill argument 04 with initial value?
* X_TARIF = ' ' "Fill argument 05 with initial value?
* X_LEIST = ' ' "Fill argument 06 with initial value?
* X_PRFTP = ' ' "Fill argument 07 with initial value?
* X_APRIE = ' ' "Fill argument 08 with initial value?
* X_ENDDT = ' ' "Fill argument 09 with initial value?
* _SCOPE = '3' "
* MANDT = SY-MANDT "01th enqueue argument
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* EINRI = "02th enqueue argument
* ERBOE = "03th enqueue argument
* ANPOE = "04th enqueue argument
* TARIF = "05th enqueue argument
* LEIST = "06th enqueue argument
* PRFTP = "07th enqueue argument
* APRIE = "08th enqueue argument
.



IMPORTING Parameters details for DEQUEUE_EN1ABWMSG

MODE_N1ABWMSG - Lock mode for table N1ABWMSG

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

ENDDT - 09th enqueue argument

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

X_EINRI - Fill argument 02 with initial value?

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

X_ERBOE - Fill argument 03 with initial value?

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

X_ANPOE - Fill argument 04 with initial value?

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

X_TARIF - Fill argument 05 with initial value?

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

X_LEIST - Fill argument 06 with initial value?

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

X_PRFTP - Fill argument 07 with initial value?

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

X_APRIE - Fill argument 08 with initial value?

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

X_ENDDT - 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: N1ABWMSG-MANDT
Default: 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: DDENQCOLL
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

EINRI - 02th enqueue argument

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

ERBOE - 03th enqueue argument

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

ANPOE - 04th enqueue argument

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

TARIF - 05th enqueue argument

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

LEIST - 06th enqueue argument

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

PRFTP - 07th enqueue argument

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

APRIE - 08th enqueue argument

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

Copy and paste ABAP code example for DEQUEUE_EN1ABWMSG 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_n1abwmsg  TYPE ENQMODE, "   'E'
lv_enddt  TYPE N1ABWMSG-ENDDT, "   
lv_x_einri  TYPE N1ABWMSG, "   SPACE
lv_x_erboe  TYPE N1ABWMSG, "   SPACE
lv_x_anpoe  TYPE N1ABWMSG, "   SPACE
lv_x_tarif  TYPE N1ABWMSG, "   SPACE
lv_x_leist  TYPE N1ABWMSG, "   SPACE
lv_x_prftp  TYPE N1ABWMSG, "   SPACE
lv_x_aprie  TYPE N1ABWMSG, "   SPACE
lv_x_enddt  TYPE N1ABWMSG, "   SPACE
lv__scope  TYPE N1ABWMSG, "   '3'
lv_mandt  TYPE N1ABWMSG-MANDT, "   SY-MANDT
lv__synchron  TYPE N1ABWMSG, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_einri  TYPE N1ABWMSG-EINRI, "   
lv_erboe  TYPE N1ABWMSG-ERBOE, "   
lv_anpoe  TYPE N1ABWMSG-ANPOE, "   
lv_tarif  TYPE N1ABWMSG-TARIF, "   
lv_leist  TYPE N1ABWMSG-LEIST, "   
lv_prftp  TYPE N1ABWMSG-PRFTP, "   
lv_aprie  TYPE N1ABWMSG-APRIE. "   

  CALL FUNCTION 'DEQUEUE_EN1ABWMSG'  "Release lock on object EN1ABWMSG
    EXPORTING
         MODE_N1ABWMSG = lv_mode_n1abwmsg
         ENDDT = lv_enddt
         X_EINRI = lv_x_einri
         X_ERBOE = lv_x_erboe
         X_ANPOE = lv_x_anpoe
         X_TARIF = lv_x_tarif
         X_LEIST = lv_x_leist
         X_PRFTP = lv_x_prftp
         X_APRIE = lv_x_aprie
         X_ENDDT = lv_x_enddt
         _SCOPE = lv__scope
         MANDT = lv_mandt
         _SYNCHRON = lv__synchron
         _COLLECT = lv__collect
         EINRI = lv_einri
         ERBOE = lv_erboe
         ANPOE = lv_anpoe
         TARIF = lv_tarif
         LEIST = lv_leist
         PRFTP = lv_prftp
         APRIE = lv_aprie
. " DEQUEUE_EN1ABWMSG




ABAP code using 7.40 inline data declarations to call FM DEQUEUE_EN1ABWMSG

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_n1abwmsg) = 'E'.
 
"SELECT single ENDDT FROM N1ABWMSG INTO @DATA(ld_enddt).
 
DATA(ld_x_einri) = ' '.
 
DATA(ld_x_erboe) = ' '.
 
DATA(ld_x_anpoe) = ' '.
 
DATA(ld_x_tarif) = ' '.
 
DATA(ld_x_leist) = ' '.
 
DATA(ld_x_prftp) = ' '.
 
DATA(ld_x_aprie) = ' '.
 
DATA(ld_x_enddt) = ' '.
 
DATA(ld__scope) = '3'.
 
"SELECT single MANDT FROM N1ABWMSG INTO @DATA(ld_mandt).
DATA(ld_mandt) = SY-MANDT.
 
DATA(ld__synchron) = ' '.
 
DATA(ld__collect) = ' '.
 
"SELECT single EINRI FROM N1ABWMSG INTO @DATA(ld_einri).
 
"SELECT single ERBOE FROM N1ABWMSG INTO @DATA(ld_erboe).
 
"SELECT single ANPOE FROM N1ABWMSG INTO @DATA(ld_anpoe).
 
"SELECT single TARIF FROM N1ABWMSG INTO @DATA(ld_tarif).
 
"SELECT single LEIST FROM N1ABWMSG INTO @DATA(ld_leist).
 
"SELECT single PRFTP FROM N1ABWMSG INTO @DATA(ld_prftp).
 
"SELECT single APRIE FROM N1ABWMSG INTO @DATA(ld_aprie).
 


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!