SAP DEQUEUE_/SAPSLL/ECORREF Function Module for Release lock on object /SAPSLL/ECORREF









DEQUEUE_/SAPSLL/ECORREF is a standard dequeue /sapsll/ecorref 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 /SAPSLL/ECORREF 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 /sapsll/ecorref FM, simply by entering the name DEQUEUE_/SAPSLL/ECORREF into the relevant SAP transaction such as SE37 or SE38.

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



Function DEQUEUE_/SAPSLL/ECORREF 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_/SAPSLL/ECORREF'"Release lock on object /SAPSLL/ECORREF
EXPORTING
* MODE_/SAPSLL/CORREF_ENQ_S = 'E' "Lock mode for table /SAPSLL/CORREF_ENQ_S
* X_QALREF = ' ' "Fill argument 02 with initial value?
* X_REFNO = ' ' "Fill argument 03 with initial value?
* X_REFAPP = ' ' "Fill argument 04 with initial value?
* X_REFDT = ' ' "Fill argument 05 with initial value?
* X_ORGLOGSYS = ' ' "Fill argument 06 with initial value?
* X_OBJTP = ' ' "Fill argument 07 with initial value?
* X_BTDTC = ' ' "Fill argument 08 with initial value?
* _SCOPE = '3' "
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* MANDT = SY-MANDT "01th enqueue argument
* QALREF = "02th enqueue argument
* REFNO = "03th enqueue argument
* REFAPP = "04th enqueue argument
* REFDT = "05th enqueue argument
* ORGLOGSYS = "06th enqueue argument
* OBJTP = "07th enqueue argument
* BTDTC = "08th enqueue argument
.



IMPORTING Parameters details for DEQUEUE_/SAPSLL/ECORREF

MODE_/SAPSLL/CORREF_ENQ_S - Lock mode for table /SAPSLL/CORREF_ENQ_S

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

X_QALREF - Fill argument 02 with initial value?

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

X_REFNO - Fill argument 03 with initial value?

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

X_REFAPP - Fill argument 04 with initial value?

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

X_REFDT - Fill argument 05 with initial value?

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

X_ORGLOGSYS - Fill argument 06 with initial value?

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

X_OBJTP - Fill argument 07 with initial value?

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

X_BTDTC - 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: '3'
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)

MANDT - 01th enqueue argument

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

QALREF - 02th enqueue argument

Data type: /SAPSLL/CORREF_ENQ_S-QALREF
Optional: Yes
Call by Reference: No ( called with pass by value option)

REFNO - 03th enqueue argument

Data type: /SAPSLL/CORREF_ENQ_S-REFNO
Optional: Yes
Call by Reference: No ( called with pass by value option)

REFAPP - 04th enqueue argument

Data type: /SAPSLL/CORREF_ENQ_S-REFAPP
Optional: Yes
Call by Reference: No ( called with pass by value option)

REFDT - 05th enqueue argument

Data type: /SAPSLL/CORREF_ENQ_S-REFDT
Optional: Yes
Call by Reference: No ( called with pass by value option)

ORGLOGSYS - 06th enqueue argument

Data type: /SAPSLL/CORREF_ENQ_S-ORGLOGSYS
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJTP - 07th enqueue argument

Data type: /SAPSLL/CORREF_ENQ_S-OBJTP
Optional: Yes
Call by Reference: No ( called with pass by value option)

BTDTC - 08th enqueue argument

