Symptom
jobRoleEntity or jobRole is missing in OData API JobRequisition entity.
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
- Go to OData API Data Dictionary
- Search for jobRoleEntity or jobRole
- The property is not available in the JobRequisition entity
Cause
- The jobRoleEntity navigation property is available if the feature 'Use Job Profiles in Requisitions' is enabled.
- The jobRole property is available if the standard field id "jobRole" is defined in the Job Requisition template.
Resolution
jobRoleEntity
jobRoleEntity is a navigation property with the externalCode that determines a Job Profile in a Job Requisition.
It is only available when the Job Profile Builder integration is enabled. To enable this integration, go to Manage Recruiting Settings and select "Use Job Profiles in Requisitions".
For more information on how to implement the Job Profile Builder integration, please refer to the documentation Configuring Recruiting Integration with Job Profile Builder.
jobRole
To use the jobRole property, define the standard field id "jobRole" in the Job Requisition template. After that, refresh the metadata via OData API Metadata Refresh and Export.
Sample of the field definition:
XML: <field-definition id="jobRole" type="jobRole" required="false" custom="false">
Manage Templates tool:
See Also
Keywords
RCM, Job Role, 2H2024, navigation, entity, unavailable, Job Profiles in Requisitions, job requisition template, OData API, field, property , KBA , LOD-SF-RCM-API , Webservices & APIs , Problem
SAP Knowledge Base Article - Public