SAP DEQUEUE_EFKKLOCK Function Module for Release lock on object EFKKLOCK









DEQUEUE_EFKKLOCK is a standard dequeue efkklock 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 EFKKLOCK 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 efkklock FM, simply by entering the name DEQUEUE_EFKKLOCK into the relevant SAP transaction such as SE37 or SE38.

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



Function DEQUEUE_EFKKLOCK 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_EFKKLOCK'"Release lock on object EFKKLOCK
EXPORTING
* MODE_DFKKLOCKS = 'E' "Lock mode for table DFKKLOCKS
* VKONT = "09th enqueue argument
* X_LOOBJ1 = ' ' "Fill argument 02 with initial value?
* X_LOTYP = ' ' "Fill argument 03 with initial value?
* X_PROID = ' ' "Fill argument 04 with initial value?
* X_LOCKR = ' ' "Fill argument 05 with initial value?
* X_FDATE = ' ' "Fill argument 06 with initial value?
* X_TDATE = ' ' "Fill argument 07 with initial value?
* X_GPART = ' ' "Fill argument 08 with initial value?
* X_VKONT = ' ' "Fill argument 09 with initial value?
* _SCOPE = '3' "
* CLIENT = SY-MANDT "01th enqueue argument
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* LOOBJ1 = "02th enqueue argument
* LOTYP = "03th enqueue argument
* PROID = "04th enqueue argument
* LOCKR = "05th enqueue argument
* FDATE = "06th enqueue argument
* TDATE = "07th enqueue argument
* GPART = "08th enqueue argument
.



IMPORTING Parameters details for DEQUEUE_EFKKLOCK

MODE_DFKKLOCKS - Lock mode for table DFKKLOCKS

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

VKONT - 09th enqueue argument

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

X_LOOBJ1 - Fill argument 02 with initial value?

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

X_LOTYP - Fill argument 03 with initial value?

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

X_PROID - Fill argument 04 with initial value?

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

X_LOCKR - Fill argument 05 with initial value?

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

X_FDATE - Fill argument 06 with initial value?

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

X_TDATE - Fill argument 07 with initial value?

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

X_GPART - Fill argument 08 with initial value?

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

X_VKONT - Fill argument 09 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)

CLIENT - 01th enqueue argument

Data type: DFKKLOCKS-CLIENT
Default: SY-MANDT
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)

LOOBJ1 - 02th enqueue argument

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

LOTYP - 03th enqueue argument

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

PROID - 04th enqueue argument

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

LOCKR - 05th enqueue argument

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

FDATE - 06th enqueue argument

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

TDATE - 07th enqueue argument

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

GPART - 08th enqueue argument

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

Copy and paste ABAP code example for DEQUEUE_EFKKLOCK 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_dfkklocks  TYPE ENQMODE, "   'E'
lv_vkont  TYPE DFKKLOCKS-VKONT, "   
lv_x_loobj1  TYPE DFKKLOCKS, "   SPACE
lv_x_lotyp  TYPE DFKKLOCKS, "   SPACE
lv_x_proid  TYPE DFKKLOCKS, "   SPACE
lv_x_lockr  TYPE DFKKLOCKS, "   SPACE
lv_x_fdate  TYPE DFKKLOCKS, "   SPACE
lv_x_tdate  TYPE DFKKLOCKS, "   SPACE
lv_x_gpart  TYPE DFKKLOCKS, "   SPACE
lv_x_vkont  TYPE DFKKLOCKS, "   SPACE
lv__scope  TYPE DFKKLOCKS, "   '3'
lv_client  TYPE DFKKLOCKS-CLIENT, "   SY-MANDT
lv__synchron  TYPE DFKKLOCKS, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_loobj1  TYPE DFKKLOCKS-LOOBJ1, "   
lv_lotyp  TYPE DFKKLOCKS-LOTYP, "   
lv_proid  TYPE DFKKLOCKS-PROID, "   
lv_lockr  TYPE DFKKLOCKS-LOCKR, "   
lv_fdate  TYPE DFKKLOCKS-FDATE, "   
lv_tdate  TYPE DFKKLOCKS-TDATE, "   
lv_gpart  TYPE DFKKLOCKS-GPART. "   

  CALL FUNCTION 'DEQUEUE_EFKKLOCK'  "Release lock on object EFKKLOCK
    EXPORTING
         MODE_DFKKLOCKS = lv_mode_dfkklocks
         VKONT = lv_vkont
         X_LOOBJ1 = lv_x_loobj1
         X_LOTYP = lv_x_lotyp
         X_PROID = lv_x_proid
         X_LOCKR = lv_x_lockr
         X_FDATE = lv_x_fdate
         X_TDATE = lv_x_tdate
         X_GPART = lv_x_gpart
         X_VKONT = lv_x_vkont
         _SCOPE = lv__scope
         CLIENT = lv_client
         _SYNCHRON = lv__synchron
         _COLLECT = lv__collect
         LOOBJ1 = lv_loobj1
         LOTYP = lv_lotyp
         PROID = lv_proid
         LOCKR = lv_lockr
         FDATE = lv_fdate
         TDATE = lv_tdate
         GPART = lv_gpart
. " DEQUEUE_EFKKLOCK




ABAP code using 7.40 inline data declarations to call FM DEQUEUE_EFKKLOCK

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_dfkklocks) = 'E'.
 
"SELECT single VKONT FROM DFKKLOCKS INTO @DATA(ld_vkont).
 
DATA(ld_x_loobj1) = ' '.
 
DATA(ld_x_lotyp) = ' '.
 
DATA(ld_x_proid) = ' '.
 
DATA(ld_x_lockr) = ' '.
 
DATA(ld_x_fdate) = ' '.
 
DATA(ld_x_tdate) = ' '.
 
DATA(ld_x_gpart) = ' '.
 
DATA(ld_x_vkont) = ' '.
 
DATA(ld__scope) = '3'.
 
"SELECT single CLIENT FROM DFKKLOCKS INTO @DATA(ld_client).
DATA(ld_client) = SY-MANDT.
 
DATA(ld__synchron) = ' '.
 
DATA(ld__collect) = ' '.
 
"SELECT single LOOBJ1 FROM DFKKLOCKS INTO @DATA(ld_loobj1).
 
"SELECT single LOTYP FROM DFKKLOCKS INTO @DATA(ld_lotyp).
 
"SELECT single PROID FROM DFKKLOCKS INTO @DATA(ld_proid).
 
"SELECT single LOCKR FROM DFKKLOCKS INTO @DATA(ld_lockr).
 
"SELECT single FDATE FROM DFKKLOCKS INTO @DATA(ld_fdate).
 
"SELECT single TDATE FROM DFKKLOCKS INTO @DATA(ld_tdate).
 
"SELECT single GPART FROM DFKKLOCKS INTO @DATA(ld_gpart).
 


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!