Data type: /SAPSLL/CORREF_ENQ_S-BTDTC
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for DEQUEUE_/SAPSLL/ECORREF 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_/sapsll/corref_enq_s  TYPE ENQMODE, "   'E'
lv_x_qalref  TYPE ENQMODE, "   SPACE
lv_x_refno  TYPE ENQMODE, "   SPACE
lv_x_refapp  TYPE ENQMODE, "   SPACE
lv_x_refdt  TYPE ENQMODE, "   SPACE
lv_x_orglogsys  TYPE ENQMODE, "   SPACE
lv_x_objtp  TYPE ENQMODE, "   SPACE
lv_x_btdtc  TYPE ENQMODE, "   SPACE
lv__scope  TYPE ENQMODE, "   '3'
lv__synchron  TYPE ENQMODE, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_mandt  TYPE /SAPSLL/CORREF_ENQ_S-MANDT, "   SY-MANDT
lv_qalref  TYPE /SAPSLL/CORREF_ENQ_S-QALREF, "   
lv_refno  TYPE /SAPSLL/CORREF_ENQ_S-REFNO, "   
lv_refapp  TYPE /SAPSLL/CORREF_ENQ_S-REFAPP, "   
lv_refdt  TYPE /SAPSLL/CORREF_ENQ_S-REFDT, "   
lv_orglogsys  TYPE /SAPSLL/CORREF_ENQ_S-ORGLOGSYS, "   
lv_objtp  TYPE /SAPSLL/CORREF_ENQ_S-OBJTP, "   
lv_btdtc  TYPE /SAPSLL/CORREF_ENQ_S-BTDTC. "   

  CALL FUNCTION 'DEQUEUE_/SAPSLL/ECORREF'  "Release lock on object /SAPSLL/ECORREF
    EXPORTING
         MODE_/SAPSLL/CORREF_ENQ_S = lv_mode_/sapsll/corref_enq_s
         X_QALREF = lv_x_qalref
         X_REFNO = lv_x_refno
         X_REFAPP = lv_x_refapp
         X_REFDT = lv_x_refdt
         X_ORGLOGSYS = lv_x_orglogsys
         X_OBJTP = lv_x_objtp
         X_BTDTC = lv_x_btdtc
         _SCOPE = lv__scope
         _SYNCHRON = lv__synchron
         _COLLECT = lv__collect
         MANDT = lv_mandt
         QALREF = lv_qalref
         REFNO = lv_refno
         REFAPP = lv_refapp
         REFDT = lv_refdt
         ORGLOGSYS = lv_orglogsys
         OBJTP = lv_objtp
         BTDTC = lv_btdtc
. " DEQUEUE_/SAPSLL/ECORREF




ABAP code using 7.40 inline data declarations to call FM DEQUEUE_/SAPSLL/ECORREF

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_/sapsll/corref_enq_s) = 'E'.
 
DATA(ld_x_qalref) = ' '.
 
DATA(ld_x_refno) = ' '.
 
DATA(ld_x_refapp) = ' '.
 
DATA(ld_x_refdt) = ' '.
 
DATA(ld_x_orglogsys) = ' '.
 
DATA(ld_x_objtp) = ' '.
 
DATA(ld_x_btdtc) = ' '.
 
DATA(ld__scope) = '3'.
 
DATA(ld__synchron) = ' '.
 
DATA(ld__collect) = ' '.
 
"SELECT single MANDT FROM /SAPSLL/CORREF_ENQ_S INTO @DATA(ld_mandt).
DATA(ld_mandt) = SY-MANDT.
 
"SELECT single QALREF FROM /SAPSLL/CORREF_ENQ_S INTO @DATA(ld_qalref).
 
"SELECT single REFNO FROM /SAPSLL/CORREF_ENQ_S INTO @DATA(ld_refno).
 
"SELECT single REFAPP FROM /SAPSLL/CORREF_ENQ_S INTO @DATA(ld_refapp).
 
"SELECT single REFDT FROM /SAPSLL/CORREF_ENQ_S INTO @DATA(ld_refdt).
 
"SELECT single ORGLOGSYS FROM /SAPSLL/CORREF_ENQ_S INTO @DATA(ld_orglogsys).
 
"SELECT single OBJTP FROM /SAPSLL/CORREF_ENQ_S INTO @DATA(ld_objtp).
 
"SELECT single BTDTC FROM /SAPSLL/CORREF_ENQ_S INTO @DATA(ld_btdtc).
 


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!