ERPClimb logoERPClimb
SAP Fiori Tools and Business Application Studio
Fiori & SAPUI5beginner 6 min read

Fiori Tools Part 1: Business Application Studio, Dev Spaces and App Generators

Free sample lesson · open to everyone

Key takeaway

Set up a productive Fiori development environment: SAP Business Application Studio dev spaces or VS Code with SAP Fiori tools, connecting to back-end systems through destinations, and generating apps from templates.

In this lessonShow sections

Visual overview

Fiori Tools Part 1: Business Application Studio, Dev Spaces and App Generators — learning sheetFlow: Dev space / VS Code → Destination or system connection → Application generator → Project files → Local run and preview. Key ideas: CHOOSING THE ENVIRONMENT; CONNECTING TO SYSTEMS; APPLICATION GENERATOR; PROJECT STRUCTURE. Watch out: Hard-coding system URLs and credentials in app config is a security and transport problem.ERPClimb.com / FIORI / LESSON 12/14 / LEARNING SHEETFiori Tools Part 1: Business Application Studio, DevSpaces and App Generators1 · HOW IT FLOWS1Dev space /VS Code2Destinationor systemconnection3Applicationgenerator4Projectfiles5Local runand preview2 · KEY IDEAS EXPLAINEDChoosing The EnvironmentBAS runs in the browser on SAP BTP with dev spacesfor SAP Fiori, CAP and other scenarios, so nolocal installation is needed and connectivity to…Connecting To SystemsIn BAS, a destination defines the back-end URL,authentication and proxy type (for on-premisethrough Cloud Connector). Flagging it for…Application GeneratorThe generator asks for a template — list report,worklist, overview page, analytical list page,custom page, or basic freestyle — a data source…Project StructureGenerated projects include webapp withmanifest.json and Component, i18n files,annotation files for Fiori elements, and ui5*.yaml…3 · REMEMBER · WATCH OUTRememberSAP Business Application Studio (BAS) is SAP's cloud IDE with devspaces preconfigured for Fiori development.SAP Fiori tools extensions also run in VS Code for local development.Back-end systems are reached via BTP destinations (in BAS) or savedsystem connections.!Watch outHard-coding system URLs andcredentials in app config is asecurity and transport problem.4 · IN A REAL PROJECTA team committed ui5.yaml files with back-end URLs and a technical user's password to Git. The credentials hadto be rotated and history cleaned. Moving to BTP destinations in BAS removed credentials from the repositoryentirely.Original ERPClimb learning sheet • Verify against your SAP release and edition

The situation: a real project scenario

A team committed ui5.yaml files with back-end URLs and a technical user's password to Git. The credentials had to be rotated and history cleaned. Moving to BTP destinations in BAS removed credentials from the repository entirely.

Explanation

This series covers developer productivity, and Part 1 sets up the tools and creates an app.

SAP Business Application Studio (BAS) is SAP's cloud IDE, running in the browser on SAP BTP with dev spaces preconfigured for Fiori, CAP and other scenarios, so no local installation is needed, and connectivity to back ends goes through BTP destinations. SAP Fiori tools extensions also run in VS Code, which suits developers who prefer a local setup — the tooling itself is largely the same either way.

In BAS, a destination defines the back-end URL, authentication and proxy type (routing through the Cloud Connector for on-premise systems). Flagging a destination for development use makes it available to the generator. Locally, developers save system connections instead. Either way, credentials never belong in the app's code or ui5.yaml — hard-coding system URLs and credentials into app config is both a security and a transport problem.

The application generator asks for a template — list report, worklist, overview page, analytical list page, custom page, or basic freestyle — a data source such as an OData service, and the main entity. From that, it creates the full project structure with manifest, annotations, ui5.yaml configurations and npm scripts.

Generated projects include a webapp folder with manifest.json and the Component, i18n files, annotation files for Fiori elements, and ui5*.yaml files for serving, mock data and deployment. Understanding what each of these files does is essential once it comes time to debug something.

