SAP DEQUEUE_ES_DFMKT Function Module for Release lock on object ES_DFMKT









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

Function Group: /1BCDWBEN/FEN0002
Program Name: /1BCDWBEN/SAPLFEN0002
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function DEQUEUE_ES_DFMKT 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_ES_DFMKT'"Release lock on object ES_DFMKT
EXPORTING
* MODE_VTB_MARKET = 'E' "Lock mode for table VTB_MARKET
* X_SCLASS = ' ' "Fill argument 02 with initial value?
* X_RKEY1 = ' ' "Fill argument 03 with initial value?
* X_RKEY2 = ' ' "Fill argument 04 with initial value?
* X_SINSTRUMNT = ' ' "Fill argument 05 with initial value?
* X_RFEEDNAME = ' ' "Fill argument 06 with initial value?
* X_RZUSATZ = ' ' "Fill argument 07 with initial value?
* X_SSTATS = ' ' "Fill argument 08 with initial value?
* _SCOPE = '3' "
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* MANDT = SY-MANDT "01th enqueue argument
* SCLASS = "02th enqueue argument
* RKEY1 = "03th enqueue argument
* RKEY2 = "04th enqueue argument
* SINSTRUMNT = "05th enqueue argument
* RFEEDNAME = "06th enqueue argument
* RZUSATZ = "07th enqueue argument
* SSTATS = "08th enqueue argument
.



IMPORTING Parameters details for DEQUEUE_ES_DFMKT

MODE_VTB_MARKET - Lock mode for table VTB_MARKET

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

X_SCLASS - Fill argument 02 with initial value?

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

X_RKEY1 - Fill argument 03 with initial value?

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

X_RKEY2 - Fill argument 04 with initial value?

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

X_SINSTRUMNT - Fill argument 05 with initial value?

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

X_RFEEDNAME - Fill argument 06 with initial value?

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

X_RZUSATZ - Fill argument 07 with initial value?

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

X_SSTATS - Fill argument 08 with initial value?

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

_SCOPE -

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

_SYNCHRON - Synchonous unlock

Data type: DDENQSYNC
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: VTB_MARKET-MANDT
Default: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)

SCLASS - 02th enqueue argument

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

RKEY1 - 03th enqueue argument

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

RKEY2 - 04th enqueue argument

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

SINSTRUMNT - 05th enqueue argument

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

RFEEDNAME - 06th enqueue argument

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

RZUSATZ - 07th enqueue argument

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

SSTATS - 08th enqueue argument

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

Copy and paste ABAP code example for DEQUEUE_ES_DFMKT 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_vtb_market  TYPE ENQMODE, "   'E'
lv_x_sclass  TYPE DDENQXPAR, "   SPACE
lv_x_rkey1  TYPE DDENQXPAR, "   SPACE
lv_x_rkey2  TYPE DDENQXPAR, "   SPACE
lv_x_sinstrumnt  TYPE DDENQXPAR, "   SPACE
lv_x_rfeedname  TYPE DDENQXPAR, "   SPACE
lv_x_rzusatz  TYPE DDENQXPAR, "   SPACE
lv_x_sstats  TYPE DDENQXPAR, "   SPACE
lv__scope  TYPE DDENQSCOPE, "   '3'
lv__synchron  TYPE DDENQSYNC, "   SPACE
lv__collect  TYPE DDENQCOLL, "   ' '
lv_mandt  TYPE VTB_MARKET-MANDT, "   SY-MANDT
lv_sclass  TYPE VTB_MARKET-SCLASS, "   
lv_rkey1  TYPE VTB_MARKET-RKEY1, "   
lv_rkey2  TYPE VTB_MARKET-RKEY2, "   
lv_sinstrumnt  TYPE VTB_MARKET-SINSTRUMNT, "   
lv_rfeedname  TYPE VTB_MARKET-RFEEDNAME, "   
lv_rzusatz  TYPE VTB_MARKET-RZUSATZ, "   
lv_sstats  TYPE VTB_MARKET-SSTATS. "   

  CALL FUNCTION 'DEQUEUE_ES_DFMKT'  "Release lock on object ES_DFMKT
    EXPORTING
         MODE_VTB_MARKET = lv_mode_vtb_market
         X_SCLASS = lv_x_sclass
         X_RKEY1 = lv_x_rkey1
         X_RKEY2 = lv_x_rkey2
         X_SINSTRUMNT = lv_x_sinstrumnt
         X_RFEEDNAME = lv_x_rfeedname
         X_RZUSATZ = lv_x_rzusatz
         X_SSTATS = lv_x_sstats
         _SCOPE = lv__scope
         _SYNCHRON = lv__synchron
         _COLLECT = lv__collect
         MANDT = lv_mandt
         SCLASS = lv_sclass
         RKEY1 = lv_rkey1
         RKEY2 = lv_rkey2
         SINSTRUMNT = lv_sinstrumnt
         RFEEDNAME = lv_rfeedname
         RZUSATZ = lv_rzusatz
         SSTATS = lv_sstats
. " DEQUEUE_ES_DFMKT




ABAP code using 7.40 inline data declarations to call FM DEQUEUE_ES_DFMKT

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_vtb_market) = 'E'.
 
DATA(ld_x_sclass) = ' '.
 
DATA(ld_x_rkey1) = ' '.
 
DATA(ld_x_rkey2) = ' '.
 
DATA(ld_x_sinstrumnt) = ' '.
 
DATA(ld_x_rfeedname) = ' '.
 
DATA(ld_x_rzusatz) = ' '.
 
DATA(ld_x_sstats) = ' '.
 
DATA(ld__scope) = '3'.
 
DATA(ld__synchron) = ' '.
 
DATA(ld__collect) = ' '.
 
"SELECT single MANDT FROM VTB_MARKET INTO @DATA(ld_mandt).
DATA(ld_mandt) = SY-MANDT.
 
"SELECT single SCLASS FROM VTB_MARKET INTO @DATA(ld_sclass).
 
"SELECT single RKEY1 FROM VTB_MARKET INTO @DATA(ld_rkey1).
 
"SELECT single RKEY2 FROM VTB_MARKET INTO @DATA(ld_rkey2).
 
"SELECT single SINSTRUMNT FROM VTB_MARKET INTO @DATA(ld_sinstrumnt).
 
"SELECT single RFEEDNAME FROM VTB_MARKET INTO @DATA(ld_rfeedname).
 
"SELECT single RZUSATZ FROM VTB_MARKET INTO @DATA(ld_rzusatz).
 
"SELECT single SSTATS FROM VTB_MARKET INTO @DATA(ld_sstats).
 


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!