SAP ENQUEUE_E_CNV10993OBJECT Function Module for Request lock for object E_CNV10993OBJECT









ENQUEUE_E_CNV10993OBJECT is a standard enqueue e cnv10993object 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 E_CNV10993OBJECT 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 e cnv10993object FM, simply by entering the name ENQUEUE_E_CNV10993OBJECT into the relevant SAP transaction such as SE37 or SE38.

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



Function ENQUEUE_E_CNV10993OBJECT 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_E_CNV10993OBJECT'"Request lock for object E_CNV10993OBJECT
EXPORTING
* MODE_CNV_10993_OBJECT = 'E' "Lock mode for table CNV_10993_OBJECT
* X_PROJECT_ID = ' ' "Fill argument 02 with initial value?
* X_SEARCH_RUN_ID = ' ' "Fill argument 03 with initial value?
* X_OBJECT_TYPE = ' ' "Fill argument 04 with initial value?
* X_OBJECT_NAME = ' ' "Fill argument 05 with initial value?
* X_PROGNAME = ' ' "Fill argument 06 with initial value?
* X_TYPE_OF_SEARCH = ' ' "Fill argument 07 with initial value?
* X_DISPLAY_FLAG = ' ' "Fill argument 08 with initial value?
* _SCOPE = '2' "
* _WAIT = ' ' "
* _COLLECT = ' ' "Initially only collect lock
* MANDT = SY-MANDT "01th enqueue argument
* PROJECT_ID = "02th enqueue argument
* SEARCH_RUN_ID = "03th enqueue argument
* OBJECT_TYPE = "04th enqueue argument
* OBJECT_NAME = "05th enqueue argument
* PROGNAME = "06th enqueue argument
* TYPE_OF_SEARCH = "07th enqueue argument
* DISPLAY_FLAG = "08th enqueue argument

EXCEPTIONS
FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2
.



IMPORTING Parameters details for ENQUEUE_E_CNV10993OBJECT

MODE_CNV_10993_OBJECT - Lock mode for table CNV_10993_OBJECT

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

X_PROJECT_ID - Fill argument 02 with initial value?

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

X_SEARCH_RUN_ID - Fill argument 03 with initial value?

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

X_OBJECT_TYPE - Fill argument 04 with initial value?

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

X_OBJECT_NAME - Fill argument 05 with initial value?

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

X_PROGNAME - Fill argument 06 with initial value?

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

X_TYPE_OF_SEARCH - Fill argument 07 with initial value?

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

X_DISPLAY_FLAG - Fill argument 08 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: DDENQCOLL
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

MANDT - 01th enqueue argument

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

PROJECT_ID - 02th enqueue argument

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

SEARCH_RUN_ID - 03th enqueue argument

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

OBJECT_TYPE - 04th enqueue argument

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

OBJECT_NAME - 05th enqueue argument

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

PROGNAME - 06th enqueue argument

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

TYPE_OF_SEARCH - 07th enqueue argument

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

DISPLAY_FLAG - 08th enqueue argument

Data type: CNV_10993_OBJECT-DISPLAY_FLAG
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_E_CNV10993OBJECT 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_foreign_lock  TYPE STRING, "   
lv_mode_cnv_10993_object  TYPE ENQMODE, "   'E'
lv_x_project_id  TYPE ENQMODE, "   SPACE
lv_x_search_run_id  TYPE ENQMODE, "   SPACE
lv_x_object_type  TYPE ENQMODE, "   SPACE
lv_x_object_name  TYPE ENQMODE, "   SPACE
lv_x_progname  TYPE ENQMODE, "   SPACE
lv_x_type_of_search  TYPE ENQMODE, "   SPACE
lv_x_display_flag  TYPE ENQMODE, "   SPACE
lv__scope  TYPE ENQMODE, "   '2'
lv__wait  TYPE ENQMODE, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_mandt  TYPE CNV_10993_OBJECT-MANDT, "   SY-MANDT
lv_system_failure  TYPE CNV_10993_OBJECT, "   
lv_project_id  TYPE CNV_10993_OBJECT-PROJECT_ID, "   
lv_search_run_id  TYPE CNV_10993_OBJECT-SEARCH_RUN_ID, "   
lv_object_type  TYPE CNV_10993_OBJECT-OBJECT_TYPE, "   
lv_object_name  TYPE CNV_10993_OBJECT-OBJECT_NAME, "   
lv_progname  TYPE CNV_10993_OBJECT-PROGNAME, "   
lv_type_of_search  TYPE CNV_10993_OBJECT-TYPE_OF_SEARCH, "   
lv_display_flag  TYPE CNV_10993_OBJECT-DISPLAY_FLAG. "   

  CALL FUNCTION 'ENQUEUE_E_CNV10993OBJECT'  "Request lock for object E_CNV10993OBJECT
    EXPORTING
         MODE_CNV_10993_OBJECT = lv_mode_cnv_10993_object
         X_PROJECT_ID = lv_x_project_id
         X_SEARCH_RUN_ID = lv_x_search_run_id
         X_OBJECT_TYPE = lv_x_object_type
         X_OBJECT_NAME = lv_x_object_name
         X_PROGNAME = lv_x_progname
         X_TYPE_OF_SEARCH = lv_x_type_of_search
         X_DISPLAY_FLAG = lv_x_display_flag
         _SCOPE = lv__scope
         _WAIT = lv__wait
         _COLLECT = lv__collect
         MANDT = lv_mandt
         PROJECT_ID = lv_project_id
         SEARCH_RUN_ID = lv_search_run_id
         OBJECT_TYPE = lv_object_type
         OBJECT_NAME = lv_object_name
         PROGNAME = lv_progname
         TYPE_OF_SEARCH = lv_type_of_search
         DISPLAY_FLAG = lv_display_flag
    EXCEPTIONS
        FOREIGN_LOCK = 1
        SYSTEM_FAILURE = 2
. " ENQUEUE_E_CNV10993OBJECT




ABAP code using 7.40 inline data declarations to call FM ENQUEUE_E_CNV10993OBJECT

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_cnv_10993_object) = 'E'.
 
DATA(ld_x_project_id) = ' '.
 
DATA(ld_x_search_run_id) = ' '.
 
DATA(ld_x_object_type) = ' '.
 
DATA(ld_x_object_name) = ' '.
 
DATA(ld_x_progname) = ' '.
 
DATA(ld_x_type_of_search) = ' '.
 
DATA(ld_x_display_flag) = ' '.
 
DATA(ld__scope) = '2'.
 
DATA(ld__wait) = ' '.
 
DATA(ld__collect) = ' '.
 
"SELECT single MANDT FROM CNV_10993_OBJECT INTO @DATA(ld_mandt).
DATA(ld_mandt) = SY-MANDT.
 
 
"SELECT single PROJECT_ID FROM CNV_10993_OBJECT INTO @DATA(ld_project_id).
 
"SELECT single SEARCH_RUN_ID FROM CNV_10993_OBJECT INTO @DATA(ld_search_run_id).
 
"SELECT single OBJECT_TYPE FROM CNV_10993_OBJECT INTO @DATA(ld_object_type).
 
"SELECT single OBJECT_NAME FROM CNV_10993_OBJECT INTO @DATA(ld_object_name).
 
"SELECT single PROGNAME FROM CNV_10993_OBJECT INTO @DATA(ld_progname).
 
"SELECT single TYPE_OF_SEARCH FROM CNV_10993_OBJECT INTO @DATA(ld_type_of_search).
 
"SELECT single DISPLAY_FLAG FROM CNV_10993_OBJECT INTO @DATA(ld_display_flag).
 


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!