SAP CZ_DU_TSK_VERS_SAVE Function Module for Task List Version: Save (PLKO)
CZ_DU_TSK_VERS_SAVE is a standard cz du tsk vers save SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Task List Version: Save (PLKO) 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 cz du tsk vers save FM, simply by entering the name CZ_DU_TSK_VERS_SAVE into the relevant SAP transaction such as SE37 or SE38.
Function Group: CZDU
Program Name: SAPLCZDU
Main Program: SAPLCZDU
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update: 1

Function CZ_DU_TSK_VERS_SAVE 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 'CZ_DU_TSK_VERS_SAVE'"Task List Version: Save (PLKO).
EXPORTING
* IT_TSK_CLASS_INS = "Table of Task Lists
* IT_TSK_CLASS_PLKZ_INS = "Table of Task Lists
* IT_TSK_CLASS_PLKZ_DEL = "Table of Task Lists
* IT_TSK_CLASS_UPD = "Table of Task Lists
* IT_TSK_CLASS_DEL = "Table of Task Lists
* IT_TSK_VERS_INS = "Task List Version: Task Versions
* IT_TSK_VERS_UPD = "Task List Version: Task Versions
* IT_TSK_VERS_DEL = "Task List Version: Task Versions
* IT_SEQ_CLASS_INS = "Data for class of sequences
* IT_SEQ_CLASS_DEL = "Data for class of sequences
* IT_SEQ_CLASS_UPD = "Data for class of sequences
IMPORTING Parameters details for CZ_DU_TSK_VERS_SAVE
IT_TSK_CLASS_INS - Table of Task Lists
Data type: CPT_TSK_CLASS_DATAOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_TSK_CLASS_PLKZ_INS - Table of Task Lists
Data type: CPT_TSK_CLASS_DATAOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_TSK_CLASS_PLKZ_DEL - Table of Task Lists
Data type: CPT_TSK_CLASS_DATAOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_TSK_CLASS_UPD - Table of Task Lists
Data type: CPT_TSK_CLASS_DATAOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_TSK_CLASS_DEL - Table of Task Lists
Data type: CPT_TSK_CLASS_DATAOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_TSK_VERS_INS - Task List Version: Task Versions
Data type: CPT_TSK_VERS_DATAOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_TSK_VERS_UPD - Task List Version: Task Versions
Data type: CPT_TSK_VERS_DATAOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_TSK_VERS_DEL - Task List Version: Task Versions
Data type: CPT_TSK_VERS_DATAOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_SEQ_CLASS_INS - Data for class of sequences
Data type: CPT_SEQ_CLASS_DATAOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_SEQ_CLASS_DEL - Data for class of sequences
Data type: CPT_SEQ_CLASS_DATAOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_SEQ_CLASS_UPD - Data for class of sequences
Data type: CPT_SEQ_CLASS_DATAOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CZ_DU_TSK_VERS_SAVE 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_it_tsk_class_ins | TYPE CPT_TSK_CLASS_DATA, " | |||
| lv_it_tsk_class_plkz_ins | TYPE CPT_TSK_CLASS_DATA, " | |||
| lv_it_tsk_class_plkz_del | TYPE CPT_TSK_CLASS_DATA, " | |||
| lv_it_tsk_class_upd | TYPE CPT_TSK_CLASS_DATA, " | |||
| lv_it_tsk_class_del | TYPE CPT_TSK_CLASS_DATA, " | |||
| lv_it_tsk_vers_ins | TYPE CPT_TSK_VERS_DATA, " | |||
| lv_it_tsk_vers_upd | TYPE CPT_TSK_VERS_DATA, " | |||
| lv_it_tsk_vers_del | TYPE CPT_TSK_VERS_DATA, " | |||
| lv_it_seq_class_ins | TYPE CPT_SEQ_CLASS_DATA, " | |||
| lv_it_seq_class_del | TYPE CPT_SEQ_CLASS_DATA, " | |||
| lv_it_seq_class_upd | TYPE CPT_SEQ_CLASS_DATA. " |
|   CALL FUNCTION 'CZ_DU_TSK_VERS_SAVE' "Task List Version: Save (PLKO) |
| EXPORTING | ||
| IT_TSK_CLASS_INS | = lv_it_tsk_class_ins | |
| IT_TSK_CLASS_PLKZ_INS | = lv_it_tsk_class_plkz_ins | |
| IT_TSK_CLASS_PLKZ_DEL | = lv_it_tsk_class_plkz_del | |
| IT_TSK_CLASS_UPD | = lv_it_tsk_class_upd | |
| IT_TSK_CLASS_DEL | = lv_it_tsk_class_del | |
| IT_TSK_VERS_INS | = lv_it_tsk_vers_ins | |
| IT_TSK_VERS_UPD | = lv_it_tsk_vers_upd | |
| IT_TSK_VERS_DEL | = lv_it_tsk_vers_del | |
| IT_SEQ_CLASS_INS | = lv_it_seq_class_ins | |
| IT_SEQ_CLASS_DEL | = lv_it_seq_class_del | |
| IT_SEQ_CLASS_UPD | = lv_it_seq_class_upd | |
| . " CZ_DU_TSK_VERS_SAVE | ||
ABAP code using 7.40 inline data declarations to call FM CZ_DU_TSK_VERS_SAVE
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.Search for further information about these or an SAP related objects