SAP Knowledge Base Article - Public

3072937 - OData API: capabilityCategory and capabilityGroup details are not retrieved from CompetencyEntity

Symptom

For business requirements, a navigation ($expand) from CompetencyEntity, is needed to get capabilityCategory and capabilityGroup name, description and external code, as well as information on what capabilityGroup is associated, what capabilityCategory is associated to the group.

The field type of capabilityCategory and capabilityGroup in Configure Object Definitions is Generic Object, whereas in OData API dictionary is string field with the visibility set to "false". OData API for competencyEntity is not matching the MDF object definition.

 

  • Configure Object Definitions for Competency Entity:

  • OData API Dictionary screenshot:

 

 

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 HXM Suite
  • OData API

Reproducing the Issue

  1. Navigate to OData API Dictionary
  2. Look for CompetencyEntity
  3. Vew the capabilityCategory and capabilityGroup fields
  4. Now go to Configure Object Definitions and search for the CompetencyEntity
  5. What is observed is that capabilityCategory and capabilityGroup have generic object type

Cause

The fields, capabilityCategory and capabilityGroup introduced in b2105 release, will not be a part of Odata v2 API.

Resolution

Previously it was planned to publish the fields described in the Symptom section within OData v4 APIs

However, as of now, there is no support for OData V4 APIs due to changes in scope requirement.

  

To understand what is & is not supported in OData API v4 within SF, please refer to the below guide which holds the most current information for feature support in SF OData API v4:

   

OData v2 APIs can still be used to create the Competency the old way.

See Also

SAP SuccessFactors HXM Suite OData API: Developer Guide (V4)

Keywords

OData API, Center Of Capabilities, OData Dictionary, Configure Object Definitions , KBA , LOD-SF-TIH-COC , Center of Capabilities , LOD-SF-TIH , Talent Intelligence Hub and Job Profiles , Problem

Product

SAP SuccessFactors HCM Suite all versions