How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

CAP CDS Compiler Error: Naming conflict / limitation when flattening association with matching targe

calendar_today August 6, 2026 person Nirmal_selvaraja-015 domain sap-bi-tools

Hi SAP Community, I am building a CAP application and encountered a behavior with the CDS compiler regarding inline projection/flattening of associations that feels like a compiler limitation or edge-case bug. I have two entities in my schema (PurchaseOrders and GoodsReceipts). When trying to project their associations in a service definition using the simple as NewName shortcut, one works flawlessly while the other fails with a compilation error.

open_in_new Read original post