/sap-ux-fiori-tools:sap-fiori-text-and-id Entity + foreign-key element (e.g. Travels.Agency_ID)from sap-ux-fiori-tools
Configures SAP Fiori elements apps to display business IDs and descriptive text instead of technical UUID/GUID keys. Supports CAP and ABAP RAP (OData V4 only).
Ships in sap-ux-fiori-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Configure foreign-key fields to display business IDs (AgencyID, CustomerID, Status code) and descriptive text instead of technical UUIDs/GUIDs. Controls how ID and text combinations render in tables, forms, filter bars, and value help dialogs.
This skill is invoked when users ask questions like:
Trigger this skill when the user asks to:
Edm.Guid foreign key and show a business ID*UUID keys and ParentUUID composition keys) in a freshly generated x-ui-service / "OData UI Service from Scratch" SAP Fiori appAgencyID / CustomerID instead of the technical Agency_ID / Customer_ID GUID@Common.ExternalID on a foreign key (CAP) or @ObjectModel.text.element + @ObjectModel.foreignKey.association (RAP)@Common.Text + @Common.TextArrangement / @UI.textArrangement (#TextFirst, #TextLast, #TextOnly, #TextSeparate)@Common.Label / @EndUserText.label) on *_ID / *_code elements generated from managed associations or ABAP compositionscap-developer skillsap-fiori-app-developmentsap-fiori-add-visual-filterBefore writing any code, confirm these with the user. Ask if they are missing:
Stack — CAP or ABAP RAP? (determines which reference to follow)
Service + entity (e.g. TravelService.Travels or ZC_Travel)
Which foreign-key field(s) to configure (e.g. Agency_ID, AgencyUUID, TravelStatus_code, TravelStatus)
Readable business key on the target entity (e.g. AgencyID on TravelAgencies, CustomerID on Passengers, code on TravelStatus)
Descriptive text field for text arrangement (e.g. Name, LastName, descr). Optional — skip if the user only wants the ID
Text arrangement preference — Ask the user to choose based on field type:
For code lists (Status, Category, Type):
#TextOnly — Show only text (e.g., "Open", "Accepted") [RECOMMENDED for status columns and dropdowns]#TextFirst — Text first, code in parentheses (e.g., "Open (O)")#TextLast — Code first, text in parentheses (e.g., "O (Open)")#TextSeparate — Code only in field, text in tooltipFor master data (Agency, Customer, Product):
#TextLast — ID first, name in parentheses (e.g., "70007 (Hot Socks Travel)") [RECOMMENDED for master data]#TextFirst — Name first, ID in parentheses (e.g., "Hot Socks Travel (70007)")#TextOnly — Show only name, hide ID completely#TextSeparate — ID only in field, name in tooltipAsk: "How would you like [field name] to be displayed?"
Whether the value help should be configured as a filter field in list report page
Only for small code lists (Status, Category, Type with <50 entries): Whether the value help should become a fixed-values dropdown (yes / no) — default: yes for code lists, NEVER for master data (Agency, Customer, Product, etc.)
Do not proceed until all inputs are confirmed.
Follow the reference guide for your backend:
| Stack | Reference | Quick Summary |
|---|---|---|
| CAP | 📖 ./references/cap-implementation.md | 3-step process: Hide GUID with @Common.ExternalID, configure text arrangement on business key, add value help to UI annotations |
| ABAP RAP | 📖 ./references/rap-implementation.md | Configure value help view with text arrangement, link via @Consumption.valueHelpDefinition, activate and republish |
After completing the implementation steps, verify:
@Common.Text references the descriptive text field (CAP) or @ObjectModel.text.element points to business key (RAP)#TextFirst, #TextLast, #TextOnly, or #TextSeparate)@Common.ValueList (CAP) or @Consumption.valueHelpDefinition (RAP)@Common.ValueListWithFixedValues: true added (CAP) or @ObjectModel.resultSet.sizeCategory: #XS on value help view (RAP)UI.SelectionFields (filter bar) and/or UI.FieldGroup/UI.LineItem (object page/table) as requestedRefer to the Application Preview Guidelines section in the sap-fiori-app-development skill for detailed testing instructions, including:
CAP: "Element ... has not been found in 'TravelService.Travels'"
Agency_ID directly when it is generated from a managed association// ❌ Wrong
annotate service.Travels with {
Agency_ID @Common.Label: 'Agency';
};
// ✅ Correct
annotate service.Travels {
Agency { ID @Common.Label: 'Agency' };
};
CAP: Business ID appears twice in value help dialog
CollectionPath parameter for the business key, keep only the InOut parameter on the foreign key:
// Remove this:
{ $Type: 'Common.ValueListParameterDisplayOnly',
LocalDataProperty: Agency.ID,
ValueListProperty: 'AgencyID' }
RAP: Value help entity not appearing in service
expose Z_I_Agency_VH as AgencyValueHelp;
Then unpublish and republish the service binding.RAP: Text arrangement not displaying in app
@ObjectModel.text.element and @UI.textArrangement from the consuming projection view (ZC_Travel). Keep these annotations ONLY in the value help view (Z_I_Agency_VH). The framework applies them automatically.Both: Dropdown not working, still shows value help dialog
@Common.ValueListWithFixedValues: true on the association wrapper@ObjectModel.resultSet.sizeCategory: #XS on the value help viewWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/sap-fiori-add-visual-filterAdd visual filters (chart-based) to SAP Fiori Elements filter bar or value help using CAP or ABAP RAP. Use when asked to add chart filters, bar chart selectors, or visual filter bars to a Fiori Elements application./sap-fiori-analytical-chartAdd analytical chart (chart + table hybrid) to SAP Fiori Elements List Report using aggregated data. Supports CAP and ABAP RAP (OData V4). Use when asked to add a chart section, aggregated data visualization, or Analytical List Page chart to a List Report./sap-fiori-app-developmentGenerated from the plugin's indexed repository (sap/open-ux-tools) — no native marketplace selected
npx claudepluginhub p/sap-sap-ux-fiori-tools-plugins-coding-agents-fioriOther plugins' skills for the same job