ERPClimb logoERPClimb
Fiori Elements Floorplans in Practice
Fiori & SAPUI5intermediate 6 min read

Fiori Elements Part 3: Value Helps, Texts and Field Formatting

Preview · a free account unlocks the full lesson

Key takeaway

Make fields usable: value help definitions for search and selection, showing descriptions next to codes with text arrangement, units and currencies, criticality colouring and semantic formatting.

Visual overview

Fiori Elements Part 3: Value Helps, Texts and Field Formatting — learning sheetFlow: Field in CDS/CAP entity → Value help definition → Text association and arrangement → Unit/currency semantics → Criticality. Key ideas: VALUE HELPS; TEXTS FOR CODES; UNITS AND CURRENCIES; CRITICALITY. Watch out: Showing raw codes without texts is the most common usability complaint in custom apps.ERPClimb.com / FIORI / LESSON 7/14 / LEARNING SHEETFiori Elements Part 3: Value Helps, Texts and FieldFormatting1 · HOW IT FLOWS1Field inCDS/CAPentity2Value helpdefinition3Textassociationand…4Unit/currencysemantics5Criticality2 · KEY IDEAS EXPLAINEDValue HelpsA value help lets users search and select validvalues. In RAP CDS,@Consumption.valueHelpDefinition points to a value…Texts For CodesUsers understand 'Open' better than 'O'.@ObjectModel.text.element links a field to itstext field, and @UI.textArrangement decides…Units And CurrenciesAmounts need @Semantics.amount.currencyCode (orequivalent) and quantities@Semantics.quantity.unitOfMeasure references, so…CriticalityStatus fields can carry a criticality value (forexample 1 negative, 2 critical, 3 positive) thatFiori elements renders with colours and icons…3 · REMEMBER · WATCH OUTRememberValue helps are defined with @Consumption.valueHelpDefinition in CDS(or equivalent in CAP).@ObjectModel.text.element links a code to its description;@UI.textArrangement controls display order.Amounts and quantities need currency or unit references for correctformatting.!Watch outShowing raw codes without texts isthe most common usability complaintin custom apps.4 · IN A REAL PROJECTA custom approval app showed status codes 'A', 'R' and 'P' and amounts without currency. Users exported toExcel to understand the data. Adding text associations, text arrangement, currency references and criticalitymade the app self-explanatory and exports dropped.Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

Parts 1 and 2 built the floorplans; Part 3 makes each field pleasant to use through value helps, texts, and formatting.

A value help lets users search and select valid values instead of typing codes blind. In RAP CDS, @Consumption.valueHelpDefinition points to a value help view and element, and the dialog, type-ahead and filtering are generated from that. Value helps with additional bindings can filter by other fields too, such as plants filtered by company code.

Users understand "Open" better than "O," which is why texts for codes matter. @ObjectModel.text.element links a field to its text field, and @UI.textArrangement decides whether to show the text first, the ID first, text only, or ID only. Text associations to language-dependent text views give translated descriptions on top of this. Showing raw codes without their texts is the most common usability complaint in custom apps.

Free account

Create a free account to keep reading

You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.

  • Full explanation
  • Real project scenario
  • Common mistakes
  • Best practices
  • Interview angle

One tap with Google works too. Every topic keeps its first lesson open to everyone.

Keep exploring

Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.