on 2023 Nov 18 8:07 PM
Our team is trying to migrate our existing SEGW service to RAP framework. Our OData app is being used by an open stack application and we are checking if it's possible to implement Expanded Entity Set Get call in RAP. For Example:
GET /Parent?&$filter=("Attribute1 eq 'XYZ'")&$expand="Child/GrandChild"
We haven't been able to find a solution for it so far. Can someone please help ?
Request clarification before answering.
Hi Sameer,
when you use a RAP based service the $expand statement will handeled by the framework.
When your RAP service is based on CDS views or View Entities (the new and recommended type of CDS views) the SADL framework will push down the request to the underlying HANA database.
When you are using custom entities you have to implement the query provider class and you will have to retrieve the data similar to an implementation of the GET_ENTIYSET method you used in your DPC_EXT class.
What is not supported with custom entities is that you get the request such that you can implement something like an get_expanded_entity or get_expanded_entity_set method.
Kind regards,
Andre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
59 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.