on 06-04-2014 9:55 AM
Hi experts,
is there a way of using nested tables, for example:
Field1
---value1-1
------example1-1
------example1-2
------example1-3
---value1-2
------example2-1
------example2-2
------example2-3
------example2-4
------example2-5
---value1-3
------example3-1
------example3-2
Field2
---value2-1
------example1-1
------example1-2
...
Or isn't it possible?
Thanks
Michael
Hi,
Nested table is not allowed but if it is property structure like address etc which can be included in more than one entities then you can use complex type Complex Types - SAP NetWeaver Gateway Foundation (SAP_GWFND) - SAP Library
you can refer this and Netweaver Gateway : Multiple Output Tables : Odata | SCN
Regards,
Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael,
you can use nested tables if you create an appropriate OData model with two entity types that are connected via an association on which you will create a navigation property that points from outer table that points to the table which is contained in the first table.
Using $expand you would be able to read the content while using deep insert you could perform updates .
Best Regards,
Andre
Hi Andre,
sure, expand would be possible, but I don't want to use as my goal is to reduce the "overhead".
With the expand-query there will be much more overhead as if it would be possible to use nested tables...
Don't mind - I think I will now split my services in a few smaller ones to reduce filesize of the XML 🙂
Thanks for the update
Michael
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.