Symptom
Following error occurs when using API /cpd/SC_PROJ_ENGMT_CREATE_UPD_SRV/A_EngmntProjRsceDmnd to update the resource demand.
"/CPD/SS_MESSAGES/416"
Mismatch of employee and worker user ID in work package xxxxxx.x.x, demand yyyy.
Environment
SAP S/4HANA Cloud Public Edition.
Reproducing the Issue
Execute API /cpd/SC_PROJ_ENGMT_CREATE_UPD_SRV/A_EngmntProjRsceDmnd to update resource demand.
Cause
PersonWorkAgreement,WorkforcePersonUserID,Country2DigitISOCode,KeyDate in the payload are specified incorrectly.
Per on-line help,
If you wish to assign a person to the resource demand, you can do this in one of two ways:
1.Entering a value for PersonWorkAgreement
2.Entering a value for WorkforcePersonUserID, Country2DigitISOCode, and KeyDate
Resolution
Please use one of the suggested two ways to update the resoure demand.
e.g. only enter a value for PersonWorkAgreement to update the resource demand.
Keywords
/CPD/SS_MESSAGES/416, resource demand, Mismatch of employee and worker user ID in work package, A_EngmntProjRsceDmnd, SC_PROJ_ENGMT_CREATE_UPD_SRV , KBA , CA-CPD-SS , S/4HANA Public Cloud – Professional Service Projects , Problem