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
Reproducing the Issue
- Edit the "required" field of property "name" for a foundation object
- Notice that the "sap:required" field remains set as "false" in the OData API Data Dictionary for the foundation objects
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.
This is the expected behaviour.
KBA , LOD-SF-INT , SF Integrations - EC Payroll, Boomi/ HCI, API , LOD-SF-INT-ODATA , OData API Framework , Problem