SAP ENQUEUE_E_CFENQLIST Function Module for









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

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



Function ENQUEUE_E_CFENQLIST 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_CFENQLIST'"
EXPORTING
* MODE_CFENQLIST = 'E' "
* X_VERSIO = ' ' "
* X_PLACTI = ' ' "
* X_YEARB = ' ' "
* X_PERDE = ' ' "
* X_USRCRIT = ' ' "
* _SCOPE = '2' "
* _WAIT = ' ' "
* _COLLECT = ' ' "
* CLIENT = SY-MANDT "
* ASPET = "
* VERSIO = "
* PLACTI = "
* YEARB = "
* PERDE = "
* USRCRIT = "
* X_ASPET = ' ' "

EXCEPTIONS
FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2
.



IMPORTING Parameters details for ENQUEUE_E_CFENQLIST

MODE_CFENQLIST -

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

X_VERSIO -

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

X_PLACTI -

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

X_YEARB -

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

X_PERDE -

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

X_USRCRIT -

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)

CLIENT -

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

ASPET -

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

VERSIO -

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

PLACTI -

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

YEARB -

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

PERDE -

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

USRCRIT -

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

X_ASPET -

Data type:
Default: SPACE
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_E_CFENQLIST 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_cfenqlist  TYPE DD26E-ENQMODE, "   'E'
lv_x_versio  TYPE DD26E, "   SPACE
lv_x_placti  TYPE DD26E, "   SPACE
lv_x_yearb  TYPE DD26E, "   SPACE
lv_x_perde  TYPE DD26E, "   SPACE
lv_x_usrcrit  TYPE DD26E, "   SPACE
lv__scope  TYPE DD26E, "   '2'
lv__wait  TYPE DD26E, "   SPACE
lv__collect  TYPE DDENQ_LIKE-COLLECT, "   ' '
lv_client  TYPE CFENQLIST-CLIENT, "   SY-MANDT
lv_system_failure  TYPE CFENQLIST, "   
lv_aspet  TYPE CFENQLIST-ASPET, "   
lv_versio  TYPE CFENQLIST-VERSIO, "   
lv_placti  TYPE CFENQLIST-PLACTI, "   
lv_yearb  TYPE CFENQLIST-YEARB, "   
lv_perde  TYPE CFENQLIST-PERDE, "   
lv_usrcrit  TYPE CFENQLIST-USRCRIT, "   
lv_x_aspet  TYPE CFENQLIST. "   SPACE

  CALL FUNCTION 'ENQUEUE_E_CFENQLIST'  "
    EXPORTING
         MODE_CFENQLIST = lv_mode_cfenqlist
         X_VERSIO = lv_x_versio
         X_PLACTI = lv_x_placti
         X_YEARB = lv_x_yearb
         X_PERDE = lv_x_perde
         X_USRCRIT = lv_x_usrcrit
         _SCOPE = lv__scope
         _WAIT = lv__wait
         _COLLECT = lv__collect
         CLIENT = lv_client
         ASPET = lv_aspet
         VERSIO = lv_versio
         PLACTI = lv_placti
         YEARB = lv_yearb
         PERDE = lv_perde
         USRCRIT = lv_usrcrit
         X_ASPET = lv_x_aspet
    EXCEPTIONS
        FOREIGN_LOCK = 1
        SYSTEM_FAILURE = 2
. " ENQUEUE_E_CFENQLIST




ABAP code using 7.40 inline data declarations to call FM ENQUEUE_E_CFENQLIST

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_cfenqlist).
DATA(ld_mode_cfenqlist) = 'E'.
 
DATA(ld_x_versio) = ' '.
 
DATA(ld_x_placti) = ' '.
 
DATA(ld_x_yearb) = ' '.
 
DATA(ld_x_perde) = ' '.
 
DATA(ld_x_usrcrit) = ' '.
 
DATA(ld__scope) = '2'.
 
DATA(ld__wait) = ' '.
 
"SELECT single COLLECT FROM DDENQ_LIKE INTO @DATA(ld__collect).
DATA(ld__collect) = ' '.
 
"SELECT single CLIENT FROM CFENQLIST INTO @DATA(ld_client).
DATA(ld_client) = SY-MANDT.
 
 
"SELECT single ASPET FROM CFENQLIST INTO @DATA(ld_aspet).
 
"SELECT single VERSIO FROM CFENQLIST INTO @DATA(ld_versio).
 
"SELECT single PLACTI FROM CFENQLIST INTO @DATA(ld_placti).
 
"SELECT single YEARB FROM CFENQLIST INTO @DATA(ld_yearb).
 
"SELECT single PERDE FROM CFENQLIST INTO @DATA(ld_perde).
 
"SELECT single USRCRIT FROM CFENQLIST INTO @DATA(ld_usrcrit).
 
DATA(ld_x_aspet) = ' '.
 


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!