11 KiB
Getting Started Reference
Comprehensive reference for setting up and migrating SAP Fiori tools projects.
Table of Contents
- Installation
- Migration from SAP Web IDE
- Importing Applications
- ADT Integration
- Command Palette Reference
- Telemetry
- Security Best Practices
Installation
Visual Studio Code
Prerequisites:
| Requirement | Details |
|---|---|
| Node.js | LTS version required |
| npm | Compatible version with Node.js |
| MTA Tool | npm install -g mta (version 1.0+) |
| CF CLI | Latest Cloud Foundry CLI |
Windows Node.js Setup:
- Download Windows installer from nodejs.org (requires admin rights) or standalone binary
- Extract binary to
C:\Users\<your_user>\AppData\Local\Programs - Set
NODE_PATHenvironment variable pointing to Node folder - Add
%NODE_PATH%to System variables Path - Restart computer after changes
macOS Node.js Setup: Use package manager: Homebrew or Node Version Manager (nvm)
npm Configuration Check:
npm config get @sap:registry
Expected values: [https://registry.npmjs.org](https://registry.npmjs.org) or undefined`
If set incorrectly to @sap, remove entry from .npmrc file in home directory.
Required Extensions: Install SAP Fiori tools - Extension Pack which includes:
- Application Wizard
- Application Modeler
- Guided Development
- Service Modeler
- XML Annotation Language Server
- XML Toolkit
Optional Extensions:
- SAP CDS Language Support (for CAP applications)
- UI5 Language Assistant Support (control ID checks)
SAP Business Application Studio
Dev Space Types with SAP Fiori Tools:
- SAP Fiori Dev Space - Dedicated for Fiori development
- Full Stack Cloud Application Dev Space - For CAP applications
Setup Steps:
- Complete SAP Business Application Studio onboarding
- Create dev space with appropriate type
- Start dev space and begin development
Note: UI5 Language Assistant is installed automatically in SAP Fiori tools Dev Spaces.
Authentication Methods
| Type | On Premise | ABAP Environment | Cloud Foundry | S/4HANA Cloud |
|---|---|---|---|---|
| OAuth 2.0 | No | Deprecated | No | No |
| Basic Auth | Yes | No | Yes | No |
| Reentrance Ticket | No | Yes | Yes | Yes |
Required OData Services (SAML Disabled)
| Service | Path |
|---|---|
| OData V2 Catalog | /sap/opu/odata/IWFND/CATALOGSERVICE;v=2 |
| OData V4 Catalog (dev) | /sap/opu/odata4/iwfnd/config/default/iwfnd/catalog/0001 |
| OData V4 Catalog (prod) | /sap/opu/odata4/iwfnd/config/default/iwfnd/catalog/0002 |
| ATO Catalog | /sap/bc/adt/ato/settings |
| SAPUI5 Repository | /sap/opu/odata/UI5/ABAP_REPOSITORY_SRV |
Migration from SAP Web IDE
Overview
SAP Fiori tools enables migrating projects from SAP Web IDE to VS Code or SAP Business Application Studio.
Note: SAP Web IDE requires productive SAP BTP global account (not available on free tier).
Supported Project Types
- SAP Fiori elements (V2 and V4)
- Freestyle SAPUI5
- SAPUI5 Adaptation Projects
- SAPUI5 Extensibility projects
Prerequisites
- Latest SAP Fiori tools extensions installed
- Project functioning properly in SAP Web IDE
- BAS: Destination defined for target system
- VS Code: Knowledge of target system hostname and client
Migration Steps
-
Import/Clone Project
- Clone from Git repository, OR
- Export from SAP Web IDE and drag into workspace
-
Launch Migration
- Click "Start Migration" prompt, OR
- Command Palette:
Fiori: Migrate Project for use in Fiori tools
-
Select Projects
- Check desired projects in list
- Manually add via filesystem if not detected
-
Configure Settings
Field Description Application Identifier Unique app ID Project Path Target location SAP System Target ABAP system Destination (BAS) Destination name Hostname (VS Code) System URL Client SAP client number SAPUI5 Version Target UI5 version -
Execute Migration
- Click "Start Migration"
- Packages install automatically
Files Modified During Migration
Approximately 13 files updated including:
package.jsonui5.yamlmanifest.jsonindex.htmlchanges_loader.js(created)locate-reuse-libs.js(created)
Post-Migration Steps
CRITICAL: Migration doesn't update deployment configuration!
npm run deploy-config
Verification:
- Review source control changes
- Test SAP Fiori tools features (Page Map, Application Generator)
- Sync OData services if
metadata.xmlis missing
Importing Applications
From SAPUI5 ABAP Repository
Prerequisites: Create two folders in workspace:
restore-from-exported- stores restored applicationrestore-from-exported/webapp- contains extracted files
Import Procedure
- Access SAPUI5 ABAP backend system
- Open transaction
SE80 - Execute report
/UI5/UI5_REPOSITORY_LOAD - Enter SAPUI5 application name
- Select Download and choose empty folder
- Download as
.ziparchive - Extract to
restore-from-exported/webapp- Ensure
manifest.jsonat exact path
- Ensure
- Create
package.jsoninrestore-from-exported:{ "name": "your-app-name", "version": "1.0.0" } - Run:
Fiori: Migrate Project for use in Fiori tools - Complete migration process
Important Notes
- Downloaded code typically minified
-dbg.jsfiles contain unminified source- Before UI5 CLI build, remove:
-dbg.jsfiles-preload.jsfiles.js.mapfiles
ADT Integration
Overview
Launch SAP Fiori Generator directly from ABAP Development Tools in Eclipse.
One-Time Configuration
- Select target system in ADT
- Access system properties
- Navigate to ABAP Development settings
- Enable IDE configuration option
- Specify preferred IDE (BAS or VS Code)
Features
Streamlined Project Creation:
- "Create Fiori Project" button appears near service details
- Data source selection step skipped (already selected in ADT)
- Main entity pre-selected
Application Download:
- Quick Fiori Application generator option
- Downloads deployed application to workspace
- Updates for SAP Fiori tools compatibility
Direct Command:
Fiori: Download ADT Deployed App from SAPUI5 ABAP Repository
Important: VS Code saved ABAP system URL must match ADT URL.
Command Palette Reference
Access via Cmd/Ctrl + Shift + P, then type "Fiori:"
Project Management
| Command | Description |
|---|---|
| Add SAP System | Create/save ABAP On-Premises or ABAP Environment connection |
| Import SAP System | Import ABAP On-Premise systems |
| Show SAP System Details | View saved system configuration |
| Archive Project | Preserve project state |
| Validate Project | Check project integrity |
| Migrate Project | Transition from SAP Web IDE |
Application Development
| Command | Description |
|---|---|
| Open Application Generator | Create SAP Fiori application |
| Open Reusable Library Generator | Create shareable components |
| Delete Application from CAP Project | Remove apps from multi-app setups |
| Open Application Info | Display application metadata |
Configuration & Deployment
| Command | Description |
|---|---|
| Add Deployment Configuration | Setup deployment parameters |
| Deploy Application | Execute deployment |
| Add SAP Fiori Launchpad Configuration | Prepare for launchpad |
| Add SAP Fiori Launchpad Embedded Configuration | Enable external preview |
| Change Minimum SAPUI5 Version | Update version requirements |
| Add Configuration for Variants Creation | Enable variant management |
Development Tools
| Command | Description |
|---|---|
| Open Guided Development | Generate code snippets for features |
| Open Service Modeler | Visualize OData models |
| Open Annotation File Manager | Manage annotation files |
| Open Data Editor | Launch data editing interface |
| Show Page Editor | Outline view of configurable elements |
| Show Page Map | Application pages and navigation paths |
| Open Run Configurations | Configure preview settings |
Navigation & Preview
| Command | Description |
|---|---|
| Preview Application | Execute start script |
| Enable App-to-App Navigation Preview | Test navigation between apps |
| Open CF Application Router Generator | Create MTA deployment config |
System & Utilities
| Command | Description |
|---|---|
| Open Environment Check | Check/create environment reports |
| Change Telemetry Settings | Control data collection |
| Show Release Notes | Display version information |
| Show Output Channel | Open diagnostics view |
| Restart XML Annotation Language Server | Recover failed services |
| Run UI5 Linter | Validate SAPUI5 best practices |
| Refresh Application Modeler View | Update UI state |
AI Assistance
| Command | Description |
|---|---|
| Show Fiori Tools Joule | Activate AI assistant (requires SAP Build Code) |
Telemetry
Overview
SAP Fiori tools collects non-personally identifiable usage information to improve the product.
Configuration
Fiori: Change Telemetry Settings
Toggle telemetry collection on/off according to preference.
Security Best Practices
Development Security
- Follow organization's software development security policies
- Avoid using production OData services for development
- Use separate credentials for development vs production
- Use trusted NPM registry
- Apply security guidelines for all required tools
- Implement source control with regular commits
Path Variable Security
Verify PATH variable content:
nodecommand points to trusted origincdscommand points to trusted origin
Reporting Issues
- Check SAP Fiori tools FAQs
- Search SAP Community
- Create incident in SAP Support Portal
- Component:
CA-UX-IDE
- Component:
Documentation Source
GitHub: https://github.com/SAP-docs/btp-fiori-tools/tree/main/docs/Getting-Started-with-SAP-Fiori-Tools
Key files:
getting-started-with-sap-fiori-tools-2d8b1cb.mdinstallation-e870fcf.mdvisual-studio-code-17efa21.mdsap-business-application-studio-b011040.mdmigration-70d41f3.mdimporting-an-application-ab4657c.mdabap-development-tools-integration-20da2fd.mdcommand-palette-4896dcc.mdtelemetry-837c231.mdreport-issues-and-security-7c755a5.md