SAP DEQUEUE_E_EFMAVCT Function Module for Release lock on object E_EFMAVCT









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

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



Function DEQUEUE_E_EFMAVCT 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_E_EFMAVCT'"Release lock on object E_EFMAVCT
EXPORTING
* MODE_EFMAVCT = 'S' "Lock mode for table EFMAVCT
* RCVRGRP_9 = "09th enqueue argument
* CEFFYEAR = "10th enqueue argument
* WFSTATE = "11th enqueue argument
* ALLOCTYPE = "12th enqueue argument
* POPER = "13th enqueue argument
* LVAL = "14th enqueue argument
* X_RLDNR = ' ' "Fill argument 02 with initial value?
* X_RRCTY = ' ' "Fill argument 03 with initial value?
* X_RVERS = ' ' "Fill argument 04 with initial value?
* X_RYEAR = ' ' "Fill argument 05 with initial value?
* RCLNT = SY-MANDT "01th enqueue argument
* X_RFIKRS = ' ' "Fill argument 06 with initial value?
* X_ROBJNR = ' ' "Fill argument 07 with initial value?
* X_RGRANT_NBR = ' ' "Fill argument 08 with initial value?
* X_RCVRGRP_9 = ' ' "Fill argument 09 with initial value?
* X_CEFFYEAR = ' ' "Fill argument 10 with initial value?
* X_WFSTATE = ' ' "Fill argument 11 with initial value?
* X_ALLOCTYPE = ' ' "Fill argument 12 with initial value?
* X_POPER = ' ' "Fill argument 13 with initial value?
* X_LVAL = ' ' "Fill argument 14 with initial value?
* _SCOPE = '3' "
* RLDNR = "02th enqueue argument
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* RRCTY = "03th enqueue argument
* RVERS = "04th enqueue argument
* RYEAR = "05th enqueue argument
* RFIKRS = "06th enqueue argument
* ROBJNR = "07th enqueue argument
* RGRANT_NBR = "08th enqueue argument
.



IMPORTING Parameters details for DEQUEUE_E_EFMAVCT

MODE_EFMAVCT - Lock mode for table EFMAVCT

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

RCVRGRP_9 - 09th enqueue argument

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

CEFFYEAR - 10th enqueue argument

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

WFSTATE - 11th enqueue argument

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

ALLOCTYPE - 12th enqueue argument

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

POPER - 13th enqueue argument

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

LVAL - 14th enqueue argument

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

X_RLDNR - Fill argument 02 with initial value?

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

X_RRCTY - Fill argument 03 with initial value?

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

X_RVERS - Fill argument 04 with initial value?

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

X_RYEAR - Fill argument 05 with initial value?

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

RCLNT - 01th enqueue argument

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

X_RFIKRS - Fill argument 06 with initial value?

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

X_ROBJNR - Fill argument 07 with initial value?

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

X_RGRANT_NBR - Fill argument 08 with initial value?

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

X_RCVRGRP_9 - Fill argument 09 with initial value?

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

X_CEFFYEAR - Fill argument 10 with initial value?

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

X_WFSTATE - Fill argument 11 with initial value?

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

X_ALLOCTYPE - Fill argument 12 with initial value?

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

X_POPER - Fill argument 13 with initial value?

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

X_LVAL - Fill argument 14 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)

RLDNR - 02th enqueue argument

Data type: EFMAVCT-RLDNR
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)

RRCTY - 03th enqueue argument

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

RVERS - 04th enqueue argument

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

RYEAR - 05th enqueue argument

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

RFIKRS - 06th enqueue argument

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

ROBJNR - 07th enqueue argument

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

RGRANT_NBR - 08th enqueue argument

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

