SAP CSLEO_DEQUEUE Function Module for
CSLEO_DEQUEUE is a standard csleo dequeue SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 csleo dequeue FM, simply by entering the name CSLEO_DEQUEUE into the relevant SAP transaction such as SE37 or SE38.
Function Group: SCLE
Program Name: SAPLSCLE
Main Program:
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function CSLEO_DEQUEUE 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 'CSLEO_DEQUEUE'".
EXPORTING
PLOGSYS = "CSL: Logical System of Lock Object
PDDICENQOBJ = "CSL: DDIC Lock Object of Lock Object
PENQUEUEARGSTRING = "CSL: Concatenated Lock Arguments of Lock Object
* PMONINFO = ' ' "CSL: User-Readable Monitoring Information
* PACTIVATION = ' ' "CSL: Block and Monitoring Activation
* PSCOPE = "CSL: Range of Block: Dialog vs. Posting
* PSYNCHRON = ' ' "CSL: Flag Whether Dequeue to be Synchronous
EXCEPTIONS
NO_LOCK = 1 INCONSISTENCY = 2
IMPORTING Parameters details for CSLEO_DEQUEUE
PLOGSYS - CSL: Logical System of Lock Object
Data type: CSL_DE-EOLSOptional: No
Call by Reference: No ( called with pass by value option)
PDDICENQOBJ - CSL: DDIC Lock Object of Lock Object
Data type: CSL_DE-EODDOptional: No
Call by Reference: No ( called with pass by value option)
PENQUEUEARGSTRING - CSL: Concatenated Lock Arguments of Lock Object
Data type: CSL_DE-EOARGSOptional: No
Call by Reference: No ( called with pass by value option)
PMONINFO - CSL: User-Readable Monitoring Information
Data type: CSL_DE-MIDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
PACTIVATION - CSL: Block and Monitoring Activation
Data type: CSL_DE-ACDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
PSCOPE - CSL: Range of Block: Dialog vs. Posting
Data type: CSL_DE-SCOptional: Yes
Call by Reference: No ( called with pass by value option)
PSYNCHRON - CSL: Flag Whether Dequeue to be Synchronous
Data type: CSL_DE-SNDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_LOCK - Object is not locked
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INCONSISTENCY -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CSLEO_DEQUEUE 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_no_lock | TYPE STRING, " | |||
| lv_plogsys | TYPE CSL_DE-EOLS, " | |||
| lv_pddicenqobj | TYPE CSL_DE-EODD, " | |||
| lv_inconsistency | TYPE CSL_DE, " | |||
| lv_penqueueargstring | TYPE CSL_DE-EOARGS, " | |||
| lv_pmoninfo | TYPE CSL_DE-MI, " SPACE | |||
| lv_pactivation | TYPE CSL_DE-AC, " SPACE | |||
| lv_pscope | TYPE CSL_DE-SC, " | |||
| lv_psynchron | TYPE CSL_DE-SN. " SPACE |
|   CALL FUNCTION 'CSLEO_DEQUEUE' " |
| EXPORTING | ||
| PLOGSYS | = lv_plogsys | |
| PDDICENQOBJ | = lv_pddicenqobj | |
| PENQUEUEARGSTRING | = lv_penqueueargstring | |
| PMONINFO | = lv_pmoninfo | |
| PACTIVATION | = lv_pactivation | |
| PSCOPE | = lv_pscope | |
| PSYNCHRON | = lv_psynchron | |
| EXCEPTIONS | ||
| NO_LOCK = 1 | ||
| INCONSISTENCY = 2 | ||
| . " CSLEO_DEQUEUE | ||
ABAP code using 7.40 inline data declarations to call FM CSLEO_DEQUEUE
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.| "SELECT single EOLS FROM CSL_DE INTO @DATA(ld_plogsys). | ||||
| "SELECT single EODD FROM CSL_DE INTO @DATA(ld_pddicenqobj). | ||||
| "SELECT single EOARGS FROM CSL_DE INTO @DATA(ld_penqueueargstring). | ||||
| "SELECT single MI FROM CSL_DE INTO @DATA(ld_pmoninfo). | ||||
| DATA(ld_pmoninfo) | = ' '. | |||
| "SELECT single AC FROM CSL_DE INTO @DATA(ld_pactivation). | ||||
| DATA(ld_pactivation) | = ' '. | |||
| "SELECT single SC FROM CSL_DE INTO @DATA(ld_pscope). | ||||
| "SELECT single SN FROM CSL_DE INTO @DATA(ld_psynchron). | ||||
| DATA(ld_psynchron) | = ' '. | |||
Search for further information about these or an SAP related objects