SAP DEQUEUE_EGJVAFLEXE Function Module for Release lock on object EGJVAFLEXE









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

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



Function DEQUEUE_EGJVAFLEXE 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_EGJVAFLEXE'"Release lock on object EGJVAFLEXE
EXPORTING
* MODE_JVGLFLEXKEY = 'E' "Lock mode for table JVGLFLEXKEY
* RRCTY = "09th enqueue argument
* RVERS = "10th enqueue argument
* LOGSYS = "11th enqueue argument
* RACCT = "12th enqueue argument
* COST_ELEM = "13th enqueue argument
* RBUKRS = "14th enqueue argument
* RCNTR = "15th enqueue argument
* PRCTR = "16th enqueue argument
* RFAREA = "17th enqueue argument
* RBUSA = "18th enqueue argument
* RCLNT = SY-MANDT "01th enqueue argument
* KOKRS = "19th enqueue argument
* SEGMENT = "20th enqueue argument
* VNAME = "21th enqueue argument
* EGRUP = "22th enqueue argument
* RECID = "23th enqueue argument
* X_RYEAR = ' ' "Fill argument 02 with initial value?
* X_ACTIV = ' ' "Fill argument 03 with initial value?
* X_RMVCT = ' ' "Fill argument 04 with initial value?
* X_RTCUR = ' ' "Fill argument 05 with initial value?
* X_RUNIT = ' ' "Fill argument 06 with initial value?
* RYEAR = "02th enqueue argument
* X_AWTYP = ' ' "Fill argument 07 with initial value?
* X_RLDNR = ' ' "Fill argument 08 with initial value?
* X_RRCTY = ' ' "Fill argument 09 with initial value?
* X_RVERS = ' ' "Fill argument 10 with initial value?
* X_LOGSYS = ' ' "Fill argument 11 with initial value?
* X_RACCT = ' ' "Fill argument 12 with initial value?
* X_COST_ELEM = ' ' "Fill argument 13 with initial value?
* X_RBUKRS = ' ' "Fill argument 14 with initial value?
* X_RCNTR = ' ' "Fill argument 15 with initial value?
* X_PRCTR = ' ' "Fill argument 16 with initial value?
* ACTIV = "03th enqueue argument
* X_RFAREA = ' ' "Fill argument 17 with initial value?
* X_RBUSA = ' ' "Fill argument 18 with initial value?
* X_KOKRS = ' ' "Fill argument 19 with initial value?
* X_SEGMENT = ' ' "Fill argument 20 with initial value?
* X_VNAME = ' ' "Fill argument 21 with initial value?
* X_EGRUP = ' ' "Fill argument 22 with initial value?
* X_RECID = ' ' "Fill argument 23 with initial value?
* _SCOPE = '3' "
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* RMVCT = "04th enqueue argument
* RTCUR = "05th enqueue argument
* RUNIT = "06th enqueue argument
* AWTYP = "07th enqueue argument
* RLDNR = "08th enqueue argument
.



IMPORTING Parameters details for DEQUEUE_EGJVAFLEXE

MODE_JVGLFLEXKEY - Lock mode for table JVGLFLEXKEY

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

RRCTY - 09th enqueue argument

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

RVERS - 10th enqueue argument

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

LOGSYS - 11th enqueue argument

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

RACCT - 12th enqueue argument

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

COST_ELEM - 13th enqueue argument

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

RBUKRS - 14th enqueue argument

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

RCNTR - 15th enqueue argument

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

PRCTR - 16th enqueue argument

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

RFAREA - 17th enqueue argument

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

RBUSA - 18th enqueue argument

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

RCLNT - 01th enqueue argument

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

KOKRS - 19th enqueue argument

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

SEGMENT - 20th enqueue argument

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

VNAME - 21th enqueue argument

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

EGRUP - 22th enqueue argument

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

RECID - 23th enqueue argument

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

X_RYEAR - Fill argument 02 with initial value?

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

