SAP ENQUEUE_EGGLT3E Function Module for Request lock for object EGGLT3E









ENQUEUE_EGGLT3E is a standard enqueue egglt3e SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Request lock for object EGGLT3E 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 enqueue egglt3e FM, simply by entering the name ENQUEUE_EGGLT3E 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_EGGLT3E 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_EGGLT3E'"Request lock for object EGGLT3E
EXPORTING
* MODE_GLT3 = 'E' "Lock mode for table GLT3
* RMVCT = "09th enqueue argument
* RASSC = "10th enqueue argument
* SBUSA = "11th enqueue argument
* RYACQ = "12th enqueue argument
* RPACQ = "13th enqueue argument
* RTCUR = "14th enqueue argument
* DRCRK = "15th enqueue argument
* RPMAX = "16th enqueue argument
* X_RLDNR = ' ' "Fill argument 02 with initial value?
* X_RRCTY = ' ' "Fill argument 03 with initial value?
* RCLNT = SY-MANDT "01th enqueue argument
* X_RVERS = ' ' "Fill argument 04 with initial value?
* X_BUKRS = ' ' "Fill argument 05 with initial value?
* X_RYEAR = ' ' "Fill argument 06 with initial value?
* X_RACCT = ' ' "Fill argument 07 with initial value?
* X_RBUSA = ' ' "Fill argument 08 with initial value?
* X_RMVCT = ' ' "Fill argument 09 with initial value?
* X_RASSC = ' ' "Fill argument 10 with initial value?
* X_SBUSA = ' ' "Fill argument 11 with initial value?
* X_RYACQ = ' ' "Fill argument 12 with initial value?
* X_RPACQ = ' ' "Fill argument 13 with initial value?
* RLDNR = "02th enqueue argument
* X_RTCUR = ' ' "Fill argument 14 with initial value?
* X_DRCRK = ' ' "Fill argument 15 with initial value?
* X_RPMAX = ' ' "Fill argument 16 with initial value?
* _SCOPE = '2' "
* _WAIT = ' ' "
* _COLLECT = ' ' "Initially only collect lock
* RRCTY = "03th enqueue argument
* RVERS = "04th enqueue argument
* BUKRS = "05th enqueue argument
* RYEAR = "06th enqueue argument
* RACCT = "07th enqueue argument
* RBUSA = "08th enqueue argument

EXCEPTIONS
FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2
.



IMPORTING Parameters details for ENQUEUE_EGGLT3E

MODE_GLT3 - Lock mode for table GLT3

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

RMVCT - 09th enqueue argument

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

RASSC - 10th enqueue argument

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

SBUSA - 11th enqueue argument

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

RYACQ - 12th enqueue argument

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

RPACQ - 13th enqueue argument

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

RTCUR - 14th enqueue argument

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

DRCRK - 15th enqueue argument

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

RPMAX - 16th enqueue argument

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

X_RLDNR - Fill argument 02 with initial value?

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

X_RRCTY - Fill argument 03 with initial value?

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

RCLNT - 01th enqueue argument

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

X_RVERS - Fill argument 04 with initial value?

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

X_BUKRS - Fill argument 05 with initial value?

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

X_RYEAR - Fill argument 06 with initial value?

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

X_RACCT - Fill argument 07 with initial value?

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

X_RBUSA - Fill argument 08 with initial value?

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

X_RMVCT - Fill argument 09 with initial value?

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

X_RASSC - Fill argument 10 with initial value?

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

X_SBUSA - Fill argument 11 with initial value?

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

X_RYACQ - Fill argument 12 with initial value?

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

X_RPACQ - Fill argument 13 with initial value?

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

RLDNR - 02th enqueue argument

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

X_RTCUR - Fill argument 14 with initial value?

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

X_DRCRK - Fill argument 15 with initial value?

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

X_RPMAX - Fill argument 16 with initial value?

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 - Initially only collect lock

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

RRCTY - 03th enqueue argument

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

RVERS - 04th enqueue argument

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

BUKRS - 05th enqueue argument

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

RYEAR - 06th enqueue argument

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

RACCT - 07th enqueue argument

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

RBUSA - 08th enqueue argument

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

EXCEPTIONS details

FOREIGN_LOCK - Object already locked

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

SYSTEM_FAILURE - Internal error from enqueue server

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

