SAP ENQUEUE_ECNV_10020_ADTFL Function Module for Request lock for object ECNV_10020_ADTFL









ENQUEUE_ECNV_10020_ADTFL is a standard enqueue ecnv 10020 adtfl 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 ECNV_10020_ADTFL 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 ecnv 10020 adtfl FM, simply by entering the name ENQUEUE_ECNV_10020_ADTFL into the relevant SAP transaction such as SE37 or SE38.

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



Function ENQUEUE_ECNV_10020_ADTFL 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_ECNV_10020_ADTFL'"Request lock for object ECNV_10020_ADTFL
EXPORTING
* MODE_CNV_10020_ADTFLD = 'E' "Lock mode for table CNV_10020_ADTFLD
* DTOBJ_S = "09th enqueue argument
* PATHID = "10th enqueue argument
* PATHTYPE = "11th enqueue argument
* X_PACKID = ' ' "Fill argument 02 with initial value?
* X_TABNAME = ' ' "Fill argument 03 with initial value?
* X_FIELDNAME = ' ' "Fill argument 04 with initial value?
* X_DTOBJ_TPL = ' ' "Fill argument 05 with initial value?
* X_RELID = ' ' "Fill argument 06 with initial value?
* X_DT_OBJ_S = ' ' "Fill argument 07 with initial value?
* X_DT_TYPE_S = ' ' "Fill argument 08 with initial value?
* MANDT = SY-MANDT "01th enqueue argument
* X_DTOBJ_S = ' ' "Fill argument 09 with initial value?
* X_PATHID = ' ' "Fill argument 10 with initial value?
* X_PATHTYPE = ' ' "Fill argument 11 with initial value?
* _SCOPE = '2' "
* _WAIT = ' ' "
* _COLLECT = ' ' "Initially only collect lock
* PACKID = "02th enqueue argument
* TABNAME = "03th enqueue argument
* FIELDNAME = "04th enqueue argument
* DTOBJ_TPL = "05th enqueue argument
* RELID = "06th enqueue argument
* DT_OBJ_S = "07th enqueue argument
* DT_TYPE_S = "08th enqueue argument

EXCEPTIONS
FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2
.



IMPORTING Parameters details for ENQUEUE_ECNV_10020_ADTFL

MODE_CNV_10020_ADTFLD - Lock mode for table CNV_10020_ADTFLD

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

DTOBJ_S - 09th enqueue argument

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

PATHID - 10th enqueue argument

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

PATHTYPE - 11th enqueue argument

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

X_PACKID - Fill argument 02 with initial value?

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

X_TABNAME - Fill argument 03 with initial value?

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

X_FIELDNAME - Fill argument 04 with initial value?

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

X_DTOBJ_TPL - Fill argument 05 with initial value?

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

X_RELID - Fill argument 06 with initial value?

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

X_DT_OBJ_S - Fill argument 07 with initial value?

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

X_DT_TYPE_S - Fill argument 08 with initial value?

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

MANDT - 01th enqueue argument

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

X_DTOBJ_S - Fill argument 09 with initial value?

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

X_PATHID - Fill argument 10 with initial value?

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

X_PATHTYPE - Fill argument 11 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)

PACKID - 02th enqueue argument

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

TABNAME - 03th enqueue argument

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

FIELDNAME - 04th enqueue argument

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

DTOBJ_TPL - 05th enqueue argument

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

RELID - 06th enqueue argument

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

DT_OBJ_S - 07th enqueue argument

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

DT_TYPE_S - 08th enqueue argument

