SAPUI5 and Fiori Tools Part 2: Set Up BAS or VS Code and Generate an App
Preview · a free account unlocks the full lesson
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 sectionsHide sections
Visual overview
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.
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.