Running the app is handled through npm scripts, which start a local server that proxies back-end calls with live reload. Variants of these scripts start the app with mock data or against the real service instead — this short, fast loop is what makes Fiori tools genuinely productive to work with.

In practice, this means creating a Fiori dev space in BAS or installing Fiori tools in VS Code, configuring a destination or system connection, generating a list report app from a test service, and running it both with the real service and with mock data — ending with the ability to generate and run a Fiori app against a back end without any hard-coded credentials.

How the SAP process fits together

SAP PROCESS EXPLORER · Fiori: from service to user

ERPClimb.com

SAP Fiori Tools and Business Application Studio — process breakdown

Topic-specific conceptual flow: how key objects and decisions fit together. SAP configurations and exceptional cases can follow different paths.

1/4

Selected process stage

Set up

Create a dev space in Business Application Studio

Representative SAP learning flow, not a guarantee of system runtime sequence in every scenario.

Watch out

Common mistakes

Committing credentials or back-end URLs directly into project files (ui5.yaml, manifest.json) and into Git. This is more than a style issue — once a password is in version history, rotating it isn't enough; the history itself has to be cleaned, and anyone with repo access had access to a live system credential for however long it sat there.

Using a freestyle template when the requirement is a standard floorplan (list report, object page, worklist). This means hand-building navigation, actions and layout that Fiori elements would have generated from annotations, losing consistency with other apps and taking on maintenance the generator would otherwise have handled.

Treating generated files (manifest.json, annotation files, ui5*.yaml) as black boxes and never learning what each controls. When something breaks — a route, a mock data mismatch, a build setting — a developer who doesn't understand the generated structure ends up guessing or regenerating the whole project rather than fixing the specific file responsible.

Not setting up a mock data option, so every development iteration requires a live connection to a back-end system. This slows down UI-only changes (styling, layout, text) that have nothing to do with the service, and makes it impossible to work productively when the back end is unavailable or shared with other testers.

Do this

Best practices

Connect to back-end systems through BTP destinations (in BAS) or saved system connections (in VS Code) — never through URLs or credentials written into manifest.json, ui5.yaml, or any file that gets committed to Git.

Default to a Fiori elements template (list report, object page, worklist, analytical list page) when the requirement fits a standard floorplan, and reserve freestyle/custom page templates for genuinely unique interactions — this is what lets the generator do the structural work for you.

Take time to understand what each generated file controls (manifest.json and Component for app configuration, annotation files for Fiori elements UI, ui5*.yaml for serving/mock data/build) rather than treating the generated project as a black box — this is what makes debugging fast instead of guesswork.

Set up a mock data option alongside the real-service configuration so UI-only iteration (layout, text, styling) doesn't require a live back-end connection — this keeps the development loop fast and makes it possible to work when the back end is shared or unavailable.

In the interview

Interview angle

A practical interview question: "How do you connect a Fiori app you're developing in BAS to an S/4HANA system without putting credentials in the project?" A weak answer says "use a config file for the URL." A strong answer explains BTP destinations: the back-end URL, authentication and proxy type (including Cloud Connector for on-premise systems) are defined once at the subaccount level, flagged for development use, and referenced by name from the app generator — so credentials never appear in manifest.json, ui5.yaml, or Git history.

The strong answer also knows the equivalent for local VS Code development (saved system connections) and can explain why hard-coded URLs/credentials are both a security risk and a portability problem when the app moves between systems.

Practice this lesson

Original educational case studies for SAP consultants, not official SAP certification exam questions. Verify product edition and implementation details against the current SAP documentation.

Quick check

0 of 3 questions attempted

Question 1 of 3

What does SAP Business Application Studio provide for Fiori developers?

Practise this in an interview

Answer in your own words and get instant feedback, the way an interviewer would judge it.

1Describe how you set up and start a new Fiori app project.

Was this lesson helpful?

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.