SAP DEQUEUE_EFIVIMI16 Function Module for Release lock on object EFIVIMI16









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

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



Function DEQUEUE_EFIVIMI16 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_EFIVIMI16'"Release lock on object EFIVIMI16
EXPORTING
* MODE_VIMI16 = 'E' "Lock mode for table VIMI16
* SANPNR = "09th enqueue argument
* XIDENT = "10th enqueue argument
* X_BUKRS = ' ' "Fill argument 02 with initial value?
* X_SMIVE = ' ' "Fill argument 03 with initial value?
* X_SWENR = ' ' "Fill argument 04 with initial value?
* X_SMENR = ' ' "Fill argument 05 with initial value?
* X_SKOART = ' ' "Fill argument 06 with initial value?
* X_DGUELAB = ' ' "Fill argument 07 with initial value?
* X_DANPASS = ' ' "Fill argument 08 with initial value?
* X_SANPNR = ' ' "Fill argument 09 with initial value?
* MANDT = SY-MANDT "01th enqueue argument
* X_XIDENT = ' ' "Fill argument 10 with initial value?
* _SCOPE = '3' "
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* BUKRS = "02th enqueue argument
* SMIVE = "03th enqueue argument
* SWENR = "04th enqueue argument
* SMENR = "05th enqueue argument
* SKOART = "06th enqueue argument
* DGUELAB = "07th enqueue argument
* DANPASS = "08th enqueue argument
.



IMPORTING Parameters details for DEQUEUE_EFIVIMI16

MODE_VIMI16 - Lock mode for table VIMI16

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

SANPNR - 09th enqueue argument

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

XIDENT - 10th enqueue argument

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

X_BUKRS - Fill argument 02 with initial value?

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

X_SMIVE - Fill argument 03 with initial value?

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

X_SWENR - Fill argument 04 with initial value?

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

X_SMENR - Fill argument 05 with initial value?

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

X_SKOART - Fill argument 06 with initial value?

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

X_DGUELAB - Fill argument 07 with initial value?

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

X_DANPASS - Fill argument 08 with initial value?

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

X_SANPNR - Fill argument 09 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: VIMI16-MANDT
Default: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_XIDENT - Fill argument 10 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: DDENQCOLL
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

BUKRS - 02th enqueue argument

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

SMIVE - 03th enqueue argument

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

SWENR - 04th enqueue argument

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

SMENR - 05th enqueue argument

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

SKOART - 06th enqueue argument

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

DGUELAB - 07th enqueue argument

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

DANPASS - 08th enqueue argument

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

Copy and paste ABAP code example for DEQUEUE_EFIVIMI16 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_vimi16  TYPE ENQMODE, "   'E'
lv_sanpnr  TYPE VIMI16-SANPNR, "   
lv_xident  TYPE VIMI16-XIDENT, "   
lv_x_bukrs  TYPE VIMI16, "   SPACE
lv_x_smive  TYPE VIMI16, "   SPACE
lv_x_swenr  TYPE VIMI16, "   SPACE
lv_x_smenr  TYPE VIMI16, "   SPACE
lv_x_skoart  TYPE VIMI16, "   SPACE
lv_x_dguelab  TYPE VIMI16, "   SPACE
lv_x_danpass  TYPE VIMI16, "   SPACE
lv_x_sanpnr  TYPE VIMI16, "   SPACE
lv_mandt  TYPE VIMI16-MANDT, "   SY-MANDT
lv_x_xident  TYPE VIMI16, "   SPACE
lv__scope  TYPE VIMI16, "   '3'
lv__synchron  TYPE VIMI16, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_bukrs  TYPE VIMI16-BUKRS, "   
lv_smive  TYPE VIMI16-SMIVE, "   
lv_swenr  TYPE VIMI16-SWENR, "   
lv_smenr  TYPE VIMI16-SMENR, "   
lv_skoart  TYPE VIMI16-SKOART, "   
lv_dguelab  TYPE VIMI16-DGUELAB, "   
lv_danpass  TYPE VIMI16-DANPASS. "   

  CALL FUNCTION 'DEQUEUE_EFIVIMI16'  "Release lock on object EFIVIMI16
    EXPORTING
         MODE_VIMI16 = lv_mode_vimi16
         SANPNR = lv_sanpnr
         XIDENT = lv_xident
         X_BUKRS = lv_x_bukrs
         X_SMIVE = lv_x_smive
         X_SWENR = lv_x_swenr
         X_SMENR = lv_x_smenr
         X_SKOART = lv_x_skoart
         X_DGUELAB = lv_x_dguelab
         X_DANPASS = lv_x_danpass
         X_SANPNR = lv_x_sanpnr
         MANDT = lv_mandt
         X_XIDENT = lv_x_xident
         _SCOPE = lv__scope
         _SYNCHRON = lv__synchron
         _COLLECT = lv__collect
         BUKRS = lv_bukrs
         SMIVE = lv_smive
         SWENR = lv_swenr
         SMENR = lv_smenr
         SKOART = lv_skoart
         DGUELAB = lv_dguelab
         DANPASS = lv_danpass
. " DEQUEUE_EFIVIMI16




ABAP code using 7.40 inline data declarations to call FM DEQUEUE_EFIVIMI16

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_vimi16) = 'E'.
 
"SELECT single SANPNR FROM VIMI16 INTO @DATA(ld_sanpnr).
 
"SELECT single XIDENT FROM VIMI16 INTO @DATA(ld_xident).
 
DATA(ld_x_bukrs) = ' '.
 
DATA(ld_x_smive) = ' '.
 
DATA(ld_x_swenr) = ' '.
 
DATA(ld_x_smenr) = ' '.
 
DATA(ld_x_skoart) = ' '.
 
DATA(ld_x_dguelab) = ' '.
 
DATA(ld_x_danpass) = ' '.
 
DATA(ld_x_sanpnr) = ' '.
 
"SELECT single MANDT FROM VIMI16 INTO @DATA(ld_mandt).
DATA(ld_mandt) = SY-MANDT.
 
DATA(ld_x_xident) = ' '.
 
DATA(ld__scope) = '3'.
 
DATA(ld__synchron) = ' '.
 
DATA(ld__collect) = ' '.
 
"SELECT single BUKRS FROM VIMI16 INTO @DATA(ld_bukrs).
 
"SELECT single SMIVE FROM VIMI16 INTO @DATA(ld_smive).
 
"SELECT single SWENR FROM VIMI16 INTO @DATA(ld_swenr).
 
"SELECT single SMENR FROM VIMI16 INTO @DATA(ld_smenr).
 
"SELECT single SKOART FROM VIMI16 INTO @DATA(ld_skoart).
 
"SELECT single DGUELAB FROM VIMI16 INTO @DATA(ld_dguelab).
 
"SELECT single DANPASS FROM VIMI16 INTO @DATA(ld_danpass).
 


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!