Fiori Elements Part 3: Value Helps, Texts and Field Formatting
Preview · a free account unlocks the full lesson
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
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.
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
More lessons in this topic
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.