Skip to Content
0
Dec 01, 2022 at 09:40 AM

Expand Result from OData External Service

452 Views

Hello!

in my SAP CAP Project inside the service handler I use the following syntax to read an entity from external OData:

srv.run(SELECT.from(SalesQuoteCollection).where({ 'ID': ID }))The result has related Entities like "SalesQuoteItem", how can I access those entities like a $expand Notation?

Thanks a lot and best regards,

Julian