SAP ENQUEUE_EKCCSSE Function Module for Request lock for object EKCCSSE









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

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



Function ENQUEUE_EKCCSSE 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_EKCCSSE'"Request lock for object EKCCSSE
EXPORTING
* MODE_CCSS = 'E' "Lock mode for table CCSS
* VRGNG = "09th enqueue argument
* LSTAR = "10th enqueue argument
* STAGR = "11th enqueue argument
* PAROB = "12th enqueue argument
* BEKNZ = "13th enqueue argument
* TWAER = "14th enqueue argument
* BUPER = "15th enqueue argument
* KOKRS = "16th enqueue argument
* SLSTA = "17th enqueue argument
* X_LEDNR = ' ' "Fill argument 02 with initial value?
* MANDT = SY-MANDT "01th enqueue argument
* X_OBJNR = ' ' "Fill argument 03 with initial value?
* X_GJAHR = ' ' "Fill argument 04 with initial value?
* X_WRTTP = ' ' "Fill argument 05 with initial value?
* X_VERSN = ' ' "Fill argument 06 with initial value?
* X_KSTAR = ' ' "Fill argument 07 with initial value?
* X_HRKFT = ' ' "Fill argument 08 with initial value?
* X_VRGNG = ' ' "Fill argument 09 with initial value?
* X_LSTAR = ' ' "Fill argument 10 with initial value?
* X_STAGR = ' ' "Fill argument 11 with initial value?
* X_PAROB = ' ' "Fill argument 12 with initial value?
* LEDNR = "02th enqueue argument
* X_BEKNZ = ' ' "Fill argument 13 with initial value?
* X_TWAER = ' ' "Fill argument 14 with initial value?
* X_BUPER = ' ' "Fill argument 15 with initial value?
* X_KOKRS = ' ' "Fill argument 16 with initial value?
* X_SLSTA = ' ' "Fill argument 17 with initial value?
* _SCOPE = '2' "
* _WAIT = ' ' "
* _COLLECT = ' ' "Initially only collect lock
* OBJNR = "03th enqueue argument
* GJAHR = "04th enqueue argument
* WRTTP = "05th enqueue argument
* VERSN = "06th enqueue argument
* KSTAR = "07th enqueue argument
* HRKFT = "08th enqueue argument

EXCEPTIONS
FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2
.



IMPORTING Parameters details for ENQUEUE_EKCCSSE

MODE_CCSS - Lock mode for table CCSS

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

VRGNG - 09th enqueue argument

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

LSTAR - 10th enqueue argument

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

STAGR - 11th enqueue argument

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

PAROB - 12th enqueue argument

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

BEKNZ - 13th enqueue argument

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

TWAER - 14th enqueue argument

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

BUPER - 15th enqueue argument

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

KOKRS - 16th enqueue argument

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

SLSTA - 17th enqueue argument

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

X_LEDNR - Fill argument 02 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: CCSS-MANDT
Default: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_OBJNR - Fill argument 03 with initial value?

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

X_GJAHR - Fill argument 04 with initial value?

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

X_WRTTP - Fill argument 05 with initial value?

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

X_VERSN - Fill argument 06 with initial value?

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

X_KSTAR - Fill argument 07 with initial value?

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

X_HRKFT - Fill argument 08 with initial value?

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

X_VRGNG - Fill argument 09 with initial value?

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

X_LSTAR - Fill argument 10 with initial value?

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

X_STAGR - Fill argument 11 with initial value?

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

X_PAROB - Fill argument 12 with initial value?

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

LEDNR - 02th enqueue argument

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

X_BEKNZ - Fill argument 13 with initial value?

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

X_TWAER - Fill argument 14 with initial value?

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

X_BUPER - Fill argument 15 with initial value?

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

X_KOKRS - Fill argument 16 with initial value?

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

X_SLSTA - Fill argument 17 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)

OBJNR - 03th enqueue argument

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

GJAHR - 04th enqueue argument

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

WRTTP - 05th enqueue argument

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

VERSN - 06th enqueue argument

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

KSTAR - 07th enqueue argument

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

HRKFT - 08th enqueue argument

