Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

SAP Gateway get_expanded_entityset with Navigation Properties from different Entitys

$
0
0

Hello,

 

I am building a Gateway Service in the SEGW transaction. I already worked through:

Let’s code CRUDQ and Function Import operations in OData service!

Implementing Expand Entity/Entity Set

and got it working for my own Data Model, which simplified looks like this:

 

SimpleDataStructure.JPG

Both Aggregations have a 1..N Cardinality and the necessary Navigation Properties:

 

NavProp.JPG

With http://xxxxx/Landscapes?$expand=LandscapeSystems I can already get the Landscapes and the according Systems.

 

What I would like is, that i can get the Interfaces nested to the Systems in the same Request (to reduce the number of Request to a single one when loading the complete data.)

 

Using http://xxxxx/Landscapes?$expand=LandscapeSystems,SystemInterfaces doesn't work. (Propably because SystemInterfaces doesn't belong to Landscape Entity?)

 

Is there any other way to get the nesting over more than one level?

 

Thanks for any help and suggestions!

 

Kind regards,

Felix


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>