Data type: CNV_10020_ADTFLD-DT_TYPE_S
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_ECNV_10020_ADTFL 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_10020_adtfld  TYPE ENQMODE, "   'E'
lv_dtobj_s  TYPE CNV_10020_ADTFLD-DTOBJ_S, "   
lv_pathid  TYPE CNV_10020_ADTFLD-PATHID, "   
lv_pathtype  TYPE CNV_10020_ADTFLD-PATHTYPE, "   
lv_x_packid  TYPE CNV_10020_ADTFLD, "   SPACE
lv_x_tabname  TYPE CNV_10020_ADTFLD, "   SPACE
lv_x_fieldname  TYPE CNV_10020_ADTFLD, "   SPACE
lv_x_dtobj_tpl  TYPE CNV_10020_ADTFLD, "   SPACE
lv_x_relid  TYPE CNV_10020_ADTFLD, "   SPACE
lv_x_dt_obj_s  TYPE CNV_10020_ADTFLD, "   SPACE
lv_x_dt_type_s  TYPE CNV_10020_ADTFLD, "   SPACE
lv_mandt  TYPE CNV_10020_ADTFLD-MANDT, "   SY-MANDT
lv_system_failure  TYPE CNV_10020_ADTFLD, "   
lv_x_dtobj_s  TYPE CNV_10020_ADTFLD, "   SPACE
lv_x_pathid  TYPE CNV_10020_ADTFLD, "   SPACE
lv_x_pathtype  TYPE CNV_10020_ADTFLD, "   SPACE
lv__scope  TYPE CNV_10020_ADTFLD, "   '2'
lv__wait  TYPE CNV_10020_ADTFLD, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_packid  TYPE CNV_10020_ADTFLD-PACKID, "   
lv_tabname  TYPE CNV_10020_ADTFLD-TABNAME, "   
lv_fieldname  TYPE CNV_10020_ADTFLD-FIELDNAME, "   
lv_dtobj_tpl  TYPE CNV_10020_ADTFLD-DTOBJ_TPL, "   
lv_relid  TYPE CNV_10020_ADTFLD-RELID, "   
lv_dt_obj_s  TYPE CNV_10020_ADTFLD-DT_OBJ_S, "   
lv_dt_type_s  TYPE CNV_10020_ADTFLD-DT_TYPE_S. "   

  CALL FUNCTION 'ENQUEUE_ECNV_10020_ADTFL'  "Request lock for object ECNV_10020_ADTFL
    EXPORTING
         MODE_CNV_10020_ADTFLD = lv_mode_cnv_10020_adtfld
         DTOBJ_S = lv_dtobj_s
         PATHID = lv_pathid
         PATHTYPE = lv_pathtype
         X_PACKID = lv_x_packid
         X_TABNAME = lv_x_tabname
         X_FIELDNAME = lv_x_fieldname
         X_DTOBJ_TPL = lv_x_dtobj_tpl
         X_RELID = lv_x_relid
         X_DT_OBJ_S = lv_x_dt_obj_s
         X_DT_TYPE_S = lv_x_dt_type_s
         MANDT = lv_mandt
         X_DTOBJ_S = lv_x_dtobj_s
         X_PATHID = lv_x_pathid
         X_PATHTYPE = lv_x_pathtype
         _SCOPE = lv__scope
         _WAIT = lv__wait
         _COLLECT = lv__collect
         PACKID = lv_packid
         TABNAME = lv_tabname
         FIELDNAME = lv_fieldname
         DTOBJ_TPL = lv_dtobj_tpl
         RELID = lv_relid
         DT_OBJ_S = lv_dt_obj_s
         DT_TYPE_S = lv_dt_type_s
    EXCEPTIONS
        FOREIGN_LOCK = 1
        SYSTEM_FAILURE = 2
. " ENQUEUE_ECNV_10020_ADTFL




ABAP code using 7.40 inline data declarations to call FM ENQUEUE_ECNV_10020_ADTFL

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_10020_adtfld) = 'E'.
 
"SELECT single DTOBJ_S FROM CNV_10020_ADTFLD INTO @DATA(ld_dtobj_s).
 
"SELECT single PATHID FROM CNV_10020_ADTFLD INTO @DATA(ld_pathid).
 
"SELECT single PATHTYPE FROM CNV_10020_ADTFLD INTO @DATA(ld_pathtype).
 
DATA(ld_x_packid) = ' '.
 
DATA(ld_x_tabname) = ' '.
 
DATA(ld_x_fieldname) = ' '.
 
DATA(ld_x_dtobj_tpl) = ' '.
 
DATA(ld_x_relid) = ' '.
 
DATA(ld_x_dt_obj_s) = ' '.
 
DATA(ld_x_dt_type_s) = ' '.
 
"SELECT single MANDT FROM CNV_10020_ADTFLD INTO @DATA(ld_mandt).
DATA(ld_mandt) = SY-MANDT.
 
 
DATA(ld_x_dtobj_s) = ' '.
 
DATA(ld_x_pathid) = ' '.
 
DATA(ld_x_pathtype) = ' '.
 
DATA(ld__scope) = '2'.
 
DATA(ld__wait) = ' '.
 
DATA(ld__collect) = ' '.
 
"SELECT single PACKID FROM CNV_10020_ADTFLD INTO @DATA(ld_packid).
 
"SELECT single TABNAME FROM CNV_10020_ADTFLD INTO @DATA(ld_tabname).
 
"SELECT single FIELDNAME FROM CNV_10020_ADTFLD INTO @DATA(ld_fieldname).
 
"SELECT single DTOBJ_TPL FROM CNV_10020_ADTFLD INTO @DATA(ld_dtobj_tpl).
 
"SELECT single RELID FROM CNV_10020_ADTFLD INTO @DATA(ld_relid).
 
"SELECT single DT_OBJ_S FROM CNV_10020_ADTFLD INTO @DATA(ld_dt_obj_s).
 
"SELECT single DT_TYPE_S FROM CNV_10020_ADTFLD INTO @DATA(ld_dt_type_s).
 


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!