Symptom
No results related to picklist fields are appearing in ODATA response after querying the metadata as below:
.../odata/v2/JobRequisition/$metadata
Environment
SAP SuccessFactors Recruiting Management
Resolution
When using an entity that belongs to the RCM module, ensure that you query the root of the metadata without specifying the entity. The correct approach is:
. . . /odata/v2/$metadata
and not:
. . . /odata/v2/JobRequisition/$metadata
The same logic applies to other RCM entities like Candidate and JobApplication.
The reason for this is related to the fact that, from an ODATA perspective, the picklist is treated as an independent entity, distinct from the entity where its fields are defined.
Additional consideration:
This rule applies only to RCM. The design of picklist fields in other modules, such as Employee Central, is different, so this explanation does not apply in those cases.
Keywords
KBA , LOD-SF-RCM-API , Webservices & APIs , Problem
SAP Knowledge Base Article - Public