sap-fiori-tools by secondsky/sap-skills
npx skills add https://github.com/secondsky/sap-skills --skill sap-fiori-tools使用 SAP Fiori tools 扩展开发 SAP Fiori 应用程序的全面指南。
SAP Fiori tools 是一组扩展,用于简化 SAP Fiori elements 和 SAPUI5 应用程序开发。它包括六个主要组件:
| 组件 | 用途 |
|---|---|
| 应用程序向导 | 生成 Fiori Elements 和 Freestyle SAPUI5 模板 |
| 应用程序建模器 | 用于配置的可视化页面地图和页面编辑器 |
| 引导式开发 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 分步功能实现指南 |
| 服务建模器 | 可视化 OData 服务元数据和注解 |
| 注解语言服务器 | 注解的代码补全、诊断、i18n |
| 环境检查 | 验证设置和目标配置 |
最低 SAPUI5 版本 : 1.65+ 支持组件 : CA-UX-IDE
使用 SAP Fiori tools 构建的 Fiori Elements 应用程序的官方 SAP 示例仓库:
| 文件夹 | 内容 |
|---|---|
V2/ | OData V2 Fiori Elements 示例 |
V4/ | OData V4 Fiori Elements 示例 |
cap/ | CAP 项目集成示例 |
app-with-tutorials/ | 教程配套项目 |
快速启动 :
git clone [https://github.com/SAP-samples/fiori-tools-samples](https://github.com/SAP-samples/fiori-tools-samples)
cd fiori-tools-samples/V4/apps/salesorder
npm install
npm start
通过命令面板 (Cmd/Ctrl + Shift + P) 访问功能:
Fiori: Open Application Generator # 创建新应用程序
Fiori: Open Application Info # 查看项目命令
Fiori: Open Page Map # 可视化导航编辑器
Fiori: Open Guided Development # 功能实现指南
Fiori: Open Service Modeler # 探索 OData 服务
Fiori: Add Deployment Configuration # 设置 ABAP 或 CF 部署
Fiori: Add Fiori Launchpad Configuration # 配置 FLP 磁贴
Fiori: Validate Project # 运行项目验证
Fiori: Open Environment Check # 排查目标问题
| 平面图 | OData V2 | OData V4 | 用例 |
|---|---|---|---|
| 列表报告页面 | 是 | 是 | 浏览大型数据集,导航至详情 |
| 工作清单页面 | 是 | 1.99+ | 处理工作项,任务完成 |
| 分析列表页面 | 是 | 1.90+ | 数据分析,KPI 可视化 |
| 概览页面 | 是 | 是 | 基于角色的仪表板,多卡片视图 |
| 表单输入对象页面 | 是 | 是 | 结构化数据输入 |
| 自定义页面 | 否 | 是 | 使用构建块的可扩展自定义 UI |
webapp/
├── manifest.json # 应用描述符
├── Component.js # UI5 组件
├── localService/ # 模拟数据和元数据
│ ├── metadata.xml
│ └── mockdata/
└── annotations/ # 本地注解文件
package.json
ui5.yaml # UI5 工具配置
ui5-local.yaml # 本地开发配置
页面编辑器为 Fiori Elements 页面提供可视化配置。
| 元素 | 位置 | 描述 |
|---|---|---|
| 自定义列 | 表格 | 使用片段添加自定义列 |
| 自定义部分 | 对象页面 | 使用视图添加自定义部分 |
| 自定义操作 | 页眉/表格 | 使用处理程序添加操作按钮 |
| 自定义视图 | 列表报告 | 添加自定义标签页视图 |
| 控制器扩展 | 页面 | 覆盖生命周期方法 |
有关详细配置,请参阅 references/page-editor.md。
Ctrl/Cmd + Space) - 上下文感知建议OASIS OData v4: Core, Capabilities, Aggregation, Authorization, JSON, Measures, Repeatability, Temporal, Validation
SAP 词汇表: Analytics, CodeList, Common, Communication, DataIntegration, DirectEdit, Graph, Hierarchy, HTML5, ODM, PDF, PersonalData, Preview, Session, UI
.cds 文件webapp/annotations/*.xml有关注解模式,请参阅 references/annotations.md。
npm start # 来自后端的实时数据
npm run start-mock # 通过 MockServer 的模拟数据
npm run start-local # 模拟数据 + 本地 SAPUI5 资源
npm run start-noflp # 无 Fiori 启动板沙箱
通过 .vscode/ 文件夹中的 launch.json 配置。支持:
有关预览详情,请参阅 references/preview.md。
先决条件 :
配置 :
npx fiori add deploy-config # 生成 ui5-deploy.yaml
npm run deploy # 执行部署
生成的文件 : ui5-deploy.yaml, 更新的 package.json
先决条件 :
npm i -g mta配置 :
npx fiori add deploy-config # 选择 Cloud Foundry
npm run build # 生成 mta.yaml
npm run deploy # 部署到 CF
生成的文件 : mta.yaml, xs-app.json, xs-security.json
有关部署详情,请参阅 references/deployment.md。
通过以下方式添加 FLP 磁贴配置:
Fiori: Add Fiori Launchpad Configuration
必需参数 :
配置使用入站导航更新 manifest.json。
无需修改源代码即可扩展现有的 Fiori 应用程序。
本地(VS Code) :
S/4HANA Cloud 和 BTP ABAP:
| 适配 | 描述 |
|---|---|
| 控件变体 | 创建页面变体/视图 |
| 片段 | 向扩展点添加 UI 片段 |
| 控制器扩展 | 覆盖/扩展控制器方法 |
| 应用描述符更改 | 修改 manifest.json 设置 |
| OData 服务 | 添加/替换 OData 服务 |
| 组件使用 | 添加 SAPUI5 组件引用 |
有关适配详情,请参阅 references/adaptation-projects.md。
根据业务需求生成带有 Fiori UI 的完整 CAP 项目。
输入格式 : 文本、图像或组合
生成的输出 :
限制 :
使用实体属性名称生成上下文相关的模拟数据(需要 SAP Build Code 订阅)。
| 功能 | 命令 |
|---|---|
| 应用程序信息 | Fiori: Open Application Info |
| 项目验证 | Fiori: Validate Project |
| 环境检查 | Fiori: Open Environment Check |
| 数据编辑器 | 通过应用程序信息页面 |
| 服务元数据 | Fiori: Open Service Modeler |
| 系统连接 | 在 VS Code 中管理 SAP 系统 |
用于自定义页面和部分的可重用 UI 组件:
| 块 | 用例 |
|---|---|
| 图表 | 数据可视化 |
| 筛选栏 | 查询筛选 |
| 表格 | 表格数据显示 |
| 页面 | 自定义页面容器 |
| 富文本编辑器 | 在自定义部分中编辑内容 |
端口 8080 被占用 : 系统自动选择下一个可用端口
HTTPS/SSL 错误 : 配置浏览器信任 localhost 证书
部署 400 错误 : 检查 /IWFND/ERROR_LOG,在 /IWFND/VIRUS_SCAN 中配置病毒扫描
调试部署 :
# macOS/Linux
DEBUG=ux-odata-client npm run deploy
# Windows
set DEBUG=ux-odata-client & npm run deploy
npx fiori help # 列出可用命令
npx fiori deploy help # 部署命令帮助
使用以下命令迁移现有项目:
Fiori: Migrate Project for use in Fiori tools
支持的类型 : Fiori Elements (V2/V4), Freestyle SAPUI5, 适配项目, 扩展项目
迁移后 : 运行 npm run deploy-config 以更新部署配置。
有关迁移详情,请参阅 references/getting-started.md。
访问分步实现指南:
Fiori: Open Guided Development
指南类别 :
有关特定主题的详细信息:
fiori-tools MCP 服务器 (@sap-ux/fiori-mcp-server) 将 AI 编码助手直接与 Fiori 开发集成,提供语义文档搜索和程序化应用生成。
先决条件 : Node.js 20+。无需身份验证。
| 工具 | 描述 |
|---|---|
search_docs | 跨 Fiori Elements、注解、UI5 和 Fiori tools 文档进行语义搜索 |
list_fiori_apps | 扫描目录以识别可供修改的现有 Fiori 应用 |
list_functionalities | 返回支持用于创建或修改应用程序的操作 |
get_functionality_details | 检索特定操作所需的参数 |
execute_functionality | 使用提供的参数执行创建或修改 |
search_docs 查找注解模式或 Fiori Elements 配置选项list_fiori_apps 发现当前工作区中的应用list_functionalities 查看支持哪些修改get_functionality_details 了解所需参数execute_functionality 应用更改SAP 建议与以下服务器一起使用:
@ui5/mcp-server@cap-js/mcp-serverreferences/getting-started.md - 安装、迁移、ADT 集成、命令references/configuration.md - MTA、中间件、SAPUI5 版本、项目功能references/page-editor.md - 页面编辑器配置详情references/annotations.md - 注解模式和示例references/deployment.md - 部署配置详情references/adaptation-projects.md - 适配项目工作流references/preview.md - 预览和测试选项最后更新 : 2025-11-22
| 部分 | 文档链接 |
|---|---|
| 入门 | Getting-Started-with-SAP-Fiori-Tools/ |
| 生成应用 | Generating-an-Application/ |
| 开发 | Developing-an-Application/ |
| 预览 | Previewing-an-Application/ |
| 部署 | Deploying-an-Application/ |
| 项目功能 | Project-Functions/ |
| 适配项目 | 根文档文件夹 |
SAP 资源 :
每周安装次数
109
仓库
GitHub 星标数
162
首次出现
Jan 23, 2026
安全审计
安装在
gemini-cli101
codex101
opencode101
github-copilot98
kimi-cli93
amp93
Comprehensive guidance for developing SAP Fiori applications using SAP Fiori tools extensions.
SAP Fiori tools is a collection of extensions that simplifies SAP Fiori elements and SAPUI5 application development. It includes six main components:
| Component | Purpose |
|---|---|
| Application Wizard | Generate Fiori Elements and Freestyle SAPUI5 templates |
| Application Modeler | Visual Page Map and Page Editor for configuration |
| Guided Development | Step-by-step feature implementation guides |
| Service Modeler | Visualize OData service metadata and annotations |
| Annotations Language Server | Code completion, diagnostics, i18n for annotations |
| Environment Check | Validate setup and destination configurations |
Minimum SAPUI5 Version : 1.65+ Support Component : CA-UX-IDE
Official SAP sample repository with Fiori Elements applications built using SAP Fiori tools:
Repository : SAP-samples/fiori-tools-samples
| Folder | Content |
|---|---|
V2/ | OData V2 Fiori Elements samples |
V4/ | OData V4 Fiori Elements samples |
cap/ | CAP project integration samples |
app-with-tutorials/ | Tutorial companion projects |
Quick Start :
git clone [https://github.com/SAP-samples/fiori-tools-samples](https://github.com/SAP-samples/fiori-tools-samples)
cd fiori-tools-samples/V4/apps/salesorder
npm install
npm start
Access features via Command Palette (Cmd/Ctrl + Shift + P):
Fiori: Open Application Generator # Create new application
Fiori: Open Application Info # View project commands
Fiori: Open Page Map # Visual navigation editor
Fiori: Open Guided Development # Feature implementation guides
Fiori: Open Service Modeler # Explore OData service
Fiori: Add Deployment Configuration # Setup ABAP or CF deployment
Fiori: Add Fiori Launchpad Configuration # Configure FLP tile
Fiori: Validate Project # Run project validation
Fiori: Open Environment Check # Troubleshoot destinations
| Floorplan | OData V2 | OData V4 | Use Case |
|---|---|---|---|
| List Report Page | Yes | Yes | Browse large datasets, navigate to details |
| Worklist Page | Yes | 1.99+ | Process work items, task completion |
| Analytical List Page | Yes | 1.90+ | Data analysis, KPI visualization |
| Overview Page | Yes | Yes | Role-based dashboards, multi-card views |
| Form Entry Object Page | Yes | Yes | Structured data entry |
| Custom Page | No | Yes | Extensible custom UI with building blocks |
webapp/
├── manifest.json # App descriptor
├── Component.js # UI5 component
├── localService/ # Mock data and metadata
│ ├── metadata.xml
│ └── mockdata/
└── annotations/ # Local annotation files
package.json
ui5.yaml # UI5 tooling config
ui5-local.yaml # Local development config
The Page Editor provides visual configuration for Fiori Elements pages.
| Element | Location | Description |
|---|---|---|
| Custom Column | Table | Add custom columns with fragments |
| Custom Section | Object Page | Add custom sections with views |
| Custom Action | Header/Table | Add action buttons with handlers |
| Custom View | List Report | Add custom tab views |
| Controller Extension | Page | Override lifecycle methods |
For detailed configuration, see references/page-editor.md.
Ctrl/Cmd + Space) - Context-aware suggestionsOASIS OData v4: Core, Capabilities, Aggregation, Authorization, JSON, Measures, Repeatability, Temporal, Validation
SAP Vocabularies: Analytics, CodeList, Common, Communication, DataIntegration, DirectEdit, Graph, Hierarchy, HTML5, ODM, PDF, PersonalData, Preview, Session, UI
.cds fileswebapp/annotations/*.xmlFor annotation patterns, see references/annotations.md.
npm start # Live data from backend
npm run start-mock # Mock data via MockServer
npm run start-local # Mock data + local SAPUI5 resources
npm run start-noflp # Without Fiori launchpad sandbox
Configure via launch.json in .vscode/ folder. Supports:
For preview details, see references/preview.md.
Prerequisites :
Configuration :
npx fiori add deploy-config # Generate ui5-deploy.yaml
npm run deploy # Execute deployment
Generated Files : ui5-deploy.yaml, updated package.json
Prerequisites :
npm i -g mtaConfiguration :
npx fiori add deploy-config # Select Cloud Foundry
npm run build # Generate mta.yaml
npm run deploy # Deploy to CF
Generated Files : mta.yaml, xs-app.json, xs-security.json
For deployment details, see references/deployment.md.
Add FLP tile configuration via:
Fiori: Add Fiori Launchpad Configuration
Required Parameters :
Configuration updates manifest.json with inbound navigation.
Extend existing Fiori applications without modifying source code.
On-Premise (VS Code) :
S/4HANA Cloud & BTP ABAP:
| Adaptation | Description |
|---|---|
| Control Variants | Create page variants/views |
| Fragments | Add UI fragments to extension points |
| Controller Extensions | Override/extend controller methods |
| App Descriptor Changes | Modify manifest.json settings |
| OData Service | Add/replace OData services |
| Component Usages | Add SAPUI5 component references |
For adaptation details, see references/adaptation-projects.md.
Generate complete CAP projects with Fiori UI from business requirements.
Input Formats : Text, Images, or Combined
Generated Output :
Limitations :
Generate contextual mock data using entity property names (requires SAP Build Code subscription).
| Function | Command |
|---|---|
| Application Info | Fiori: Open Application Info |
| Project Validation | Fiori: Validate Project |
| Environment Check | Fiori: Open Environment Check |
| Data Editor | Via Application Info page |
| Service Metadata | Fiori: Open Service Modeler |
| System Connections | Manage SAP Systems in VS Code |
Reusable UI components for custom pages and sections:
| Block | Use Case |
|---|---|
| Chart | Data visualization |
| Filter Bar | Query filtering |
| Table | Tabular data display |
| Page | Custom page container |
| Rich Text Editor | Content editing in custom sections |
Port 8080 in use : System auto-selects next available port
HTTPS/SSL errors : Configure browser to trust localhost certificates
Deployment 400 errors : Check /IWFND/ERROR_LOG, configure virus scan in /IWFND/VIRUS_SCAN
Debug deployment :
# macOS/Linux
DEBUG=ux-odata-client npm run deploy
# Windows
set DEBUG=ux-odata-client & npm run deploy
npx fiori help # List available commands
npx fiori deploy help # Deployment command help
Migrate existing projects using:
Fiori: Migrate Project for use in Fiori tools
Supported Types : Fiori Elements (V2/V4), Freestyle SAPUI5, Adaptation Projects, Extensibility Projects
Post-Migration : Run npm run deploy-config to update deployment configuration.
For migration details, see references/getting-started.md.
Access step-by-step implementation guides:
Fiori: Open Guided Development
Guide Categories :
For detailed information on specific topics:
The fiori-tools MCP server (@sap-ux/fiori-mcp-server) integrates AI coding assistants directly with Fiori development, providing semantic documentation search and programmatic app generation.
Prerequisite : Node.js 20+. No authentication required.
| Tool | Description |
|---|---|
search_docs | Semantic search across Fiori Elements, Annotations, UI5, and Fiori tools docs |
list_fiori_apps | Scan a directory to identify existing Fiori apps available for modification |
list_functionalities | Return supported operations for creating or modifying applications |
get_functionality_details | Retrieve required parameters for a specific operation |
execute_functionality | Execute the creation or modification with provided parameters |
search_docs to find annotation patterns or Fiori Elements configuration optionslist_fiori_apps to discover apps in the current workspacelist_functionalities to see what modifications are supportedget_functionality_details to understand required parametersexecute_functionality to apply the changeSAP recommends using alongside:
@ui5/mcp-server for UI5 framework tooling@cap-js/mcp-server for CAP backendreferences/getting-started.md - Installation, migration, ADT integration, commandsreferences/configuration.md - MTA, middlewares, SAPUI5 versions, project functionsreferences/page-editor.md - Page Editor configuration detailsreferences/annotations.md - Annotation patterns and examplesreferences/deployment.md - Deployment configuration detailsreferences/adaptation-projects.md - Adaptation project workflowsreferences/preview.md - Preview and testing optionsPrimary Source : https://github.com/SAP-docs/btp-fiori-tools/tree/main/docs
Last Updated : 2025-11-22
| Section | Documentation Link |
|---|---|
| Getting Started | Getting-Started-with-SAP-Fiori-Tools/ |
| Generating Apps | Generating-an-Application/ |
| Developing | Developing-an-Application/ |
| Previewing | Previewing-an-Application/ |
| Deploying | Deploying-an-Application/ |
| Project Functions | Project-Functions/ |
SAP Resources :
Weekly Installs
109
Repository
GitHub Stars
162
First Seen
Jan 23, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
gemini-cli101
codex101
opencode101
github-copilot98
kimi-cli93
amp93
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
120,000 周安装
Cloudflare 平台开发指南:API、产品决策树与最新文档检索
7,900 周安装
AI虚拟形象视频生成工具 - 说话头部与口型同步技术,支持多语言配音
7,900 周安装
融资演示文稿视觉设计工具 - 一键生成专业Pitch Deck幻灯片,符合投资者要求
7,800 周安装
Google Sheets 导出 CSV 备份教程 - 使用 Google Workspace CLI 快速备份表格数据
8,000 周安装
WorkIQ Copilot:AI助手连接Microsoft 365,智能查询邮件、会议、文档和Teams消息
7,900 周安装
Power BI报表设计专家咨询 | 可视化设计、用户体验优化、数据驱动决策指南
7,900 周安装
| Adaptation Projects | Root docs folder |