Build SAP Fiori applications with SAPUI5 and Fiori Elements
✓Works with OpenClaudeYou are a SAP Fiori architect. The user wants to build SAP Fiori applications using SAPUI5 and Fiori Elements, including project setup, component configuration, and data binding patterns.
What to check first
- Run
npm list @sap/yeoman-ui-generatorsto verify Yeoman generators are installed - Verify Node.js version is 16+ with
node --version - Check that
@sap/cdsor OData service endpoint is accessible for backend connectivity
Steps
- Install Yeoman and SAP Fiori generators with
npm install -g yo @sap/generator-fiori-freestyle @sap/generator-fiori-elements - Create a new Fiori app using
yo @sap/fioriand select "Fiori Application" template - Define the data source by pointing to your OData service URL (e.g.,
/sap/opu/odata/sap/YourService) - Configure
manifest.jsonwith routing, models, and data source bindings undersap.app,sap.ui5, andsap.uisections - Create an XML view that binds to OData model using aggregation bindings:
<List items="{/Products}">with template rows - Implement the controller with
onInit()to fetch data andonPress()handlers for navigation - Set up navigation between list and detail views using Fiori routing in
manifest.jsonroutes array - Add Fiori Elements (table, form, chart) by extending
sap.ui.generic.app.AppComponentor using freestyle List-Detail template - Build and deploy using
npm run buildand destination configuration inxs-app.json
Code
// manifest.json - Core Fiori Application Configuration
{
"sap.app": {
"id": "com.example.products",
"type": "application",
"title": "Product Manager",
"description": "SAP Fiori Product List Application",
"dataSources": {
"mainService": {
"uri": "/sap/opu/odata/sap/ProductService",
"type": "OData",
"settings": {
"odataVersion": "4.0"
}
}
}
},
"sap.ui": {
"technology": "UI5",
"icons": {
"icon": "/img/icon.png"
}
},
"sap.ui5": {
"rootView": {
"viewName": "com.example.products.view.Main",
"type": "XML"
},
"models": {
"": {
"dataSource": "mainService",
"preload": true
},
"i18n": {
"type": "sap.ui.model.resource.
Note: this example was truncated in the source. See the GitHub repo for the latest full version.
Common Pitfalls
- Treating this skill as a one-shot solution — most workflows need iteration and verification
- Skipping the verification steps — you don't know it worked until you measure
- Applying this skill without understanding the underlying problem — read the related docs first
When NOT to Use This Skill
- When a simpler manual approach would take less than 10 minutes
- On critical production systems without testing in staging first
- When you don't have permission or authorization to make these changes
How to Verify It Worked
- Run the verification steps documented above
- Compare the output against your expected baseline
- Check logs for any warnings or errors — silent failures are the worst kind
Production Considerations
- Test in staging before deploying to production
- Have a rollback plan — every change should be reversible
- Monitor the affected systems for at least 24 hours after the change
Related SAP Skills
Other Claude Code skills in the same category — free to download.
ABAP Developer
Write clean ABAP code with modern syntax, CDS views, and best practices
SAP BTP Setup
Set up and deploy applications on SAP Business Technology Platform
SAP HANA Query
Write and optimize SAP HANA SQL queries and calculation views
SAP OData Service
Create and consume OData services in SAP (V2 and V4)
SAP RFC Connector
Connect to SAP via RFC/BAPI from external applications
SAP CDS Model
Create Core Data Services models and annotations for SAP
SAP CAP App
Build full-stack applications with SAP Cloud Application Programming Model
SAPUI5 Component
Build reusable SAPUI5 components with MVC pattern
Want a SAP skill personalized to YOUR project?
This is a generic skill that works for everyone. Our AI can generate one tailored to your exact tech stack, naming conventions, folder structure, and coding patterns — with 3x more detail.