X_ACTIV - Fill argument 03 with initial value?

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

X_RMVCT - Fill argument 04 with initial value?

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

X_RTCUR - Fill argument 05 with initial value?

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

X_RUNIT - Fill argument 06 with initial value?

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

RYEAR - 02th enqueue argument

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

X_AWTYP - Fill argument 07 with initial value?

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

X_RLDNR - Fill argument 08 with initial value?

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

X_RRCTY - Fill argument 09 with initial value?

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

X_RVERS - Fill argument 10 with initial value?

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

X_LOGSYS - Fill argument 11 with initial value?

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

X_RACCT - Fill argument 12 with initial value?

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

X_COST_ELEM - Fill argument 13 with initial value?

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

X_RBUKRS - Fill argument 14 with initial value?

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

X_RCNTR - Fill argument 15 with initial value?

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

X_PRCTR - Fill argument 16 with initial value?

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

ACTIV - 03th enqueue argument

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

X_RFAREA - Fill argument 17 with initial value?

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

X_RBUSA - Fill argument 18 with initial value?

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

X_KOKRS - Fill argument 19 with initial value?

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

X_SEGMENT - Fill argument 20 with initial value?

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

X_VNAME - Fill argument 21 with initial value?

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

X_EGRUP - Fill argument 22 with initial value?

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

X_RECID - Fill argument 23 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)

RMVCT - 04th enqueue argument

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

RTCUR - 05th enqueue argument

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

RUNIT - 06th enqueue argument

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

AWTYP - 07th enqueue argument

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

RLDNR - 08th enqueue argument

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

