Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
Showing results for 
Search instead for 
Did you mean: 
0 Kudos

Scenario 1: simple property repeats


Model structure


Scenario 2: Outer most Complex Property repeats

Wsdl Response

Here the outer most complex structure ns4:ComplexType_Level1 repeats. So make ns4:ComplexType_Level1 entity set in edmx as below

Model structure

Response Mapping looks like

But with kind of a model we cannot map properties of the outer most element which in this case is GetParentResponse. If properties of GetParentResponse is also required, then we need to do a $expand kind of scenario where the model looks like

Here a navigation is defined from ParentSet to CPLevel1.

Select data source i.e. wsdl operation with ParentSet as Entity Set and map only outer most properties of GetParentResponse. Map the ComplexProperty structure using script file as suggested in blog

1 Comment