Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

one entity and the same entity should export the data of each tab irrespective of the structure

0 Kudos

Hi All,

i am new to ODATA can anyone tell me how to achieve this.

Input a sales order which has 4 items as 4 tabs in a tab strip. Each tab has different structure

tab1: sales order item structure

tab2: partner functions

tab3. delivery items

tab4: transfer orders

Create only one entity and the same entity should export the data of each tab irrespective of the structure.

3 REPLIES 3

former_member667434
Active Participant
0 Kudos

Hi damodar532

It cannot be done in single structure. But you can use association and navigation and bind all 4 together, to get data for all structure in one call.

Tutorial for Association & Navigation - https://blogs.sap.com/2014/09/24/lets-code-associationnavigation-and-data-provider-expand-in-odata-s...

-Ashutosh

0 Kudos

thank you ashutosh.anand for your response , can't we achieve without using association and with single entity?

0 Kudos

damodar532 - As far as I know no we cannot. As these are different structures.