SAP CDS Views Interview Questions
CDS has quietly become the dividing line in ABAP interviews. Candidates who modelled data before HANA think in joins and nested selects; interviewers now listen for associations, annotations and pushdown — whether you think in the layer where the database does the work.
The questions on this page are drawn from ERPClimb's reviewed bank and cover the full arc: what a CDS view entity actually is and how it differs from the classic DDIC-based view, associations versus joins, parameters and where they push down, access control through roles, and the analytical annotations that drive embedded reporting.
The strongest answers here are architectural, not syntactic. Saying where logic belongs — and what it costs when it lands in the wrong layer — is what separates a senior answer from a tutorial answer.
What interviewers actually probe
Associations versus joins
A guaranteed question. The expected answer covers lazy evaluation and exposure to consumers, not just syntax — associations declare a relationship the consumer chooses to navigate.
What the annotations do
Interviewers probe whether you know that annotations carry semantics — UI, analytical, access — rather than decoration, and which annotation families drive Fiori Elements and embedded analytics.
View entities versus classic views
The modern-versus-legacy line: why the view entity is the go-forward artefact, what the DDIC-based view could not express, and what a migration between them involves.
Access control
Where authorisation lives in a CDS world — the expected answer names the access control artefact and explains why filtering at the model beats filtering in every consumer.
23 questions with full answers
Ordered from foundational to advanced. No sign-in required.
2. Five ABAP reports on your project each join VBAK, VBAP and KNA1 themselves, and their totals do not match. How would you use CDS to fix this?
3. How do you add calculated fields to a CDS view, and what do you watch out for with CASE, CAST and date calculations?
4. Data appears wrong in a consumption CDS view. Approach?
5. How do you expose a CDS view as OData?
6. What is the difference between CDS view entity and classic CDS view?
7. How do you secure data exposed by CDS Views?
8. A CDS-based Fiori app shows duplicate rows. What would you check?
9. What is DCL?
10. A backlog report reads VBAP and VBAK in nested SELECTs and calculates order age and rejection status in ABAP loops. It runs 25 minutes. How would you redesign it with CDS?
11. A Fiori list report generated from CDS annotations shows amounts without currency and order types only as codes with technical labels. What would you change in the CDS model?
12. How would you design CDS views for a Fiori list report?
13. A sales-order header view has association [1..1] to its items and shows item material in the field list. The totals are doubled. Explain and fix.
14. A condition validity report must always evaluate data as of one key date, and the age of each record depends on that date. How would you model this in CDS?
15. A CDS-based sales dashboard shows a customer total of 40 million, but the customer orders in EUR and JPY. What went wrong and how do you fix it?
16. Users want to drill a sales KPI by sales org, customer and month in any combination. Would you build a GROUP BY CDS view or an analytical cube? Explain.
17. Your system has 400 classic DDIC-based CDS views and some reports read their SE11 SQL view names. What risks do you see and what is your plan?
18. A CDS view is slow in production. How would you analyze and improve it?
19. Legacy report on SE11 views performs badly. Migrate to CDS?
20. How would you structure a CDS model for a domain?
21. After go-live, a Brazil user sees German sales orders in a custom Fiori app. The CDS view has @AccessControl.authorizationCheck: #CHECK. What happened and how do you fix it?
22. A team built all sales CDS views with parameters for sales org, customer and date range "for performance". Fiori apps now show a parameter dialog and other reports cannot reuse the views. Evaluate the design.
23. A Fiori consumption view exposes many associations and path fields and takes 90 seconds to load. How do you analyse and speed it up?
Practise by experience level
The questions above are tagged by the experience levels they are normally asked at, so the same page works for a first interview and for a lead-developer round.
SAP CDS Views Interview Questions FAQ
What is the difference between a CDS association and a join?
A join combines data eagerly in the statement; an association declares a relationship that is only resolved when a consumer navigates it. Associations keep the base model lean, express cardinality, and are what path expressions and service exposure build on — which is why interviewers treat 'it is just a join' as a red flag.
What is a CDS view entity?
The current generation of CDS view: defined entirely in the DDL source, without a generated DDIC view underneath, and with stricter, cleaner semantics. It is the artefact new modelling should use, and knowing what the classic DDIC-based view could not express — typed associations being the everyday example — is the expected follow-up.
Where does authorisation happen for CDS views?
In the model itself, through access control artefacts attached to the view, so every consumer — service, analytical query, or direct read — gets the same filtering. The contrast interviewers want is with authority checks scattered across every calling program.
What are CDS parameters used for?
For inputs the model needs at selection time: a key date, a target currency, a language. Because they are part of the view's contract they push down to the database, unlike a filter applied after the fact in ABAP — that pushdown is the point of the question.
How do CDS views relate to embedded analytics?
Analytical annotations turn a view into a cube or query that the analytical engine can consume directly, which is how embedded reporting on S/4HANA is built. Interviewers check whether you know the modelling conventions that make a view analytically consumable rather than just selectable.
Next practice step
Related SAP interview topics
ERP Climb is an independent educational platform and is not affiliated with SAP SE.