Copy and paste ABAP code example for DEQUEUE_EGJVAFLEXE 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_jvglflexkey  TYPE ENQMODE, "   'E'
lv_rrcty  TYPE JVGLFLEXKEY-RRCTY, "   
lv_rvers  TYPE JVGLFLEXKEY-RVERS, "   
lv_logsys  TYPE JVGLFLEXKEY-LOGSYS, "   
lv_racct  TYPE JVGLFLEXKEY-RACCT, "   
lv_cost_elem  TYPE JVGLFLEXKEY-COST_ELEM, "   
lv_rbukrs  TYPE JVGLFLEXKEY-RBUKRS, "   
lv_rcntr  TYPE JVGLFLEXKEY-RCNTR, "   
lv_prctr  TYPE JVGLFLEXKEY-PRCTR, "   
lv_rfarea  TYPE JVGLFLEXKEY-RFAREA, "   
lv_rbusa  TYPE JVGLFLEXKEY-RBUSA, "   
lv_rclnt  TYPE JVGLFLEXKEY-RCLNT, "   SY-MANDT
lv_kokrs  TYPE JVGLFLEXKEY-KOKRS, "   
lv_segment  TYPE JVGLFLEXKEY-SEGMENT, "   
lv_vname  TYPE JVGLFLEXKEY-VNAME, "   
lv_egrup  TYPE JVGLFLEXKEY-EGRUP, "   
lv_recid  TYPE JVGLFLEXKEY-RECID, "   
lv_x_ryear  TYPE JVGLFLEXKEY, "   SPACE
lv_x_activ  TYPE JVGLFLEXKEY, "   SPACE
lv_x_rmvct  TYPE JVGLFLEXKEY, "   SPACE
lv_x_rtcur  TYPE JVGLFLEXKEY, "   SPACE
lv_x_runit  TYPE JVGLFLEXKEY, "   SPACE
lv_ryear  TYPE JVGLFLEXKEY-RYEAR, "   
lv_x_awtyp  TYPE JVGLFLEXKEY, "   SPACE
lv_x_rldnr  TYPE JVGLFLEXKEY, "   SPACE
lv_x_rrcty  TYPE JVGLFLEXKEY, "   SPACE
lv_x_rvers  TYPE JVGLFLEXKEY, "   SPACE
lv_x_logsys  TYPE JVGLFLEXKEY, "   SPACE
lv_x_racct  TYPE JVGLFLEXKEY, "   SPACE
lv_x_cost_elem  TYPE JVGLFLEXKEY, "   SPACE
lv_x_rbukrs  TYPE JVGLFLEXKEY, "   SPACE
lv_x_rcntr  TYPE JVGLFLEXKEY, "   SPACE
lv_x_prctr  TYPE JVGLFLEXKEY, "   SPACE
lv_activ  TYPE JVGLFLEXKEY-ACTIV, "   
lv_x_rfarea  TYPE JVGLFLEXKEY, "   SPACE
lv_x_rbusa  TYPE JVGLFLEXKEY, "   SPACE
lv_x_kokrs  TYPE JVGLFLEXKEY, "   SPACE
lv_x_segment  TYPE JVGLFLEXKEY, "   SPACE
lv_x_vname  TYPE JVGLFLEXKEY, "   SPACE
lv_x_egrup  TYPE JVGLFLEXKEY, "   SPACE
lv_x_recid  TYPE JVGLFLEXKEY, "   SPACE
lv__scope  TYPE JVGLFLEXKEY, "   '3'
lv__synchron  TYPE JVGLFLEXKEY, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_rmvct  TYPE JVGLFLEXKEY-RMVCT, "   
lv_rtcur  TYPE JVGLFLEXKEY-RTCUR, "   
lv_runit  TYPE JVGLFLEXKEY-RUNIT, "   
lv_awtyp  TYPE JVGLFLEXKEY-AWTYP, "   
lv_rldnr  TYPE JVGLFLEXKEY-RLDNR. "   

  CALL FUNCTION 'DEQUEUE_EGJVAFLEXE'  "Release lock on object EGJVAFLEXE
    EXPORTING
         MODE_JVGLFLEXKEY = lv_mode_jvglflexkey
         RRCTY = lv_rrcty
         RVERS = lv_rvers
         LOGSYS = lv_logsys
         RACCT = lv_racct
         COST_ELEM = lv_cost_elem
         RBUKRS = lv_rbukrs
         RCNTR = lv_rcntr
         PRCTR = lv_prctr
         RFAREA = lv_rfarea
         RBUSA = lv_rbusa
         RCLNT = lv_rclnt
         KOKRS = lv_kokrs
         SEGMENT = lv_segment
         VNAME = lv_vname
         EGRUP = lv_egrup
         RECID = lv_recid
         X_RYEAR = lv_x_ryear
         X_ACTIV = lv_x_activ
         X_RMVCT = lv_x_rmvct
         X_RTCUR = lv_x_rtcur
         X_RUNIT = lv_x_runit
         RYEAR = lv_ryear
         X_AWTYP = lv_x_awtyp
         X_RLDNR = lv_x_rldnr
         X_RRCTY = lv_x_rrcty
         X_RVERS = lv_x_rvers
         X_LOGSYS = lv_x_logsys
         X_RACCT = lv_x_racct
         X_COST_ELEM = lv_x_cost_elem
         X_RBUKRS = lv_x_rbukrs
         X_RCNTR = lv_x_rcntr
         X_PRCTR = lv_x_prctr
         ACTIV = lv_activ
         X_RFAREA = lv_x_rfarea
         X_RBUSA = lv_x_rbusa
         X_KOKRS = lv_x_kokrs
         X_SEGMENT = lv_x_segment
         X_VNAME = lv_x_vname
         X_EGRUP = lv_x_egrup
         X_RECID = lv_x_recid
         _SCOPE = lv__scope
         _SYNCHRON = lv__synchron
         _COLLECT = lv__collect
         RMVCT = lv_rmvct
         RTCUR = lv_rtcur
         RUNIT = lv_runit
         AWTYP = lv_awtyp
         RLDNR = lv_rldnr
. " DEQUEUE_EGJVAFLEXE




ABAP code using 7.40 inline data declarations to call FM DEQUEUE_EGJVAFLEXE

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_jvglflexkey) = 'E'.
 
