ERPClimb logoERPClimb

Fiori / SAPUI5 · Intermediate · Configuration

How to generate an SAP Fiori elements app in Business Application Studio

Turn a published OData V4 service into a runnable List Report and Object Page project with the SAP Fiori tools generator, and preview it against the real service.

APPLICABILITY
SAP Business Application Studio on SAP BTP with SAP Fiori tools, against an OData V4 service from a RAP system (SAP BTP ABAP environment, S/4HANA Cloud or S/4HANA) or a CAP project. The same generator is available in Visual Studio Code.
TOOLS / TRANSACTIONS
SAP Business Application Studio · SAP Fiori tools Application Generator

Your project assignment

The hypothetical OData V4 service ZUI_TRAVELREQ_O4 is published in the development system. Product owners want to see a first list report today. Generate the app in a dev space and demonstrate it in preview, without deploying anything.

Where to start: URLs and transactions

SAP Business Application Studio
Open it from the BTP cockpit: Services → Instances and Subscriptions → SAP Business Application Studio
Command Palette entry
Fiori: Open Application Generator

Prerequisites

  • A subscription to SAP Business Application Studio and the developer role collection; a dev space of type SAP Fiori.
  • A published OData V4 UI service with UI annotations, and a way to reach it: a BTP destination or the ABAP environment in your Cloud Foundry space.
  • Your user must be allowed to read the service in the backend.

Configuration workflow

From published service to a previewed app

All steps visible. Play or advance one stage at a time.

From published service to a previewed appSAP Fiori dev space: Running in Business Application Studio → Application Generator: List Report Page template → Service and entity: Read metadata from the backend → Preview: List report and object page1SAP Fiori dev spaceRunning in Business Application Studio2Application GeneratorList Report Page template3Service and entityRead metadata from the backend4PreviewList report and object page
The app only renders what the service annotations describe; missing columns are fixed in the backend. ERPClimb original instructional diagram · not a live SAP screenshot.

Hands-on implementation — step by step

Follow the screen navigation, replace example values with approved project values, and mark each step after checking its result. The screens below are original teaching aids, not live SAP screenshots. Progress is local to this visit.

0/7 completed
  1. 1

    Dev Space Manager → SAP Fiori dev space

    Open SAP Business Application Studio, create or start a dev space of type SAP Fiori and wait until its status changes from STARTING to RUNNING. Click its name to open it.

    Dev Space Manager → SAP Fiori dev spaceERPClimb · illustrative screen
    Dev space name
    fiori_travel (hypothetical)
    Type
    SAP Fiori
    Status
    RUNNING

    Expected result: The dev space opens with an empty workspace.

    Why this matters: The dev space type decides whether SAP Fiori tools are installed.

  2. 2

    View → Command Palette → Fiori: Open Application Generator

    Open the Command Palette from the menu, type Application Generator and select Fiori: Open Application Generator.

    View → Command Palette → Fiori: Open Application GeneratorERPClimb · illustrative screen
    Menu
    View → Command Palette
    Command
    Fiori: Open Application Generator

    Expected result: The template selection of the generator is displayed.

    Why this matters: The generator is the supported way to create a project that later tools can maintain.

  3. 3

    Template selection

    In the template selection, select the List Report Page tile, which creates a list report with an object page for details, and choose Next.

    Template selectionERPClimb · illustrative screen
    Template type
    SAP Fiori
    Template
    List Report Page

    Expected result: The data source step is shown.

    Why this matters: The template decides the page types: a list report with an object page for details.

  4. 4

    Data source and service selection

    Choose how to reach the service (a destination, or an ABAP environment on SAP BTP), select the system and then the service from the list.

    Data source and service selectionERPClimb · illustrative screen
    Data source
    Connect to a System
    System
    Your destination or ABAP environment
    Service
    ZUI_TRAVELREQ_O4 (hypothetical)

    Expected result: The service is read and the generator continues without an error.

    Why this matters: Reading the service metadata here proves connectivity and authorization before any file is written.

  5. 5

    Entity selection

    Select the main entity of the list report and, if offered, the navigation entity for the object page. Keep automatic table columns only if the service has no line-item annotations.

    Entity selectionERPClimb · illustrative screen
    Main entity
    TravelRequest
    Navigation entity
    None or the item association

    Expected result: The entity selection is accepted.

    Why this matters: The main entity becomes the entity set of the first page.

  6. 6

    Project attributes

    Enter the module name, title and namespace, keep the project folder inside your workspace, leave deployment and launchpad configuration switched off for now, and choose Finish.

    Project attributesERPClimb · illustrative screen
    Module name
    travelrequests (hypothetical)
    Application title
    Travel Requests
    Add deployment configuration
    No

    Expected result: The project is generated and dependencies are installed.

    Why this matters: Leaving deployment off keeps this exercise local and reversible.

  7. 7

    Preview the application

    Right-click the project folder and choose Preview Application, then the start script; or run npm start in a terminal in the project folder. Choose Go in the list report and open one row.

    Preview the applicationERPClimb · illustrative screen
    Script
    start
    Check
    Go returns rows; a row opens the object page

    Expected result: The app runs in a new browser tab against the real service.

    Why this matters: Preview shows early whether annotations and authorizations are sufficient.

Project acceptance checklist

Use this checklist to prepare evidence for your project lead.

0 of 4 checks marked. This does not certify the SAP configuration.

Validate your configuration

  • The generated project contains the webapp folder with manifest.json pointing to the selected service and main entity.
  • The preview opens the list report, the Go button returns data, and a row opens the object page.

Common errors and what to check

  • the system or service is not offered in the generator.

    Check: The destination lacks the properties SAP Fiori tools expect, or the service is not published; check the destination and the service binding first.

  • the list report shows no columns or filters.

    Check: The service has no UI annotations for line items and selection fields.

  • preview ends with an unauthorized or forbidden response.

    Check: Your backend user has no authorization for the service; this is not solved in the app.

  • the generator command is not found.

    Check: The dev space was created with a type that does not include SAP Fiori tools.

More in the SAP Library

Need help with a configuration error? Open ERPClimb Copilot.

Technical references & further reading