SAP Knowledge Base Article - Public

3009557 - It is impossible to use option "Retain Efforts and Quantities for Common Months" when extending Work Package via API

Symptom

When extending the Work Package in the Customer Project from the UI (via app Plan Customer Projects), it is possible to choose below 2 options.
Extend Work Package.png

However, when extending the work package via API /CPD/SC_PROJ_ENGMT_CREATE_UPD_SRV, it will always update with "Retain Total Efforts and Quantities" by default.

Environment

SAP S/4HANA Cloud Public Edition 

Reproducing the Issue

Call API /CPD/SC_PROJ_ENGMT_CREATE_UPD_SRV/WorkPackageSet to update the duration of Work Package.

Cause

Currently, there is no option to use "Retain Efforts and Quantities for Common Months" in the API.

Resolution

You may submit a feature request following KBA 2716534.
As a workaround, before updating the duration, using entity "Resource Demand Distribution" to retrieve the distribution data for common months first.
After extending the duration , using the retrieved data to update the distribution data back to before.

Keywords

SC_PROJ_ENGMT_CREATE_UPD_SRV, WorkPackageSet, Work Package, Customer project, duration, Retain Total Efforts and Quantities, Retain Efforts and Quantities for Common Months, SAP_COM_0054 , KBA , CA-CPD-SS , S/4HANA Public Cloud – Professional Service Projects , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions