SAP CSLTM_DEQUEUE_MTLK Function Module for









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

Function Group: SCLT
Program Name: SAPLSCLT
Main Program: SAPLSCLT
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CSLTM_DEQUEUE_MTLK 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 'CSLTM_DEQUEUE_MTLK'"
EXPORTING
PTOKEN = "CSL: Token
* PMODE_CSL_MTLK = 'E' "Lock Mode
* P_SCOPE = '3' "Control lock behavior when calling the update task
* P_SYNCHRON = ' ' "Flag: synchronous unlocking?
* P_COLLECT = ' ' "Flag whether locks should only be collected first

EXCEPTIONS
SYSTEM_FAILURE = 1
.



IMPORTING Parameters details for CSLTM_DEQUEUE_MTLK

PTOKEN - CSL: Token

Data type: CSL_DE-T
Optional: No
Call by Reference: Yes

PMODE_CSL_MTLK - Lock Mode

Data type: DD52D-ENQMODE
Default: 'E'
Optional: Yes
Call by Reference: Yes

P_SCOPE - Control lock behavior when calling the update task

Data type: DDENQ_LIKE-SCOPE
Default: '3'
Optional: Yes
Call by Reference: Yes

P_SYNCHRON - Flag: synchronous unlocking?

Data type: DDENQ_LIKE-SYNCHRON
Default: SPACE
Optional: Yes
Call by Reference: Yes

P_COLLECT - Flag whether locks should only be collected first

Data type: DDENQ_LIKE-COLLECT
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

SYSTEM_FAILURE - Internal Error from Enqueue Server

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

Copy and paste ABAP code example for CSLTM_DEQUEUE_MTLK 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_ptoken  TYPE CSL_DE-T, "   
lv_system_failure  TYPE CSL_DE, "   
lv_pmode_csl_mtlk  TYPE DD52D-ENQMODE, "   'E'
lv_p_scope  TYPE DDENQ_LIKE-SCOPE, "   '3'
lv_p_synchron  TYPE DDENQ_LIKE-SYNCHRON, "   SPACE
lv_p_collect  TYPE DDENQ_LIKE-COLLECT. "   SPACE

  CALL FUNCTION 'CSLTM_DEQUEUE_MTLK'  "
    EXPORTING
         PTOKEN = lv_ptoken
         PMODE_CSL_MTLK = lv_pmode_csl_mtlk
         P_SCOPE = lv_p_scope
         P_SYNCHRON = lv_p_synchron
         P_COLLECT = lv_p_collect
    EXCEPTIONS
        SYSTEM_FAILURE = 1
. " CSLTM_DEQUEUE_MTLK




ABAP code using 7.40 inline data declarations to call FM CSLTM_DEQUEUE_MTLK

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 T FROM CSL_DE INTO @DATA(ld_ptoken).
 
 
"SELECT single ENQMODE FROM DD52D INTO @DATA(ld_pmode_csl_mtlk).
DATA(ld_pmode_csl_mtlk) = 'E'.
 
"SELECT single SCOPE FROM DDENQ_LIKE INTO @DATA(ld_p_scope).
DATA(ld_p_scope) = '3'.
 
"SELECT single SYNCHRON FROM DDENQ_LIKE INTO @DATA(ld_p_synchron).
DATA(ld_p_synchron) = ' '.
 
"SELECT single COLLECT FROM DDENQ_LIKE INTO @DATA(ld_p_collect).
DATA(ld_p_collect) = ' '.
 


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!