SAP Knowledge Base Article - Public

3038109 - Error during PATCH call to update a Customer or Internal project

Symptom

When using API SC_PROJ_ENGMT_CREATE_UPD_SRV with a PATCH call to the Project entity, the system throws the following error if the Confidential property does not have a value:
Confidentiality should be Y (Private) or N (Public).

Environment

SAP S/4HANA Cloud.

Cause

During a POST call if the Confidential parameter is passed as blank, the system defaults the project to "N" - Public Project.

In PATCH calls if Confidential atribute is passed as blank, the system throwns an error since the valid values are N (Public) or Y (Private).

Resolution

As a best practice it is recommended in any operation to pass the value (Y or N) instead of passing it as blank.

In case of PATCH calls, do not use the Confidential parameter in your payload if you do not want to update the confidential indicator of customer or internal project.

Keywords

/CPD/SS_MESSAGES/356, Customer projects, Internal projects , 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