sap-fiori-tree-table — скилл для Claude Code: обзор и установка
Скилл sap-fiori-tree-table настраивает древовидную таблицу TreeTable в приложениях SAP Fiori elements для рекурсивных иерархий «родитель — потомок». Поддерживает модели CAP и ABAP RAP по протоколу OData V4.
Apache-2.0 328 установок ★ 161 обновлён 2026-10-23
npx skills add SAP/open-ux-tools --skill sap-fiori-tree-table -a claude-codeЧто делает sap-fiori-tree-table
Скилл автоматизирует настройку компонентов TreeTable в Fiori elements, когда нужно показать оргструктуры, каталоги товаров или вложенные объекты. Он ведёт разработчика по шагам конфигурации манифеста, проверки моделей данных и расстановки аннотаций. Перед началом работы ассистент обязательно запросит имя сущности, а для проектов ABAP RAP — имя пакета и необходимость запроса на перенос (transport).
Процессы для двух архитектур различаются. В проектах CAP скилл проверяет сущность, настраивает ассоциацию, добавляет аннотацию @hierarchy и файл manifest.json. Для CAP требуется @sap/cds версии не ниже 9.6.0 и наличие MCP-серверов Fiori и CDS.
В проектах ABAP RAP поддерживаются только сценарии в VS Code с расширением ABAP Development Tools. Скилл помогает выбрать между режимом только для чтения (List Report) и редактируемым вариантом с Object Page, генерируя ракурсы CDS с @OData.hierarchy.recursiveHierarchy.
Какие задачи решает
- настроить древовидную таблицу TreeTable в приложении SAP Fiori elements
- связать рекурсивную иерархию через аннотацию
@hierarchyв проекте CAP - объявить иерархический ракурс CDS для ABAP RAP через OData V4
- подготовить тестовые данные с колонкой
parent_IDдля проверки иерархии
Примеры запросов агенту
- Настрой TreeTable для сущности ProductCategory в проекте CAP
- Добавь рекурсивную иерархию для сущности FunctionalLocation в пакете Z_MAINT для ABAP RAP
- Сконфигурируй отображение дерева категорий только для чтения в Fiori elements
Как установить sap-fiori-tree-table
1Через Skills CLI (Vercel)
npx skills add SAP/open-ux-tools --skill sap-fiori-tree-table -a claude-code2Вручную: положить файлы
~/.claude/skills/sap-fiori-tree-table/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/sap-fiori-tree-table/
1Через Skills CLI (Vercel)
npx skills add SAP/open-ux-tools --skill sap-fiori-tree-table -a codex2Вручную: положить файлы
.agents/skills/sap-fiori-tree-table/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add SAP/open-ux-tools --skill sap-fiori-tree-table -a cursor2Вручную: положить файлы
.cursor/skills/sap-fiori-tree-table/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install SAP/open-ux-tools plugins-coding-agents/fiori/skills/sap-fiori-tree-table2Вручную: положить файлы
.github/skills/sap-fiori-tree-table/SKILL.md1Через Skills CLI (Vercel)
npx skills add SAP/open-ux-tools --skill sap-fiori-tree-table -a gemini-cli2Командой платформы
gemini skills install https://github.com/SAP/open-ux-tools --path plugins-coding-agents/fiori/skills/sap-fiori-tree-tableВручную: положить файлы
.devin/skills/sap-fiori-tree-table/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add SAP/open-ux-tools --skill sap-fiori-tree-table -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о sap-fiori-tree-table
Как установить sap-fiori-tree-table в Claude Code?
Выполните команду npx skills add SAP/open-ux-tools --skill sap-fiori-tree-table -a claude-code.
Что делает скилл sap-fiori-tree-table?
Он помогает внедрить древовидные таблицы с рекурсивной структурой «родитель — потомок» в интерфейсы SAP Fiori elements на базе CAP и ABAP RAP.
Какие требования нужны для работы с проектами CAP?
Необходим пакет @sap/cds версии 9.6.0 или новее, сервис OData V4, а также подключённые MCP-серверы Fiori и CDS.
Исходный текст
SKILL.md · Apache-2.0
--- name: sap-fiori-tree-table description: 'Configure hierarchical tree table to SAP Fiori elements application for displaying parent-child recursive hierarchies. Supports CAP and ABAP RAP (OData V4).' argument-hint: 'Entity name (and ABAP package for RAP projects)' metadata: author: sap-fiori-tools version: "0.0.2" --- # SAP Fiori Tree Table with Recursive Hierarchy ## Purpose Configure **hierarchical tree table** to display parent-child relationships in a recursive structure (organizational hierarchies, category trees, nested data). ## Environment Requirements **CAP Projects:** - ✅ **VS Code or SAP Business Application Studio (BAS)** - Both environments supported - ✅ **Fiori MCP Server** - Required for Fiori app generation and modification (VS Code only) - ✅ **CDS MCP Server** - Required for CDS model queries **ABAP RAP Projects:** - ✅ **VS Code only** - ABAP Development Tools extension is VS Code-specific - ✅ **Fiori MCP Server** - Required for Fiori app generation and modification - ✅ **ABAP Development Tools for VS Code extension** - Required for backend development (includes ADT MCP server for RAP operations) ## MANDATORY: Gather Required Inputs First **STOP and ASK the user for ALL of these inputs if ANY are missing from the prompt:** ### For ABAP RAP Projects: 1. **Package name** - Where to create or find backend hierarchy objects ($TMP for local, or specific package like Z_MAINT) 2. **Transport Required**: Depends on package type (No for local packages like $TMP, Yes for transportable packages) 3. **Entity name** - The entity to make hierarchical (e.g., "Equipment", "Category", "FunctionalLocation") ### For CAP Projects: 1. **Entity name** - The entity to make hierarchical (e.g., "Travel", "Category", "ProductCategory") **DO NOT proceed with implementation until all inputs are confirmed.** --- ## CAP Implementation 📖 **[Complete CAP Implementation Guide](./references/cap-implementation.md)** **Quick Summary:** - 6-step process: Check entity → Add association → Add @hierarchy → Configure manifest → Create data → Test - Supports UUID, String, and Integer keys (single key only) - Requires @sap/cds 9.6.0+ and OData V4 - Use CDS MCP to search model before editing --- ## ABAP RAP Implementation 📖 **[Complete RAP Implementation Guide](./references/rap-implementation.md)** **Quick Summary:** - 4-step process: Check existing hierarchy → Implement backend → Configure manifest → Test - **Decision required:** Read-only (List Report only) vs. Editable (with Object Page) - For detailed backend implementation: - [Read-Only Treeviews Guide](./references/rap-read-only-treeviews.md) - [Editable Treeviews Guide](./references/rap-editable-treeviews.md) --- ## Quick Troubleshooting ### CAP Common Issues - **"@hierarchy not supported"** → Use managed association (no `on` condition) - **"table has no column"** → Use `parent_ID` (with underscore) in CSV - **"TreeTable not rendering"** → Check `type: "TreeTable"` and `hierarchyQualifier` in manifest ### ABAP RAP Common Issues - **"Element must not be search enabled"** → Remove `@Search` annotations from hierarchy projection view - **"Primary keys do not match"** → Child table needs composite key (child UUID + parent UUID) 📖 **Full error reference in implementation guides** --- ## Key Differences **CAP:** - Managed association in entity - `@hierarchy` annotation on service - CSV data with `parent_ID` column - For testing, refer to the **Application Preview Guidelines** section in the `sap-fiori-app-development` skill **ABAP RAP:** - CDS view with `@OData.hierarchy.recursiveHierarchy` - Qualifier in metadata - Test data in database tables - For testing, refer to the **Application Preview Guidelines** section in the `sap-fiori-app-development` skill
© sap-fiori-tools · Apache-2.0 · SAP/open-ux-tools