"SELECT single RRCTY FROM JVGLFLEXKEY INTO @DATA(ld_rrcty).
 
"SELECT single RVERS FROM JVGLFLEXKEY INTO @DATA(ld_rvers).
 
"SELECT single LOGSYS FROM JVGLFLEXKEY INTO @DATA(ld_logsys).
 
"SELECT single RACCT FROM JVGLFLEXKEY INTO @DATA(ld_racct).
 
"SELECT single COST_ELEM FROM JVGLFLEXKEY INTO @DATA(ld_cost_elem).
 
"SELECT single RBUKRS FROM JVGLFLEXKEY INTO @DATA(ld_rbukrs).
 
"SELECT single RCNTR FROM JVGLFLEXKEY INTO @DATA(ld_rcntr).
 
"SELECT single PRCTR FROM JVGLFLEXKEY INTO @DATA(ld_prctr).
 
"SELECT single RFAREA FROM JVGLFLEXKEY INTO @DATA(ld_rfarea).
 
"SELECT single RBUSA FROM JVGLFLEXKEY INTO @DATA(ld_rbusa).
 
"SELECT single RCLNT FROM JVGLFLEXKEY INTO @DATA(ld_rclnt).
DATA(ld_rclnt) = SY-MANDT.
 
"SELECT single KOKRS FROM JVGLFLEXKEY INTO @DATA(ld_kokrs).
 
"SELECT single SEGMENT FROM JVGLFLEXKEY INTO @DATA(ld_segment).
 
"SELECT single VNAME FROM JVGLFLEXKEY INTO @DATA(ld_vname).
 
"SELECT single EGRUP FROM JVGLFLEXKEY INTO @DATA(ld_egrup).
 
"SELECT single RECID FROM JVGLFLEXKEY INTO @DATA(ld_recid).
 
DATA(ld_x_ryear) = ' '.
 
DATA(ld_x_activ) = ' '.
 
DATA(ld_x_rmvct) = ' '.
 
DATA(ld_x_rtcur) = ' '.
 
DATA(ld_x_runit) = ' '.
 
"SELECT single RYEAR FROM JVGLFLEXKEY INTO @DATA(ld_ryear).
 
DATA(ld_x_awtyp) = ' '.
 
DATA(ld_x_rldnr) = ' '.
 
DATA(ld_x_rrcty) = ' '.
 
DATA(ld_x_rvers) = ' '.
 
DATA(ld_x_logsys) = ' '.
 
DATA(ld_x_racct) = ' '.
 
DATA(ld_x_cost_elem) = ' '.
 
DATA(ld_x_rbukrs) = ' '.
 
DATA(ld_x_rcntr) = ' '.
 
DATA(ld_x_prctr) = ' '.
 
"SELECT single ACTIV FROM JVGLFLEXKEY INTO @DATA(ld_activ).
 
DATA(ld_x_rfarea) = ' '.
 
DATA(ld_x_rbusa) = ' '.
 
DATA(ld_x_kokrs) = ' '.
 
DATA(ld_x_segment) = ' '.
 
DATA(ld_x_vname) = ' '.
 
DATA(ld_x_egrup) = ' '.
 
DATA(ld_x_recid) = ' '.
 
DATA(ld__scope) = '3'.
 
DATA(ld__synchron) = ' '.
 
DATA(ld__collect) = ' '.
 
"SELECT single RMVCT FROM JVGLFLEXKEY INTO @DATA(ld_rmvct).
 
"SELECT single RTCUR FROM JVGLFLEXKEY INTO @DATA(ld_rtcur).
 
"SELECT single RUNIT FROM JVGLFLEXKEY INTO @DATA(ld_runit).
 
"SELECT single AWTYP FROM JVGLFLEXKEY INTO @DATA(ld_awtyp).
 
"SELECT single RLDNR FROM JVGLFLEXKEY INTO @DATA(ld_rldnr).
 


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!