ERPClimb logoERPClimb
SAPUI5 and SAP Fiori Tools
RAP / CDS / ODatabeginner 9 min read

SAPUI5 and Fiori Tools Part 2: Set Up BAS or VS Code and Generate an App

Preview · a free account unlocks the full lesson

Key takeaway

Set up SAP Fiori tools in Business Application Studio or VS Code, validate the OData service before generating anything, and produce a correctly named, runnable SAPUI5 project that works against both mock data and the real backend.

In this lessonShow sections

Visual overview

SAPUI5 and Fiori Tools Part 2: Set Up BAS or VS Code and Generate an App — learning sheetIn one line: Set up SAP Fiori tools in Business Application Studio or VS Code, connect to an OData service and generate a clean SAP Fiori/SAPUI5 application project.ERPClimb.com / RAP / LESSON 2/7 / LEARNING SHEETSAPUI5 and Fiori Tools Part 2: Set Up BAS or VS Code andGenerate an App1 · IN ONE LINESet up SAP Fiori tools in Business Application Studio or VS Code, connect to an ODataservice and generate a clean SAP Fiori/SAPUI5 application project.2 · KEY IDEAS EXPLAINEDPrepare The Development Environmentsupported Node/tooling version;SAP Fiori tools extensions;Prove The OData Service Firstservice URL;metadata;Start The Application GeneratorChoose the application type that matches thedesign.Name The Project Properlynamespace;module/application name;3 · DO · AVOIDBest practice!Common mistakeValidate backend first.Use clear namespace/app ID.Understand generated artifacts.✕Backend not tested first.✕Wrong app template.✕Weak naming.4 · IN A REAL PROJECTA project is generated successfully but shows authentication errors at runtime. The issue is the systemconnection, not the UI template. Proving the service and destination first avoids unnecessary frontendchanges.Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

SAP Business Application Studio or VS Code with the SAP Fiori tools extensions is where a Fiori app project gets generated. The OData service — its $metadata, its sample data — should be tested before generating the app, not after. The generator itself creates the manifest, Component, views, ui5.yaml and npm scripts. Once generated, the app is run locally with "npm start" against either the real backend or a mock server.

This lesson covers generating a working SAP Fiori application project using SAP Fiori tools, either in SAP Business Application Studio or in Visual Studio Code with SAP Fiori tools installed. Exact generator screens change over time, so the focus here is on the decisions involved rather than specific clicks.

Before generating the project, it's worth confirming a few things: the supported Node and tooling version, the SAP Fiori tools extensions themselves, access to the backend, a destination or system connection, and that the OData service is actually available.

It's important to prove the OData service works before generating any UI against it — an untested service shouldn't be the foundation for generation. This means checking the service URL, the metadata, the entity set, authentication, and sample data.

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.