SAP Knowledge Base Article - Public

2973667 - API /CPD/SC_PROJ_ENGMT_CREATE_UPD WorkPackageSet gives error when updating dates and quantity at the same time


In API /CPD/SC_PROJ_ENGMT_CREATE_UPD EntitySet WorkPackageSet, error "400 Bad request" is given when you update WorkPackage dates and Unit Quantity in same PATCH call.


  • SAP S/4HANA Cloud 2008

Reproducing the Issue

  1. Use API /CPD/SC_PROJ_ENGMT_CREATE_UPD EntitySet WorkPackageSet with Method Patch
  2. Payload updates WPStartDate/WPEndDate and UnitQuantity
  3. API fails with error "400 Bad Request"


Caused by incomplete buffer data.


Resolved in CE2011.

Workaround for CE2008 is to split the payload to first update the dates, then update the quantity.

For example:

Payload for WorkPackage Dates update:


"d": {

"WPStartDate": "/Date(1593619200000)/",

"WPEndDate": "/Date(1630627200000)/"




Payload for WorkPackage Unit Quantity update:


"d": {

"UnitQuantity": "100"




KBA , CA-CPD-SS , S/4HANA Professional Services Cloud - CPM , Known Error


SAP S/4HANA Cloud 2008