SAP CN_DI_MST_DEQUEUE Function Module for Copy trigger points/milestones from operation in unlocked ref. oper. set









CN_DI_MST_DEQUEUE is a standard cn di mst dequeue SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Copy trigger points/milestones from operation in unlocked ref. oper. set 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 cn di mst dequeue FM, simply by entering the name CN_DI_MST_DEQUEUE into the relevant SAP transaction such as SE37 or SE38.

Function Group: CNDI
Program Name: SAPLCNDI
Main Program: SAPLCNDI
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CN_DI_MST_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 'CN_DI_MST_DEQUEUE'"Copy trigger points/milestones from operation in unlocked ref. oper. set
EXPORTING
AENNR_IMP = "Change Number
INDEX_PLAS_IMP = "Index referring to record table for item allocations
INDEX_PLPO_IMP = "Index referring to record table for items
RCLST_IMP = "Structure of the dialog table in CIM
STTAG_IMP = "Key Date
TCA05_IMP = "Transaction parameters for routings

IMPORTING
INDEX_MLST_EXP = "Index for milestone document table

EXCEPTIONS
ESC = 1
.



IMPORTING Parameters details for CN_DI_MST_DEQUEUE

AENNR_IMP - Change Number

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

INDEX_PLAS_IMP - Index referring to record table for item allocations

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

INDEX_PLPO_IMP - Index referring to record table for items

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

RCLST_IMP - Structure of the dialog table in CIM

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

STTAG_IMP - Key Date

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

TCA05_IMP - Transaction parameters for routings

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

EXPORTING Parameters details for CN_DI_MST_DEQUEUE

INDEX_MLST_EXP - Index for milestone document table

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

EXCEPTIONS details

ESC -

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

Copy and paste ABAP code example for CN_DI_MST_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_esc  TYPE STRING, "   
lv_aennr_imp  TYPE RC27S-AENNR, "   
lv_index_mlst_exp  TYPE RC27I-INDEX_MLST, "   
lv_index_plas_imp  TYPE RC27I-INDEX_PLAS, "   
lv_index_plpo_imp  TYPE RC27I-INDEX_PLPO, "   
lv_rclst_imp  TYPE RCLST, "   
lv_sttag_imp  TYPE RC27S-STTAG, "   
lv_tca05_imp  TYPE TCA05. "   

  CALL FUNCTION 'CN_DI_MST_DEQUEUE'  "Copy trigger points/milestones from operation in unlocked ref. oper. set
    EXPORTING
         AENNR_IMP = lv_aennr_imp
         INDEX_PLAS_IMP = lv_index_plas_imp
         INDEX_PLPO_IMP = lv_index_plpo_imp
         RCLST_IMP = lv_rclst_imp
         STTAG_IMP = lv_sttag_imp
         TCA05_IMP = lv_tca05_imp
    IMPORTING
         INDEX_MLST_EXP = lv_index_mlst_exp
    EXCEPTIONS
        ESC = 1
. " CN_DI_MST_DEQUEUE




ABAP code using 7.40 inline data declarations to call FM CN_DI_MST_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 AENNR FROM RC27S INTO @DATA(ld_aennr_imp).
 
"SELECT single INDEX_MLST FROM RC27I INTO @DATA(ld_index_mlst_exp).
 
"SELECT single INDEX_PLAS FROM RC27I INTO @DATA(ld_index_plas_imp).
 
"SELECT single INDEX_PLPO FROM RC27I INTO @DATA(ld_index_plpo_imp).
 
 
"SELECT single STTAG FROM RC27S INTO @DATA(ld_sttag_imp).
 
 


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!