SAP RAP / CDS / OData Service Definitions Interview Questions
Service Definitions comes up in SAP RAP / CDS / OData interviews because it is one of the few areas where an interviewer can tell, in two questions, whether you have worked with the process or only read about it.
Learn RAP service definitions as the explicit list of projection entities exposed by one business service. Focus on keeping the public contract minimal, naming entities clearly and separating consumer-facing projections from internal CDS models.
This page carries 11 reviewed SAP RAP / CDS / OData service definitions interview questions, each with a complete written answer and no sign-in required. The set breaks down into 3 foundational, 5 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.
The fastest way to use this page is to read the question, answer it yourself, and only then read the answer. The gap between your version and the written one is your actual revision list for service definitions.
11 Service Definitions questions with answers
2. Write a service definition for an order app with header, items and a customer link, and explain each line.
3. Describe the complete path from a RAP business object to a running OData service.
4. How do you decide which entities go into a service definition?
5. A developer renamed a field in an API projection and an external import failed overnight. What process changes do you introduce?
6. $expand on a supplier association fails in a RAP service, although the association exists in the projection. What is the cause?
7. An action exists in the base BDEF and works in DEV tests, but it is missing from the service metadata. What do you check?
8. How do you expose related master data and value helps in a RAP service without bloating it?
9. Which changes to a consumed RAP service are breaking, and how do you handle them?
10. Should a Fiori app and an external integration share one RAP service? Explain your design.
11. You inherit several RAP services. What do you review in their service definitions?
Related lesson
Service Definitions Part 5: UI vs Integration APIs — Reuse or Separate?Related topics
Next practice step
Go deeper on this topic
- Service Definitions — lessons, mock tests and code lab
- CDS Views
- CDS Associations
- CDS Annotations
- RAP Business Objects
- Behavior Definitions
- Behavior Implementations
- SAP RAP / CDS / OData Unmanaged RAP interview questions
- SAP RAP Interview Questions
- SAP S/4HANA Technical Interview Questions
- SAP SAC / Datasphere Analytic Models interview questions
- SAP SAC / Datasphere Analytics Designer interview questions
- SAP SAC / Datasphere Business Builder interview questions