SAP DEQUEUE_E_SWNCMONIINDEX Function Module for Release lock on object E_SWNCMONIINDEX
DEQUEUE_E_SWNCMONIINDEX is a standard dequeue e swncmoniindex 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 E_SWNCMONIINDEX 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 e swncmoniindex FM, simply by entering the name DEQUEUE_E_SWNCMONIINDEX into the relevant SAP transaction such as SE37 or SE38.
Function Group: /1BCDWBEN/SEN0012
Program Name: /1BCDWBEN/SAPLSEN0012
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function DEQUEUE_E_SWNCMONIINDEX 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_E_SWNCMONIINDEX'"Release lock on object E_SWNCMONIINDEX.
EXPORTING
* MODE_SWNCMONIINDEX = 'X' "Lock mode for table SWNCMONIINDEX
* X_PERIODTYPE = ' ' "Fill argument 04 with initial value?
* X_PERIODSTRT = ' ' "Fill argument 05 with initial value?
* _SCOPE = '3' "
* _SYNCHRON = ' ' "Synchonous unlock
* _COLLECT = ' ' "Initially only collect lock
* COMPONENT = "01th enqueue argument
* COMPTYPE = "02th enqueue argument
* ASSIGNDSYS = "03th enqueue argument
* PERIODTYPE = "04th enqueue argument
* PERIODSTRT = "05th enqueue argument
* X_COMPONENT = ' ' "Fill argument 01 with initial value?
* X_COMPTYPE = ' ' "Fill argument 02 with initial value?
* X_ASSIGNDSYS = ' ' "Fill argument 03 with initial value?
IMPORTING Parameters details for DEQUEUE_E_SWNCMONIINDEX
MODE_SWNCMONIINDEX - Lock mode for table SWNCMONIINDEX
Data type: ENQMODEDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_PERIODTYPE - Fill argument 04 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_PERIODSTRT - Fill argument 05 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: DDENQCOLLDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
COMPONENT - 01th enqueue argument
Data type: SWNCMONIINDEX-COMPONENTOptional: Yes
Call by Reference: No ( called with pass by value option)
COMPTYPE - 02th enqueue argument
Data type: SWNCMONIINDEX-COMPTYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
ASSIGNDSYS - 03th enqueue argument
Data type: SWNCMONIINDEX-ASSIGNDSYSOptional: Yes
Call by Reference: No ( called with pass by value option)
PERIODTYPE - 04th enqueue argument
Data type: SWNCMONIINDEX-PERIODTYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
PERIODSTRT - 05th enqueue argument
Data type: SWNCMONIINDEX-PERIODSTRTOptional: Yes
Call by Reference: No ( called with pass by value option)
X_COMPONENT - Fill argument 01 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_COMPTYPE - Fill argument 02 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
X_ASSIGNDSYS - Fill argument 03 with initial value?
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for DEQUEUE_E_SWNCMONIINDEX 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_swncmoniindex | TYPE ENQMODE, " 'X' | |||
| lv_x_periodtype | TYPE ENQMODE, " SPACE | |||
| lv_x_periodstrt | TYPE ENQMODE, " SPACE | |||
| lv__scope | TYPE ENQMODE, " '3' | |||
| lv__synchron | TYPE ENQMODE, " SPACE | |||
| lv__collect | TYPE DDENQCOLL, " ' ' | |||
| lv_component | TYPE SWNCMONIINDEX-COMPONENT, " | |||
| lv_comptype | TYPE SWNCMONIINDEX-COMPTYPE, " | |||
| lv_assigndsys | TYPE SWNCMONIINDEX-ASSIGNDSYS, " | |||
| lv_periodtype | TYPE SWNCMONIINDEX-PERIODTYPE, " | |||
| lv_periodstrt | TYPE SWNCMONIINDEX-PERIODSTRT, " | |||
| lv_x_component | TYPE SWNCMONIINDEX, " SPACE | |||
| lv_x_comptype | TYPE SWNCMONIINDEX, " SPACE | |||
| lv_x_assigndsys | TYPE SWNCMONIINDEX. " SPACE |
|   CALL FUNCTION 'DEQUEUE_E_SWNCMONIINDEX' "Release lock on object E_SWNCMONIINDEX |
| EXPORTING | ||
| MODE_SWNCMONIINDEX | = lv_mode_swncmoniindex | |
| X_PERIODTYPE | = lv_x_periodtype | |
| X_PERIODSTRT | = lv_x_periodstrt | |
| _SCOPE | = lv__scope | |
| _SYNCHRON | = lv__synchron | |
| _COLLECT | = lv__collect | |
| COMPONENT | = lv_component | |
| COMPTYPE | = lv_comptype | |
| ASSIGNDSYS | = lv_assigndsys | |
| PERIODTYPE | = lv_periodtype | |
| PERIODSTRT | = lv_periodstrt | |
| X_COMPONENT | = lv_x_component | |
| X_COMPTYPE | = lv_x_comptype | |
| X_ASSIGNDSYS | = lv_x_assigndsys | |
| . " DEQUEUE_E_SWNCMONIINDEX | ||
ABAP code using 7.40 inline data declarations to call FM DEQUEUE_E_SWNCMONIINDEX
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_swncmoniindex) | = 'X'. | |||
| DATA(ld_x_periodtype) | = ' '. | |||
| DATA(ld_x_periodstrt) | = ' '. | |||
| DATA(ld__scope) | = '3'. | |||
| DATA(ld__synchron) | = ' '. | |||
| DATA(ld__collect) | = ' '. | |||
| "SELECT single COMPONENT FROM SWNCMONIINDEX INTO @DATA(ld_component). | ||||
| "SELECT single COMPTYPE FROM SWNCMONIINDEX INTO @DATA(ld_comptype). | ||||
| "SELECT single ASSIGNDSYS FROM SWNCMONIINDEX INTO @DATA(ld_assigndsys). | ||||
| "SELECT single PERIODTYPE FROM SWNCMONIINDEX INTO @DATA(ld_periodtype). | ||||
| "SELECT single PERIODSTRT FROM SWNCMONIINDEX INTO @DATA(ld_periodstrt). | ||||
| DATA(ld_x_component) | = ' '. | |||
| DATA(ld_x_comptype) | = ' '. | |||
| DATA(ld_x_assigndsys) | = ' '. | |||
Search for further information about these or an SAP related objects