Symptom
You are getting the below error, While hiring employee through the webservice managepersonnelhiringin in SOAP UI.
<Note>VALIDITY_PERIOD-END_DATE is read only</Note>
Environment
SAP Business ByDesign
Reproducing the Issue
- In the SOAP UI, upload the WDSL for the webservice managepersonnelhiringin and then execute your payload.
- You will the get the response, VALIDITY_PERIOD-END_DATE is read only
Cause
You are trying to set a Leaving Date while you are hiring a Permanent employee using the below parameter
<LeavingDate>XXXX-YY-ZZ</LeavingDate>
Resolution
You need to either remove the leaving date or set the TypeCode to 2, Which is under the <WorkAgreement> parameter
Keywords
managepersonnelhiringin, Webservice, Employee Hire, VALIDITY_PERIOD-END_DATE , KBA , SRD-HR-TLM , Time and Labour Management , Problem
Product
SAP Business ByDesign all versions