‎2025 Mar 03 2:12 PM - edited ‎2025 Mar 03 4:14 PM
Hello *,
I am currently exploring the possibilities of SAP CDS View Entities and trying to replace various SQL statements in our coding with CDS View Entities to improve performance. In doing so, I have encountered several situations where the Open SQL statement (which we are using now) performs JOINs on table views (for example V_EQUI).
So far, I have not been able to integrate a JOIN on the view V_EQUI into a CDS View Entity. When I Use an ABAP CDS View instead, it works perfectly fine. Is it even possibleto JOIN a Table View when I use a CDS View Entity? If so, how can this be achieved?
My Examples:
ABAP CDS View (works fine):
define view YCDS_VIEW_TO_CDS as select from equi inner join v_equi on v_equi.equnr = equi.equnr { equi.equnr, v_equi.begru }
CDS View Entity (does not work):
define view entity YCDS_VIEW_TO_ENTITY2 as select from equi inner join v_equi on v_equi.equnr = equi.equnr { equi.equnr, v_equi.begru }
Thank you in advance!
Best Regards
Marius
Request clarification before answering.
cds is for data modelling, not for performance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
looks like normal view is not supported.
probably you can create a cds view as workaround
| User | Count |
|---|---|
| 11 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.