Copy and paste ABAP code example for ENQUEUE_EGGLT3E 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_glt3  TYPE DD26E-ENQMODE, "   'E'
lv_foreign_lock  TYPE DD26E, "   
lv_rmvct  TYPE GLT3-RMVCT, "   
lv_rassc  TYPE GLT3-RASSC, "   
lv_sbusa  TYPE GLT3-SBUSA, "   
lv_ryacq  TYPE GLT3-RYACQ, "   
lv_rpacq  TYPE GLT3-RPACQ, "   
lv_rtcur  TYPE GLT3-RTCUR, "   
lv_drcrk  TYPE GLT3-DRCRK, "   
lv_rpmax  TYPE GLT3-RPMAX, "   
lv_x_rldnr  TYPE GLT3, "   SPACE
lv_x_rrcty  TYPE GLT3, "   SPACE
lv_rclnt  TYPE GLT3-RCLNT, "   SY-MANDT
lv_system_failure  TYPE GLT3, "   
lv_x_rvers  TYPE GLT3, "   SPACE
lv_x_bukrs  TYPE GLT3, "   SPACE
lv_x_ryear  TYPE GLT3, "   SPACE
lv_x_racct  TYPE GLT3, "   SPACE
lv_x_rbusa  TYPE GLT3, "   SPACE
lv_x_rmvct  TYPE GLT3, "   SPACE
lv_x_rassc  TYPE GLT3, "   SPACE
lv_x_sbusa  TYPE GLT3, "   SPACE
lv_x_ryacq  TYPE GLT3, "   SPACE
lv_x_rpacq  TYPE GLT3, "   SPACE
lv_rldnr  TYPE GLT3-RLDNR, "   
lv_x_rtcur  TYPE GLT3, "   SPACE
lv_x_drcrk  TYPE GLT3, "   SPACE
lv_x_rpmax  TYPE GLT3, "   SPACE
lv__scope  TYPE GLT3, "   '2'
lv__wait  TYPE GLT3, "   SPACE
lv__collect  TYPE DDENQ_LIKE-COLLECT, "   ' '
lv_rrcty  TYPE GLT3-RRCTY, "   
lv_rvers  TYPE GLT3-RVERS, "   
lv_bukrs  TYPE GLT3-BUKRS, "   
lv_ryear  TYPE GLT3-RYEAR, "   
lv_racct  TYPE GLT3-RACCT, "   
lv_rbusa  TYPE GLT3-RBUSA. "   

  CALL FUNCTION 'ENQUEUE_EGGLT3E'  "Request lock for object EGGLT3E
    EXPORTING
         MODE_GLT3 = lv_mode_glt3
         RMVCT = lv_rmvct
         RASSC = lv_rassc
         SBUSA = lv_sbusa
         RYACQ = lv_ryacq
         RPACQ = lv_rpacq
         RTCUR = lv_rtcur
         DRCRK = lv_drcrk
         RPMAX = lv_rpmax
         X_RLDNR = lv_x_rldnr
         X_RRCTY = lv_x_rrcty
         RCLNT = lv_rclnt
         X_RVERS = lv_x_rvers
         X_BUKRS = lv_x_bukrs
         X_RYEAR = lv_x_ryear
         X_RACCT = lv_x_racct
         X_RBUSA = lv_x_rbusa
         X_RMVCT = lv_x_rmvct
         X_RASSC = lv_x_rassc
         X_SBUSA = lv_x_sbusa
         X_RYACQ = lv_x_ryacq
         X_RPACQ = lv_x_rpacq
         RLDNR = lv_rldnr
         X_RTCUR = lv_x_rtcur
         X_DRCRK = lv_x_drcrk
         X_RPMAX = lv_x_rpmax
         _SCOPE = lv__scope
         _WAIT = lv__wait
         _COLLECT = lv__collect
         RRCTY = lv_rrcty
         RVERS = lv_rvers
         BUKRS = lv_bukrs
         RYEAR = lv_ryear
         RACCT = lv_racct
         RBUSA = lv_rbusa
    EXCEPTIONS
        FOREIGN_LOCK = 1
        SYSTEM_FAILURE = 2
. " ENQUEUE_EGGLT3E




ABAP code using 7.40 inline data declarations to call FM ENQUEUE_EGGLT3E

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_glt3).
DATA(ld_mode_glt3) = 'E'.
 
 
"SELECT single RMVCT FROM GLT3 INTO @DATA(ld_rmvct).
 
"SELECT single RASSC FROM GLT3 INTO @DATA(ld_rassc).
 
"SELECT single SBUSA FROM GLT3 INTO @DATA(ld_sbusa).
 
"SELECT single RYACQ FROM GLT3 INTO @DATA(ld_ryacq).
 
"SELECT single RPACQ FROM GLT3 INTO @DATA(ld_rpacq).
 
"SELECT single RTCUR FROM GLT3 INTO @DATA(ld_rtcur).
 
"SELECT single DRCRK FROM GLT3 INTO @DATA(ld_drcrk).
 
"SELECT single RPMAX FROM GLT3 INTO @DATA(ld_rpmax).
 
DATA(ld_x_rldnr) = ' '.
 
DATA(ld_x_rrcty) = ' '.
 
"SELECT single RCLNT FROM GLT3 INTO @DATA(ld_rclnt).
DATA(ld_rclnt) = SY-MANDT.
 
 
DATA(ld_x_rvers) = ' '.
 
DATA(ld_x_bukrs) = ' '.
 
DATA(ld_x_ryear) = ' '.
 
DATA(ld_x_racct) = ' '.
 
DATA(ld_x_rbusa) = ' '.
 
DATA(ld_x_rmvct) = ' '.
 
DATA(ld_x_rassc) = ' '.
 
DATA(ld_x_sbusa) = ' '.
 
DATA(ld_x_ryacq) = ' '.
 
DATA(ld_x_rpacq) = ' '.
 
"SELECT single RLDNR FROM GLT3 INTO @DATA(ld_rldnr).
 
DATA(ld_x_rtcur) = ' '.
 
DATA(ld_x_drcrk) = ' '.
 
DATA(ld_x_rpmax) = ' '.
 
DATA(ld__scope) = '2'.
 
DATA(ld__wait) = ' '.
 
"SELECT single COLLECT FROM DDENQ_LIKE INTO @DATA(ld__collect).
DATA(ld__collect) = ' '.
 
"SELECT single RRCTY FROM GLT3 INTO @DATA(ld_rrcty).
 
"SELECT single RVERS FROM GLT3 INTO @DATA(ld_rvers).
 
"SELECT single BUKRS FROM GLT3 INTO @DATA(ld_bukrs).
 
"SELECT single RYEAR FROM GLT3 INTO @DATA(ld_ryear).
 
"SELECT single RACCT FROM GLT3 INTO @DATA(ld_racct).
 
"SELECT single RBUSA FROM GLT3 INTO @DATA(ld_rbusa).
 


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!