Data type: CCSS-HRKFT
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_EKCCSSE 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_ccss  TYPE ENQMODE, "   'E'
lv_foreign_lock  TYPE ENQMODE, "   
lv_vrgng  TYPE CCSS-VRGNG, "   
lv_lstar  TYPE CCSS-LSTAR, "   
lv_stagr  TYPE CCSS-STAGR, "   
lv_parob  TYPE CCSS-PAROB, "   
lv_beknz  TYPE CCSS-BEKNZ, "   
lv_twaer  TYPE CCSS-TWAER, "   
lv_buper  TYPE CCSS-BUPER, "   
lv_kokrs  TYPE CCSS-KOKRS, "   
lv_slsta  TYPE CCSS-SLSTA, "   
lv_x_lednr  TYPE CCSS, "   SPACE
lv_mandt  TYPE CCSS-MANDT, "   SY-MANDT
lv_system_failure  TYPE CCSS, "   
lv_x_objnr  TYPE CCSS, "   SPACE
lv_x_gjahr  TYPE CCSS, "   SPACE
lv_x_wrttp  TYPE CCSS, "   SPACE
lv_x_versn  TYPE CCSS, "   SPACE
lv_x_kstar  TYPE CCSS, "   SPACE
lv_x_hrkft  TYPE CCSS, "   SPACE
lv_x_vrgng  TYPE CCSS, "   SPACE
lv_x_lstar  TYPE CCSS, "   SPACE
lv_x_stagr  TYPE CCSS, "   SPACE
lv_x_parob  TYPE CCSS, "   SPACE
lv_lednr  TYPE CCSS-LEDNR, "   
lv_x_beknz  TYPE CCSS, "   SPACE
lv_x_twaer  TYPE CCSS, "   SPACE
lv_x_buper  TYPE CCSS, "   SPACE
lv_x_kokrs  TYPE CCSS, "   SPACE
lv_x_slsta  TYPE CCSS, "   SPACE
lv__scope  TYPE CCSS, "   '2'
lv__wait  TYPE CCSS, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_objnr  TYPE CCSS-OBJNR, "   
lv_gjahr  TYPE CCSS-GJAHR, "   
lv_wrttp  TYPE CCSS-WRTTP, "   
lv_versn  TYPE CCSS-VERSN, "   
lv_kstar  TYPE CCSS-KSTAR, "   
lv_hrkft  TYPE CCSS-HRKFT. "   

  CALL FUNCTION 'ENQUEUE_EKCCSSE'  "Request lock for object EKCCSSE
    EXPORTING
         MODE_CCSS = lv_mode_ccss
         VRGNG = lv_vrgng
         LSTAR = lv_lstar
         STAGR = lv_stagr
         PAROB = lv_parob
         BEKNZ = lv_beknz
         TWAER = lv_twaer
         BUPER = lv_buper
         KOKRS = lv_kokrs
         SLSTA = lv_slsta
         X_LEDNR = lv_x_lednr
         MANDT = lv_mandt
         X_OBJNR = lv_x_objnr
         X_GJAHR = lv_x_gjahr
         X_WRTTP = lv_x_wrttp
         X_VERSN = lv_x_versn
         X_KSTAR = lv_x_kstar
         X_HRKFT = lv_x_hrkft
         X_VRGNG = lv_x_vrgng
         X_LSTAR = lv_x_lstar
         X_STAGR = lv_x_stagr
         X_PAROB = lv_x_parob
         LEDNR = lv_lednr
         X_BEKNZ = lv_x_beknz
         X_TWAER = lv_x_twaer
         X_BUPER = lv_x_buper
         X_KOKRS = lv_x_kokrs
         X_SLSTA = lv_x_slsta
         _SCOPE = lv__scope
         _WAIT = lv__wait
         _COLLECT = lv__collect
         OBJNR = lv_objnr
         GJAHR = lv_gjahr
         WRTTP = lv_wrttp
         VERSN = lv_versn
         KSTAR = lv_kstar
         HRKFT = lv_hrkft
    EXCEPTIONS
        FOREIGN_LOCK = 1
        SYSTEM_FAILURE = 2
. " ENQUEUE_EKCCSSE




ABAP code using 7.40 inline data declarations to call FM ENQUEUE_EKCCSSE

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_ccss) = 'E'.
 
 
"SELECT single VRGNG FROM CCSS INTO @DATA(ld_vrgng).
 
"SELECT single LSTAR FROM CCSS INTO @DATA(ld_lstar).
 
"SELECT single STAGR FROM CCSS INTO @DATA(ld_stagr).
 
"SELECT single PAROB FROM CCSS INTO @DATA(ld_parob).
 
"SELECT single BEKNZ FROM CCSS INTO @DATA(ld_beknz).
 
"SELECT single TWAER FROM CCSS INTO @DATA(ld_twaer).
 
"SELECT single BUPER FROM CCSS INTO @DATA(ld_buper).
 
"SELECT single KOKRS FROM CCSS INTO @DATA(ld_kokrs).
 
"SELECT single SLSTA FROM CCSS INTO @DATA(ld_slsta).
 
DATA(ld_x_lednr) = ' '.
 
"SELECT single MANDT FROM CCSS INTO @DATA(ld_mandt).
DATA(ld_mandt) = SY-MANDT.
 
 
DATA(ld_x_objnr) = ' '.
 
DATA(ld_x_gjahr) = ' '.
 
DATA(ld_x_wrttp) = ' '.
 
DATA(ld_x_versn) = ' '.
 
DATA(ld_x_kstar) = ' '.
 
DATA(ld_x_hrkft) = ' '.
 
DATA(ld_x_vrgng) = ' '.
 
DATA(ld_x_lstar) = ' '.
 
DATA(ld_x_stagr) = ' '.
 
DATA(ld_x_parob) = ' '.
 
"SELECT single LEDNR FROM CCSS INTO @DATA(ld_lednr).
 
DATA(ld_x_beknz) = ' '.
 
DATA(ld_x_twaer) = ' '.
 
DATA(ld_x_buper) = ' '.
 
DATA(ld_x_kokrs) = ' '.
 
DATA(ld_x_slsta) = ' '.
 
DATA(ld__scope) = '2'.
 
DATA(ld__wait) = ' '.
 
DATA(ld__collect) = ' '.
 
"SELECT single OBJNR FROM CCSS INTO @DATA(ld_objnr).
 
"SELECT single GJAHR FROM CCSS INTO @DATA(ld_gjahr).
 
"SELECT single WRTTP FROM CCSS INTO @DATA(ld_wrttp).
 
"SELECT single VERSN FROM CCSS INTO @DATA(ld_versn).
 
"SELECT single KSTAR FROM CCSS INTO @DATA(ld_kstar).
 
"SELECT single HRKFT FROM CCSS INTO @DATA(ld_hrkft).
 


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!