SAP Knowledge Base Article - Public

2587565 - Property "name" of foundation object is not set as required in OData API Data Dictionary

Symptom

The property "name", although being set as Required in object definitions for foundation objects such as Business Unit, is not set as "sap:required" in the OData API Data Dictionary

ODataDictionary.jpg

Environment

SAP SuccessFactors

Reproducing the Issue

  1. Edit the "required" field of property "name" for a foundation object
  2. Notice that the "sap:required" field remains set as "false" in the OData API Data Dictionary for the foundation objects

Cause

As the "name" field is a translatable field, the "required" property is always maintained as "false". In the metadata, there are multiple properties such as "name_en_US", "name_en_GB", etc.

As these fields use the same definition as the "name" field, it is not feasible to set all properties to Required, therefore this field can only be set as not-required for the OData API.

Resolution

This is the expected behaviour.

Keywords

KBA , LOD-SF-INT , Integrations , LOD-SF-INT-ODATA , OData API Framework , Problem

Product

SAP SuccessFactors HCM Core all versions