ERPClimb logoERPClimb

SAP RAP / CDS / OData RAP Basics Interview Questions

Interviewers use rap basics 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.

Master ABAP RAP fundamentals with CDS root views, behavior definitions, managed and unmanaged scenarios, actions, determinations, validations, EML, draft, locking, authorization and service binding.

This page carries 9 reviewed SAP RAP / CDS / OData rap basics interview questions, each with a complete written answer and no sign-in required. The set breaks down into 3 foundational, 3 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, rap basics 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.

9 RAP Basics questions with answers

easyRAP Basics

1. Explain the RAP architecture from database table to Fiori app.

Tables store data; CDS root and child view entities (R_/I_) model it with compositions and associations; the BDEF defines behavior (operations, draft, locks, ETags, authorization, logic); the behavior pool implements validations, determinations, actions; projections (C_) and projection BDEFs tailor it per consumer; metadata extensions add UI annotations; the service definition exposes projections; the service binding publishes OData V4 (UI/Web API); Fiori Elements renders the UI; EML lets ABAP consume the BO.
easyRAP Basics

2. What is the role of behavior definition in RAP?

First, check whether the RAP business object should be managed or unmanaged, because the behaviour definition is what tells the framework how the object behaves at runtime. It defines the transactional behaviour of the business object and specifies which operations are allowed, such as create, update, delete and actions. It also declares determinations, validations, locking and authorization so the framework can control consistency and access. A strong candidate adds that this is the central contract between the data model and the business logic, ensuring the application behaves predictably in the RAP processing flow.
easyRAP Basics

3. What is RAP in SAP ABAP?

First, I would explain that RAP stands for ABAP RESTful Application Programming Model and is SAP’s modern framework for building transactional OData services and Fiori applications. It combines CDS views for the data model with behavior definitions, behavior implementations, service definitions and service bindings to expose business logic in a structured way. The reason it matters is that it standardises how you build, expose and maintain applications on the ABAP platform. A strong candidate adds that RAP supports clean separation between data, business rules and service exposure, making solutions easier to extend, test and align with modern SAP application development.
mediumRAP Basics

4. Explain the difference between managed and unmanaged RAP business objects.

Managed: the framework generates the runtime implementation (create/update/delete, locking, numbering). You mostly write CDS + behavior definition + validations/determinations. Unmanaged: you provide the implementation class yourself, typically when wrapping legacy logic (BAPIs, function modules) or non-standard persistence. Managed is the default for greenfield; unmanaged is for brownfield or when you own the persistence layer.
hardRAP Basics

5. Why should direct database updates be avoided for RAP business objects?

First, check that the change is being made through the RAP behavior layer rather than by updating tables directly. Direct database updates bypass the managed lifecycle, so validations, determinations, locking, authorization checks and transactional consistency are not executed. That means the data may be saved in a technically successful way but still violate business rules or leave the object in an inconsistent state. A strong candidate adds that RAP business objects should be accessed via EML or the framework behavior so the complete business logic is triggered, the update is properly controlled, and the object remains safe for concurrent use and future extensions.
mediumRAP Basics

6. Your team must decide between managed and unmanaged RAP for a new requirement. Which questions do you ask?

Who owns the data: new own tables (managed) or tables written by legacy logic (unmanaged save/unmanaged)? Must legacy posting rules, change documents or updates run on save? Do we need extra writes (additional save)? Must legacy code control buffering/locking (unmanaged)? What about numbering? Draft needs? Choose the most managed option that respects existing rules and document it.
mediumRAP Basics

7. A RAP-based Fiori app suddenly shows an empty list after a transport. How do you localize the problem?

Check the network response: error (e.g. 403/404/500) or empty data. 404/metadata errors → service/binding published, caches. 403 → service or business authorization; empty data with 200 → CDS access control (DCL) filtering, changed WHERE/parameters, or data missing in the client. Compare $metadata and a direct GET; test the CDS view in Data Preview with the same user; check the transport contents (CDS, DCL role, projection, binding).
hardRAP Basics

8. What key design decisions do you make when starting a new RAP business object?

BO boundary (root and composition children); implementation type (managed vs unmanaged save etc.); keys and numbering (UUID + readable ID, early/late numbering); draft or not per consumer; locking and ETags (lock master, etag master, total etag); authorization (global/instance, DCL); logic placement (determinations, validations, actions, feature control); projections per consumer (UI, API); naming conventions; test strategy (EML tests).
hardRAP Basics

9. You inherit a RAP application with frequent production incidents. What do you review first?

Incident patterns; messages (FAILED without REPORTED, missing %element/%state_area); feature control vs authorization confusion; draft configuration (total etag, draft tables, Prepare list); handler code (set-based, %tky, no COMMIT, IN LOCAL MODE usage); save phase (no failures in save); service exposure (projection BDEF use, bindings); DCL roles; performance (CDS, $select); tests (EML, bulk); documentation and support checklist.

Related lesson

RAP Build-Along Part 1: Build a Managed RAP App End to End

Related topics

Next practice step

Go deeper on this topic