ERPClimb logoERPClimb
Fiori Elements
RAP / CDS / ODatabeginner 14 min read

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

Preview · a free account unlocks the full lesson

Key takeaway

Generate a SAP Fiori Elements List Report/Object Page application from a RAP OData V4 service, run it locally, and understand what is generated versus what stays in RAP.

In this lessonShow sections

Visual overview

Fiori Elements Part 2: Generate a List Report and Object Page from RAP — learning sheetIn one line: Generate a SAP Fiori Elements List Report/Object Page application from a RAP OData V4 service, run it locally, and understand what is generated versus what stays in RAP.ERPClimb.com / RAP / LESSON 2/5 / LEARNING SHEETFiori Elements Part 2: Generate a List Report and ObjectPage from RAP1 · IN ONE LINEGenerate a SAP Fiori Elements List Report/Object Page application from a RAP OData V4service, run it locally, and understand what is generated versus what stays in RAP.2 · KEY IDEAS EXPLAINEDConfirm The Backend Firstservice binding is active;OData V4 service is reachable;Create The Fiori Elements Applicationa list page for searching/filtering many Travels;an object page for viewing or editing one Travel;Select The OData V4 Servicetitle;entity sets;Choose The Main EntitySelect the root entity, for example:3 · DO · AVOIDBest practice!Common mistakeProve the service before generating the UI.Keep business logic in RAP.Use standard floorplans before customextensions.✕Frontend-first development before proving theRAP service.✕Rewriting standard Fiori Elements behavior incustom UI5.✕Missing navigation metadata for child tables.4 · IN A REAL PROJECTA team starts writing custom SAPUI5 controllers because the generated List Report has no useful columns. Thebackend service is healthy. The real issue is that the projection lacks the required UI metadata. The teamadds line-item and selection-field annotations in a metadata extension. The generated app now shows the…Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

In Part 1 you learned how Fiori Elements turns metadata into UI.

This lesson generates a real List Report plus Object Page application from a RAP OData V4 service, to make the whole chain concrete: the RAP business object leads to a projection with annotations, which becomes an OData V4 service, which the Fiori tools application generator turns into a List Report and an Object Page.

None of this requires hand-coding a full SAPUI5 CRUD application.

You'll need a RAP OData V4 UI service, SAP Business Application Studio or a supported Fiori tools environment, access to the backend system, and a basic understanding of what a List Report and an Object Page are; a Travel-style service, with a clear root entity and child data, is ideal for learning this.

Before opening the application generator, the backend needs to be confirmed independently: the service binding should be active, the OData V4 service reachable, metadata should load, the root entity set should exist with correct keys, UI annotations should either be available already or planned for the next lesson, and authorization should allow the current user to read data. If the service doesn't work on its own, generating a frontend on top of it won't fix anything.

Creating the application starts in the application generator inside SAP Business Application Studio or Fiori tools, choosing the floorplan that fits — for this tutorial, List Report Page plus Object Page, which gives a list page for searching and filtering many Travels, an object page for viewing or editing one Travel, navigation driven by OData metadata, and standard actions and draft behavior wherever RAP exposes them.

The generator then needs to be connected to the RAP OData V4 service created earlier — not a similarly named one chosen by guesswork — checking its title, entity sets, service version, system destination and authentication context, since the frontend gets generated directly against this contract.

The main entity is the root entity, Travels in this case, which becomes the main List Report collection; if Bookings are exposed through a navigation or composition relationship, they can later appear on the Travel Object Page.

Free account

Create a free account to keep reading

You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.

  • Full explanation
  • Code example
  • Real project scenario
  • Common mistakes
  • Best practices
  • Interview angle

One tap with Google works too. Every topic keeps its first lesson open to everyone.

Keep exploring

Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.