SAP ENQUEUE_EGFILCE Function Module for









ENQUEUE_EGFILCE is a standard enqueue egfilce SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 enqueue egfilce FM, simply by entering the name ENQUEUE_EGFILCE into the relevant SAP transaction such as SE37 or SE38.

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



Function ENQUEUE_EGFILCE 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 'ENQUEUE_EGFILCE'"
EXPORTING
* MODE_FILCE = 'E' "
* RCOMP = "
* RACCT = "
* RBUSA = "
* RASSC = "
* RLEVL = "
* DOCTY = "
* RSUBD = "
* RMVCT = "
* RYACQ = "
* RPACQ = "
* RCLNT = SY-MANDT "
* AACCT = "
* AMVCT = "
* ROBUKRS = "
* X_RLDNR = ' ' "
* X_RRCTY = ' ' "
* X_RVERS = ' ' "
* X_RYEAR = ' ' "
* X_RTCUR = ' ' "
* X_RUNIT = ' ' "
* X_RPMAX = ' ' "
* RLDNR = "
* X_RCOMP = ' ' "
* X_RACCT = ' ' "
* X_RBUSA = ' ' "
* X_RASSC = ' ' "
* X_RLEVL = ' ' "
* X_DOCTY = ' ' "
* X_RSUBD = ' ' "
* X_RMVCT = ' ' "
* X_RYACQ = ' ' "
* X_RPACQ = ' ' "
* RRCTY = "
* X_AACCT = ' ' "
* X_AMVCT = ' ' "
* X_ROBUKRS = ' ' "
* _SCOPE = '2' "
* _WAIT = ' ' "
* _COLLECT = ' ' "
* RVERS = "
* RYEAR = "
* RTCUR = "
* RUNIT = "
* RPMAX = "

EXCEPTIONS
FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2
.



IMPORTING Parameters details for ENQUEUE_EGFILCE

MODE_FILCE -

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

RCOMP -

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

RACCT -

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

RBUSA -

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

RASSC -

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

RLEVL -

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

DOCTY -

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

RSUBD -

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

RMVCT -

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

RYACQ -

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

RPACQ -

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

RCLNT -

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

AACCT -

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

AMVCT -

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

ROBUKRS -

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

X_RLDNR -

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

X_RRCTY -

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

X_RVERS -

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

X_RYEAR -

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

X_RTCUR -

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

X_RUNIT -

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

X_RPMAX -

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

RLDNR -

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

X_RCOMP -

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

X_RACCT -

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

X_RBUSA -

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

X_RASSC -

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

X_RLEVL -

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

X_DOCTY -

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

X_RSUBD -

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

X_RMVCT -

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

X_RYACQ -

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

X_RPACQ -

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

RRCTY -

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

X_AACCT -

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

X_AMVCT -

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

X_ROBUKRS -

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

_SCOPE -

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

_WAIT -

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

_COLLECT -

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

RVERS -

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

RYEAR -

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

RTCUR -

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

RUNIT -

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

RPMAX -

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

EXCEPTIONS details

FOREIGN_LOCK -

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

SYSTEM_FAILURE -

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

