cancel
Showing results for 
Search instead for 
Did you mean: 

Nested CDS view / Odata

0 Kudos

Hello everyone,

Below question was asked few years ago but was not answered .

As I have same exact requirement now, wanted to check if someone can answer this.

https://answers.sap.com/questions/423640/nested-cds-view--odata-result.html

Is this possible on BTP ?

- Sree

Andre_Fischer
Product and Topic Expert
Product and Topic Expert
0 Kudos

Which release are you working on ?

SAP S/4 HANA 2022, 2021, ...

ERP 6.0 (that means SAP NetWeaver AS ABAP 7.50, 7.40, ...)

0 Kudos

Hi Andre,

I have this on BTP.

View Entire Topic
Andre_Fischer
Product and Topic Expert
Product and Topic Expert
0 Kudos

Shivam is correct by recommending to use $expand when you want to stick to OData.

If you want to have a response as you described the only way I see is to build your own http service and parse the json response yourself.

I would nevertheless implement the business logic in a RAP BO so that you can reuse it better if features such as enumerations would become available.

Though this is not planned at the moment and I do not know if it is possible at all.

0 Kudos

thank you ! that worked.