SAP DEQUEUE_E_USER_CATALOGS Function Module for Release lock on object E_USER_CATALOGS









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

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



Function DEQUEUE_E_USER_CATALOGS 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_USER_CATALOGS'"Release lock on object E_USER_CATALOGS
EXPORTING
* MODE_USER_CATALOGS = 'E' "Lock mode for table USER_CATALOGS
* X_CATALOG = ' ' "Fill argument 05 with initial value?
* _SCOPE = '3' "
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* MANDT = SY-MANDT "Enqueue argument 01
* EMPLOYEE = "Enqueue argument 02
* PERS_ID = "Enqueue argument 03
* BUS_OBJ_TYPE = "Enqueue argument 04
* CATALOG = "Enqueue argument 05
* X_EMPLOYEE = ' ' "Fill argument 02 with initial value?
* X_PERS_ID = ' ' "Fill argument 03 with initial value?
* X_BUS_OBJ_TYPE = ' ' "Fill argument 04 with initial value?
.



IMPORTING Parameters details for DEQUEUE_E_USER_CATALOGS

MODE_USER_CATALOGS - Lock mode for table USER_CATALOGS

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

X_CATALOG - Fill argument 05 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)

MANDT - Enqueue argument 01

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

EMPLOYEE - Enqueue argument 02

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

PERS_ID - Enqueue argument 03

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

BUS_OBJ_TYPE - Enqueue argument 04

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

CATALOG - Enqueue argument 05

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

X_EMPLOYEE - Fill argument 02 with initial value?

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

X_PERS_ID - Fill argument 03 with initial value?

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

X_BUS_OBJ_TYPE - Fill argument 04 with initial value?

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

Copy and paste ABAP code example for DEQUEUE_E_USER_CATALOGS 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_user_catalogs  TYPE ENQMODE, "   'E'
lv_x_catalog  TYPE ENQMODE, "   SPACE
lv__scope  TYPE ENQMODE, "   '3'
lv__synchron  TYPE ENQMODE, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_mandt  TYPE USER_CATALOGS-MANDT, "   SY-MANDT
lv_employee  TYPE USER_CATALOGS-EMPLOYEE, "   
lv_pers_id  TYPE USER_CATALOGS-PERSONALIZATIONID, "   
lv_bus_obj_type  TYPE USER_CATALOGS-BUSINESSOBJECTTYPE, "   
lv_catalog  TYPE USER_CATALOGS-PURREQNSSPCATALOG, "   
lv_x_employee  TYPE USER_CATALOGS, "   SPACE
lv_x_pers_id  TYPE USER_CATALOGS, "   SPACE
lv_x_bus_obj_type  TYPE USER_CATALOGS. "   SPACE

  CALL FUNCTION 'DEQUEUE_E_USER_CATALOGS'  "Release lock on object E_USER_CATALOGS
    EXPORTING
         MODE_USER_CATALOGS = lv_mode_user_catalogs
         X_CATALOG = lv_x_catalog
         _SCOPE = lv__scope
         _SYNCHRON = lv__synchron
         _COLLECT = lv__collect
         MANDT = lv_mandt
         EMPLOYEE = lv_employee
         PERS_ID = lv_pers_id
         BUS_OBJ_TYPE = lv_bus_obj_type
         CATALOG = lv_catalog
         X_EMPLOYEE = lv_x_employee
         X_PERS_ID = lv_x_pers_id
         X_BUS_OBJ_TYPE = lv_x_bus_obj_type
. " DEQUEUE_E_USER_CATALOGS




ABAP code using 7.40 inline data declarations to call FM DEQUEUE_E_USER_CATALOGS

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_user_catalogs) = 'E'.
 
DATA(ld_x_catalog) = ' '.
 
DATA(ld__scope) = '3'.
 
DATA(ld__synchron) = ' '.
 
DATA(ld__collect) = ' '.
 
"SELECT single MANDT FROM USER_CATALOGS INTO @DATA(ld_mandt).
DATA(ld_mandt) = SY-MANDT.
 
"SELECT single EMPLOYEE FROM USER_CATALOGS INTO @DATA(ld_employee).
 
"SELECT single PERSONALIZATIONID FROM USER_CATALOGS INTO @DATA(ld_pers_id).
 
"SELECT single BUSINESSOBJECTTYPE FROM USER_CATALOGS INTO @DATA(ld_bus_obj_type).
 
"SELECT single PURREQNSSPCATALOG FROM USER_CATALOGS INTO @DATA(ld_catalog).
 
DATA(ld_x_employee) = ' '.
 
DATA(ld_x_pers_id) = ' '.
 
DATA(ld_x_bus_obj_type) = ' '.
 


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!