Copy and paste ABAP code example for ENQUEUE_EGFILCE 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_filce  TYPE DD26E-ENQMODE, "   'E'
lv_foreign_lock  TYPE DD26E, "   
lv_rcomp  TYPE FILCE-RCOMP, "   
lv_racct  TYPE FILCE-RACCT, "   
lv_rbusa  TYPE FILCE-RBUSA, "   
lv_rassc  TYPE FILCE-RASSC, "   
lv_rlevl  TYPE FILCE-RLEVL, "   
lv_docty  TYPE FILCE-DOCTY, "   
lv_rsubd  TYPE FILCE-RSUBD, "   
lv_rmvct  TYPE FILCE-RMVCT, "   
lv_ryacq  TYPE FILCE-RYACQ, "   
lv_rpacq  TYPE FILCE-RPACQ, "   
lv_rclnt  TYPE FILCE-RCLNT, "   SY-MANDT
lv_system_failure  TYPE FILCE, "   
lv_aacct  TYPE FILCE-AACCT, "   
lv_amvct  TYPE FILCE-AMVCT, "   
lv_robukrs  TYPE FILCE-ROBUKRS, "   
lv_x_rldnr  TYPE FILCE, "   SPACE
lv_x_rrcty  TYPE FILCE, "   SPACE
lv_x_rvers  TYPE FILCE, "   SPACE
lv_x_ryear  TYPE FILCE, "   SPACE
lv_x_rtcur  TYPE FILCE, "   SPACE
lv_x_runit  TYPE FILCE, "   SPACE
lv_x_rpmax  TYPE FILCE, "   SPACE
lv_rldnr  TYPE FILCE-RLDNR, "   
lv_x_rcomp  TYPE FILCE, "   SPACE
lv_x_racct  TYPE FILCE, "   SPACE
lv_x_rbusa  TYPE FILCE, "   SPACE
lv_x_rassc  TYPE FILCE, "   SPACE
lv_x_rlevl  TYPE FILCE, "   SPACE
lv_x_docty  TYPE FILCE, "   SPACE
lv_x_rsubd  TYPE FILCE, "   SPACE
lv_x_rmvct  TYPE FILCE, "   SPACE
lv_x_ryacq  TYPE FILCE, "   SPACE
lv_x_rpacq  TYPE FILCE, "   SPACE
lv_rrcty  TYPE FILCE-RRCTY, "   
lv_x_aacct  TYPE FILCE, "   SPACE
lv_x_amvct  TYPE FILCE, "   SPACE
lv_x_robukrs  TYPE FILCE, "   SPACE
lv__scope  TYPE FILCE, "   '2'
lv__wait  TYPE FILCE, "   SPACE
lv__collect  TYPE DDENQ_LIKE-COLLECT, "   ' '
lv_rvers  TYPE FILCE-RVERS, "   
lv_ryear  TYPE FILCE-RYEAR, "   
lv_rtcur  TYPE FILCE-RTCUR, "   
lv_runit  TYPE FILCE-RUNIT, "   
lv_rpmax  TYPE FILCE-RPMAX. "   

  CALL FUNCTION 'ENQUEUE_EGFILCE'  "
    EXPORTING
         MODE_FILCE = lv_mode_filce
         RCOMP = lv_rcomp
         RACCT = lv_racct
         RBUSA = lv_rbusa
         RASSC = lv_rassc
         RLEVL = lv_rlevl
         DOCTY = lv_docty
         RSUBD = lv_rsubd
         RMVCT = lv_rmvct
         RYACQ = lv_ryacq
         RPACQ = lv_rpacq
         RCLNT = lv_rclnt
         AACCT = lv_aacct
         AMVCT = lv_amvct
         ROBUKRS = lv_robukrs
         X_RLDNR = lv_x_rldnr
         X_RRCTY = lv_x_rrcty
         X_RVERS = lv_x_rvers
         X_RYEAR = lv_x_ryear
         X_RTCUR = lv_x_rtcur
         X_RUNIT = lv_x_runit
         X_RPMAX = lv_x_rpmax
         RLDNR = lv_rldnr
         X_RCOMP = lv_x_rcomp
         X_RACCT = lv_x_racct
         X_RBUSA = lv_x_rbusa
         X_RASSC = lv_x_rassc
         X_RLEVL = lv_x_rlevl
         X_DOCTY = lv_x_docty
         X_RSUBD = lv_x_rsubd
         X_RMVCT = lv_x_rmvct
         X_RYACQ = lv_x_ryacq
         X_RPACQ = lv_x_rpacq
         RRCTY = lv_rrcty
         X_AACCT = lv_x_aacct
         X_AMVCT = lv_x_amvct
         X_ROBUKRS = lv_x_robukrs
         _SCOPE = lv__scope
         _WAIT = lv__wait
         _COLLECT = lv__collect
         RVERS = lv_rvers
         RYEAR = lv_ryear
         RTCUR = lv_rtcur
         RUNIT = lv_runit
         RPMAX = lv_rpmax
    EXCEPTIONS
        FOREIGN_LOCK = 1
        SYSTEM_FAILURE = 2
