Skip to Content
author's profile photo Former Member
Former Member

The in-lines of the navigation property at second level is coming as initial after XML transformation in backend system ?

We are trying to create an entity with associations as below:

  1. Open Order KPI (Key: KPI ID, Navigation Property: NavToDate)
    • Orders aggregated by Date (Key: KPI ID and Date, Navigation Property: NavToOrders)
      • Orders for the Given Date (Key: KPI ID, Date and Order No.)

We have implemented the get deep entity method in the extension for data provider class of the entity to return data for both navigation properties.

URL: /sap/opu/odata/sap/Z_3M_UX_OTC_SRV/OrderSet?$format=json&$expand=NavToDate/NavToOrders

The get deep entity set method is working fine and it is fetching and populating both navigation properties, but in the XML transformation method the in-lines of NavToOrders association are getting refreshed and changed to initial values.

All related SAP notes for this issue are implemented in the back end system. Still we are facing the issue of in-lines being initial, please advice on how to correct the same.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2015 at 08:48 AM

    Hello Rahul,

    What is the cardinality defined between the entities in your case ? can you share here ? also can you share the Association defined between the entities ?

    What is the Deep Structure declared inside Expand Entity method ? can you please share ?



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.