Copy and paste ABAP code example for DEQUEUE_E_EFMAVCT 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_efmavct  TYPE ENQMODE, "   'S'
lv_rcvrgrp_9  TYPE EFMAVCT-RCVRGRP_9, "   
lv_ceffyear  TYPE EFMAVCT-CEFFYEAR, "   
lv_wfstate  TYPE EFMAVCT-WFSTATE, "   
lv_alloctype  TYPE EFMAVCT-ALLOCTYPE, "   
lv_poper  TYPE EFMAVCT-POPER, "   
lv_lval  TYPE EFMAVCT-LVAL, "   
lv_x_rldnr  TYPE DDENQXPAR, "   SPACE
lv_x_rrcty  TYPE DDENQXPAR, "   SPACE
lv_x_rvers  TYPE DDENQXPAR, "   SPACE
lv_x_ryear  TYPE DDENQXPAR, "   SPACE
lv_rclnt  TYPE EFMAVCT-RCLNT, "   SY-MANDT
lv_x_rfikrs  TYPE DDENQXPAR, "   SPACE
lv_x_robjnr  TYPE DDENQXPAR, "   SPACE
lv_x_rgrant_nbr  TYPE DDENQXPAR, "   SPACE
lv_x_rcvrgrp_9  TYPE DDENQXPAR, "   SPACE
lv_x_ceffyear  TYPE DDENQXPAR, "   SPACE
lv_x_wfstate  TYPE DDENQXPAR, "   SPACE
lv_x_alloctype  TYPE DDENQXPAR, "   SPACE
lv_x_poper  TYPE DDENQXPAR, "   SPACE
lv_x_lval  TYPE DDENQXPAR, "   SPACE
lv__scope  TYPE DDENQSCOPE, "   '3'
lv_rldnr  TYPE EFMAVCT-RLDNR, "   
lv__synchron  TYPE DDENQSYNC, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_rrcty  TYPE EFMAVCT-RRCTY, "   
lv_rvers  TYPE EFMAVCT-RVERS, "   
lv_ryear  TYPE EFMAVCT-RYEAR, "   
lv_rfikrs  TYPE EFMAVCT-RFIKRS, "   
lv_robjnr  TYPE EFMAVCT-ROBJNR, "   
lv_rgrant_nbr  TYPE EFMAVCT-RGRANT_NBR. "   

  CALL FUNCTION 'DEQUEUE_E_EFMAVCT'  "Release lock on object E_EFMAVCT
    EXPORTING
         MODE_EFMAVCT = lv_mode_efmavct
         RCVRGRP_9 = lv_rcvrgrp_9
         CEFFYEAR = lv_ceffyear
         WFSTATE = lv_wfstate
         ALLOCTYPE = lv_alloctype
         POPER = lv_poper
         LVAL = lv_lval
         X_RLDNR = lv_x_rldnr
         X_RRCTY = lv_x_rrcty
         X_RVERS = lv_x_rvers
         X_RYEAR = lv_x_ryear
         RCLNT = lv_rclnt
         X_RFIKRS = lv_x_rfikrs
         X_ROBJNR = lv_x_robjnr
         X_RGRANT_NBR = lv_x_rgrant_nbr
         X_RCVRGRP_9 = lv_x_rcvrgrp_9
         X_CEFFYEAR = lv_x_ceffyear
         X_WFSTATE = lv_x_wfstate
         X_ALLOCTYPE = lv_x_alloctype
         X_POPER = lv_x_poper
         X_LVAL = lv_x_lval
         _SCOPE = lv__scope
         RLDNR = lv_rldnr
         _SYNCHRON = lv__synchron
         _COLLECT = lv__collect
         RRCTY = lv_rrcty
         RVERS = lv_rvers
         RYEAR = lv_ryear
         RFIKRS = lv_rfikrs
         ROBJNR = lv_robjnr
         RGRANT_NBR = lv_rgrant_nbr
. " DEQUEUE_E_EFMAVCT




ABAP code using 7.40 inline data declarations to call FM DEQUEUE_E_EFMAVCT

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_efmavct) = 'S'.
 
"SELECT single RCVRGRP_9 FROM EFMAVCT INTO @DATA(ld_rcvrgrp_9).
 
"SELECT single CEFFYEAR FROM EFMAVCT INTO @DATA(ld_ceffyear).
 
"SELECT single WFSTATE FROM EFMAVCT INTO @DATA(ld_wfstate).
 
"SELECT single ALLOCTYPE FROM EFMAVCT INTO @DATA(ld_alloctype).
 
"SELECT single POPER FROM EFMAVCT INTO @DATA(ld_poper).
 
"SELECT single LVAL FROM EFMAVCT INTO @DATA(ld_lval).
 
DATA(ld_x_rldnr) = ' '.
 
DATA(ld_x_rrcty) = ' '.
 
DATA(ld_x_rvers) = ' '.
 
DATA(ld_x_ryear) = ' '.
 
"SELECT single RCLNT FROM EFMAVCT INTO @DATA(ld_rclnt).
DATA(ld_rclnt) = SY-MANDT.
 
DATA(ld_x_rfikrs) = ' '.
 
DATA(ld_x_robjnr) = ' '.
 
DATA(ld_x_rgrant_nbr) = ' '.
 
DATA(ld_x_rcvrgrp_9) = ' '.
 
DATA(ld_x_ceffyear) = ' '.
 
DATA(ld_x_wfstate) = ' '.
 
DATA(ld_x_alloctype) = ' '.
 
DATA(ld_x_poper) = ' '.
 
DATA(ld_x_lval) = ' '.
 
DATA(ld__scope) = '3'.
 
"SELECT single RLDNR FROM EFMAVCT INTO @DATA(ld_rldnr).
 
DATA(ld__synchron) = ' '.
 
DATA(ld__collect) = ' '.
 
"SELECT single RRCTY FROM EFMAVCT INTO @DATA(ld_rrcty).
 
"SELECT single RVERS FROM EFMAVCT INTO @DATA(ld_rvers).
 
"SELECT single RYEAR FROM EFMAVCT INTO @DATA(ld_ryear).
 
"SELECT single RFIKRS FROM EFMAVCT INTO @DATA(ld_rfikrs).
 
"SELECT single ROBJNR FROM EFMAVCT INTO @DATA(ld_robjnr).
 
"SELECT single RGRANT_NBR FROM EFMAVCT INTO @DATA(ld_rgrant_nbr).
 


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!