SAP RAP / CDS / OData CDS Associations Interview Questions
Interviewers use cds associations to test depth rather than coverage: the follow-up question is almost always "why does the system behave that way?", and that is where prepared answers usually run out.
Learn ABAP CDS associations as semantic relationships between entities, including ON conditions, cardinality, path expressions, exposed associations and their effect on generated SQL and consumers. Use this topic to model reusable relationships without confusing associations with free performance gains.
This page carries 10 reviewed SAP RAP / CDS / OData cds associations interview questions, each with a complete written answer and no sign-in required. The set breaks down into 1 foundational, 7 mid-level and 2 advanced questions, so you can start at the top for a first interview or skip ahead to the scenario-based items for a senior round.
If you can handle every question here without hesitating, cds associations is unlikely to be what costs you an SAP RAP / CDS / OData interview — and the same reasoning pattern transfers to the neighbouring topics linked at the bottom of this page.
10 CDS Associations questions with answers
2. A status text association returns duplicate rows in a list. The ON condition is only on the status code. What is wrong and how do you fix it?
3. Explain path expressions: what SQL do they generate, how do filtered paths work, and how are they written in ABAP SQL?
4. A list of orders must show the number of items and total item value per order. How do you model this in CDS without duplicates?
5. How are compositions declared in CDS for a RAP business object, and what must projections do with them?
6. What design rules do you follow for associations in an interface view layer?
7. A universal sales order view uses inner joins to customer, material and plant, and some orders disappear. How would you redesign it?
8. An OData list returns 2,400 rows where the business expects 800. How do you analyze it?
9. Users say a CDS-based report 'lost' some records. What are the possible causes related to associations, and how do you tell them apart?
10. You inherit a CDS model with many associations. What do you review before extending it?
Related lesson
CDS Associations Part 2: Path Expressions and How Associations Become JoinsRelated topics
Next practice step
Go deeper on this topic
- CDS Associations — lessons, mock tests and code lab
- CDS Views
- CDS Annotations
- RAP Business Objects
- Behavior Definitions
- Behavior Implementations
- EML
- SAP RAP / CDS / OData CDS Table Functions interview questions
- SAP RAP / CDS / OData Draft Handling interview questions
- SAP RAP / CDS / OData EML interview questions
- SAP RAP / CDS / OData Fiori Elements interview questions
- SAP RAP / CDS / OData Managed RAP interview questions
- SAP RAP / CDS / OData OData V4 interview questions