Symptom
When upserting a Job Requisition an error returns: "Competencies is not upsertable"
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
SAP SuccessFactors Recruiting Management
Reproducing the Issue
- Create a new payload to upsert a Job Requisition;
- Add values to the field "competencies";
- Run it;
- Following error is returned: Competencies is not upsertable
Cause
This is due to the system design, which does not support updates and upserts on the competencies field inside the Job Requisition entity.
Resolution
When checking the JobRequisition entity, inside the Data Dictionary, if you look at the field Competencies, you can see that the attributes "updatable" and "upsertable" are set as false, both in SFAPI and OData:
This is due to the system design, the competencies are not exposed via API, so you would not be able to upsert into that field. Also, as this is a system standard field, there is no way to change those properties, this is fixed.
You would only be able to add competencies to a Job Requisition using the UI.
ADDITIONAL INFORMATION:In case you need to use API, an interesting solution would be to implement Job Profile Builder, where then you would be able to upsert the jobCode into the Job Requisition to populate the Job Profile, which contains the competencies. For that, please contact an Implementation Partner to configure the Job Profile-Code and the Families and Roles.
Keywords
Competencies, api, job, requisition, add, data, dictionary, sfapi, odata, not, upsertable, updatable, error, false, set, change , KBA , LOD-SF-RCM-INT , Integration Center & Intelligent Services , Problem