ERPClimb logoERPClimb

SAP RAP / CDS / OData Fiori Elements Interview Questions

Interviewers use fiori elements 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.

Fiori Elements is SAP's metadata-driven UI framework that renders standard SAP Fiori floorplans (List Report, Object Page, Overview Page, Worklist) directly from OData V4 services and CDS/RAP annotations, eliminating custom UI5 coding for most transactional and analytical apps. This topic covers the architectural rationale, annotation-driven design, runtime rendering flow, extension points, and production troubleshooting for Fiori Elements apps built on RAP-based business objects.

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

11 Fiori Elements questions with answers

easyFiori Elements

1. Where should business validations live in a RAP-based Fiori Elements application?

Business validations belong in the RAP business object behavior layer, not duplicated in frontend JavaScript. Fiori Elements consumes the service metadata and messages and should present the result. UI-only checks can improve usability, but the authoritative business rule must remain on the backend.
easyFiori Elements

2. What is SAP Fiori Elements, and how does it build UIs from a RAP service?

Fiori Elements provides floorplans (list report, object page, worklist, analytical list page, overview page) that render UIs at runtime from OData metadata and annotations — no UI5 view code. With RAP: projection views plus metadata extensions supply @UI annotations (headerInfo, lineItem, selectionField, facet, fieldGroup), the V4 UI binding publishes the service, and BDEF behavior (draft, feature control, authorization, side effects) drives editability and buttons. Freestyle UI5 is used only for needs the floorplans and flexible programming model cannot meet.
mediumFiori Elements

3. A generated Fiori Elements List Report opens successfully but shows no useful columns. What would you check before writing custom UI5 code?

I would verify that the RAP OData V4 service returns data and then inspect the UI annotations, especially lineItem and selectionField metadata, plus the projection and metadata extension. If the service is healthy, missing columns are usually a metadata/presentation issue rather than a reason to build custom controllers.
mediumFiori Elements

4. A Fiori Elements object page lost a column and a button after a change. How do you analyze it?

Check $metadata of the service: is the field/action present? If not — projection element list, projection BDEF "use action", service exposure, binding refresh. If present — annotations: effective @UI.lineItem/#FOR_ACTION (ADT Active Annotations, layers, allowExtensions), qualifiers of facets. If the button exists but is disabled — feature control or authorization. Finally clear caches and reset personalized variants.
mediumFiori Elements

5. Walk through building a purchase request app with Fiori Elements on RAP.

Managed RAP BO with draft; projection ZC_ with redirected composition and @Metadata.allowExtensions; projection BDEF using draft and actions; metadata extension with headerInfo, lineItem, selectionField, facets (identification, field groups, item table) and #FOR_ACTION buttons; value helps; service definition and V4 UI binding; generate the app with Fiori tools (List Report Page, main entity root, navigation to items); iterate on annotations; add FPM extensions only where needed; deploy and configure launchpad and roles.
mediumFiori Elements

6. What are the most important best practices for Fiori Elements apps on RAP?

Annotations in projection metadata extensions; one projection per app; business logic, feature control and authorization in RAP, not UI; draft with total etag and side effects for complex edits; lean list requests (aggregated CDS fields, no to-many expands); value-help views with search; text associations; FPM extensions only where needed; consistent annotation guidelines; test with real roles; measure performance.
mediumFiori Elements

7. Which UI annotations do you need for a complete list report and object page, and where do you put them?

@UI.headerInfo (type names, title), @UI.lineItem (columns with position, importance, #FOR_ACTION buttons), @UI.selectionField (filters), @UI.facet (sections referencing identification, field groups, child line items), @UI.identification/@UI.fieldGroup (fields), @UI.dataPoint (KPIs), @UI.hidden for technical keys, @Consumption.valueHelpDefinition for value helps, @UI.textArrangement for texts. Put them in a metadata extension of the projection with @Metadata.allowExtensions: true.
mediumFiori Elements

8. A requirement cannot be met with annotations alone. How do you extend a Fiori Elements app?

Use the flexible programming model: custom sections, custom columns, custom actions, custom fragments and controller extensions configured in manifest.json, plus building blocks where suitable. Keep extensions small and in dedicated files; business logic stays in RAP (actions, validations). Only switch to freestyle UI5 if the floorplan fundamentally does not fit. Test extensions after UI5 upgrades.
mediumFiori Elements

9. A travel team needs a "Manage Travels" app with list, filters, object page with bookings and an Accept button. How do you build it?

Managed RAP BO Travel/Booking with draft, feature control on accept, validations; projections with redirected composition; projection BDEF using draft, create-by-association and accept; metadata extension with headerInfo, lineItem, selectionField, facets (general, dates, bookings line item), #FOR_ACTION accept; value helps for customer/agency; V4 UI binding; generate List Report Page with Fiori tools; test preview; deploy with launchpad tile and roles.
hardFiori Elements

10. How do you design Fiori Elements apps for enterprise scale?

One projection and metadata extension per app; lean list projections with aggregated values from CDS; text associations; value-help views; draft for complex edits with total etag and side effects; feature control and authorization in the BO; FPM extensions only for gaps; performance budgets measured with network traces and backend traces; clean core (no modifications); launchpad content, roles and transports planned together; consistent annotation guidelines across teams.
hardFiori Elements

11. You inherit a Fiori Elements app with performance and maintainability issues. What do you review?

Annotations location (MDE on projection, not base views), duplicated or conflicting layers, facets and qualifiers; list requests ($select, no to-many $expand, growing thresholds); backend CDS design (aggregated fields, text associations); draft and side effects; feature control; FPM extensions — small, justified, no hacks; manifest settings; roles and service authorization; tests; measurements with network tab and backend traces.

Related lesson

Fiori Elements Part 2: Generate a List Report and Object Page from RAP

Related topics

Next practice step

Go deeper on this topic