Core Data Services (CDS) View Entities
Course quiz
Core Data Services (CDS) View Entities
Keep this: job aid
CDS view entity review card
- New models use define view entity; layer them basic (I_), composite or base (R_), consumption (C_).
- Build on released SAP views (check API State), not on SAP tables.
- Prefer associations with a leading underscore and an explicit cardinality; check them with Follow Association in Data Preview.
- Every amount and quantity has its currency or unit reference.
- UI annotations live in a metadata extension; the view sets @Metadata.allowExtensions: true.
- Business data views have a CDS role; consuming views get their own role or an inheritance condition.
- Review every #NOT_ALLOWED and WITH PRIVILEGED ACCESS.
- Test access with users who see all, some and nothing.
- Unit-test calculations and aggregations with the CDS test double framework.