SAP Knowledge Base Article - Public

2483828 - Custom MDF Associations not Visible in ODATA API

Symptom

In the Odata API you can't see the custom MDF child object

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
  • MetadataFramework (MDF)

Cause

The customer has defined a custom mdf object but has associated to two different parent objects with composite association type

  • Search for the parent field on the child object and select details

            parent.jpg

  • In the details look at the "Valid Values Source" this should display the parent object
  • If it displays "GOParentObject" then there's more than one parent object associated to this child object

       GOParentObject.jpg

Resolution

If a child object is assigned to more than one parent object, it’s not currently supported in OData API

In order to solve the issue:

  1. Remove the child object association from one of the parent objects, so there is only one association to the child object
  2. When you remove one of the associations check the details again as in the previous step
  3. The "Valid Values Source" should display the parent object if there's only one association remaining
  4. You must then refresh the ODATA  API Metadata

See Also

2171588 - SuccessFactors: OData API Metadata Refresh and Export

Keywords

ODATA API, Custom MDF, Associations not Visible , KBA , LOD-SF-MDF-API , OData APIs & Integrations , Problem

Product

SAP SuccessFactors HXM Suite all versions