. " ENQUEUE_EGFILCE




ABAP code using 7.40 inline data declarations to call FM ENQUEUE_EGFILCE

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.

"SELECT single ENQMODE FROM DD26E INTO @DATA(ld_mode_filce).
DATA(ld_mode_filce) = 'E'.
 
 
"SELECT single RCOMP FROM FILCE INTO @DATA(ld_rcomp).
 
"SELECT single RACCT FROM FILCE INTO @DATA(ld_racct).
 
"SELECT single RBUSA FROM FILCE INTO @DATA(ld_rbusa).
 
"SELECT single RASSC FROM FILCE INTO @DATA(ld_rassc).
 
"SELECT single RLEVL FROM FILCE INTO @DATA(ld_rlevl).
 
"SELECT single DOCTY FROM FILCE INTO @DATA(ld_docty).
 
"SELECT single RSUBD FROM FILCE INTO @DATA(ld_rsubd).
 
"SELECT single RMVCT FROM FILCE INTO @DATA(ld_rmvct).
 
"SELECT single RYACQ FROM FILCE INTO @DATA(ld_ryacq).
 
"SELECT single RPACQ FROM FILCE INTO @DATA(ld_rpacq).
 
"SELECT single RCLNT FROM FILCE INTO @DATA(ld_rclnt).
DATA(ld_rclnt) = SY-MANDT.
 
 
"SELECT single AACCT FROM FILCE INTO @DATA(ld_aacct).
 
"SELECT single AMVCT FROM FILCE INTO @DATA(ld_amvct).
 
"SELECT single ROBUKRS FROM FILCE INTO @DATA(ld_robukrs).
 
DATA(ld_x_rldnr) = ' '.
 
DATA(ld_x_rrcty) = ' '.
 
DATA(ld_x_rvers) = ' '.
 
DATA(ld_x_ryear) = ' '.
 
DATA(ld_x_rtcur) = ' '.
 
DATA(ld_x_runit) = ' '.
 
DATA(ld_x_rpmax) = ' '.
 
"SELECT single RLDNR FROM FILCE INTO @DATA(ld_rldnr).
 
DATA(ld_x_rcomp) = ' '.
 
DATA(ld_x_racct) = ' '.
 
DATA(ld_x_rbusa) = ' '.
 
DATA(ld_x_rassc) = ' '.
 
DATA(ld_x_rlevl) = ' '.
 
DATA(ld_x_docty) = ' '.
 
DATA(ld_x_rsubd) = ' '.
 
DATA(ld_x_rmvct) = ' '.
 
DATA(ld_x_ryacq) = ' '.
 
DATA(ld_x_rpacq) = ' '.
 
"SELECT single RRCTY FROM FILCE INTO @DATA(ld_rrcty).
 
DATA(ld_x_aacct) = ' '.
 
DATA(ld_x_amvct) = ' '.
 
DATA(ld_x_robukrs) = ' '.
 
DATA(ld__scope) = '2'.
 
DATA(ld__wait) = ' '.
 
"SELECT single COLLECT FROM DDENQ_LIKE INTO @DATA(ld__collect).
DATA(ld__collect) = ' '.
 
"SELECT single RVERS FROM FILCE INTO @DATA(ld_rvers).
 
"SELECT single RYEAR FROM FILCE INTO @DATA(ld_ryear).
 
"SELECT single RTCUR FROM FILCE INTO @DATA(ld_rtcur).
 
"SELECT single RUNIT FROM FILCE INTO @DATA(ld_runit).
 
"SELECT single RPMAX FROM FILCE INTO @DATA(ld_rpmax).
 


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!