Dear Experts:
As part of our new project we have to make both Online and Offline Odata calls to backend passing Deep Entities (Header and Position Lines), basically in the backend Odata Header Entityset Create method I will need to have access and process all Position lines associated with this Header.
From what I have investigated and understood (https://answers.sap.com/questions/13058754/mdk-odata-offline-create-entity-for-entity-with-na.htmL), there is limitations on using Deep Insert for Offline operations and options would be using Batch call (which I am not sure will resolve my problem) or use Create Related Entity action as it is described in Tutorial https://developers.sap.com/tutorials/cp-mobile-dev-kit-link-entity.html.
I have been doing some tests with my Trial account (our production platform hopefully will be activated this week) and my questions are:
As other backup workaround I am also looking of first saving/synching Position lines table in one separarate Offline Service Upload action and then when it is saved in the backend to synch Header table via other Offline Service Upload action, so it can access its Position lines in the backend processing.
Anyway, would really appareciate if anyone could share their experiencce, some examples or ideas for optimal solution for this case.
Many thanks,
Yergali