SAP Knowledge Base Article - Preview

3350304 - Child MDF object is not accessible using OData API

Symptom

You have created two custom MDF objects - cust_ParentObject and cust_ChildObject.

Object cust_ParentObject has one to many associations with object cust_ChildObject.

When you try to access the association between these objects using below OData API query, the association (there is no link for child object) does not appear in the OData API response.

https://apisalesdemo2.successfactors.eu/odata/v2/cust_ParentObject?$format=json

If you access the child object directly, then API response contains a NotFoundException 

https://apisalesdemo2.successfactors.eu/odata/v2/cust_ChildObject?$format=json

API Response

 {"error" : {

"code" : "NotFoundException", "message" : {

"lang" : "en-US", "value" : "Entity cust_ChildObject is not found. Please check the entity in Admin Center > OData API Data Dictionary or contact your system administrator."

}}}


Read more...

Environment

SAP SuccessFactors HCM Suite

* MDF OData API

Product

SAP SuccessFactors HXM Core 2305

Keywords

child object, parent object, MDF object, externalCode, Generic Object, GO, Valid Values Source, NotFoundException, association, relationship , KBA , LOD-SF-INT-MDF , Metadata Framework API (MDF) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.