SAP RAP / CDS / OData CDS Table Functions Interview Questions
Interviewers use cds table functions 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.
Understand CDS table functions for scenarios that require database-side logic beyond standard CDS expressions. Learn AMDP-backed implementation, parameter handling, result contracts, performance trade-offs and when a table function is justified instead of Open SQL or a normal CDS view.
This page carries 10 reviewed SAP RAP / CDS / OData cds table functions interview questions, each with a complete written answer and no sign-in required. The set breaks down into 1 foundational, 6 mid-level and 3 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 table functions 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 Table Functions questions with answers
2. When would you use a CDS table function instead of a CDS view entity?
3. A table function fails to activate with "result structure does not match". What do you check?
4. A supplier dashboard based on a table function shows each supplier twice in a test system. What is the likely cause?
5. What trade-offs do you consider before approving a CDS table function?
6. How do parameters and session defaults work in CDS table functions?
7. How do you test and secure a CDS table function?
8. Walk through building a "top 3 oldest open requests per supplier" feature with a table function.
9. You inherit several CDS table functions. What do you review?
10. A table function behind a dashboard takes five seconds. How do you improve it?
Related lesson
CDS Table Functions Part 4: Performance with HANA Plan AnalysisRelated topics
Next practice step
Go deeper on this topic
- CDS Table Functions — lessons, mock tests and code lab
- CDS Views
- CDS Associations
- CDS Annotations
- RAP Business Objects
- Behavior Definitions
- Behavior Implementations
- 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
- SAP RAP / CDS / OData RAP Business Objects interview questions