Hello experts,
Lately I created an OData service in SAP Gateway builder which uses a Complex Type to create a deep structure of an entity attribute. It happens automatically when importing an ABAP structure which any of its component type is another ABAP structure.
So in my example the field Fcat of entity Products is defined by complex type FCAT.
In JSON format this OData service output looks like this
Assuming I created following table in HANA XS
Would it be possible to create a deep structure in an entity of an OData service in XSJS? What should be the syntax to create it?
How would you achieve it?
Many thanks for your help!
Regards,
Jaime