Subject: SAP-Fiori-Elements
SAP Fiori Elements provides a powerful framework for rapidly building standardized, consistent, and guideline-compliant SAP Fiori applications based on metadata annotations. While these applications leverage predefined templates like List Report, Object Page, and Analytical List Page, they still offer scope for customization to meet specific business needs without heavy frontend coding.
This article covers the basic customization techniques available for SAP Fiori Elements applications to enhance user experience and adapt functionality, following SAP Fiori best practices.
Though SAP Fiori Elements apps generate UIs automatically from annotations, business requirements often necessitate adjustments such as:
These customizations help tailor the standard templates to deliver meaningful user experiences aligned with enterprise processes.
Annotations are the backbone of SAP Fiori Elements customization. They define how data is presented and interacted with, directly in the OData service metadata or manifest files.
Example: To hide a field, you can set @UI.hidden annotation on the respective entity property.
The manifest.json file in SAP Fiori Elements apps allows configuring:
Modifications here enable customizing the app’s runtime behavior without altering generated UI code.
SAP Fiori Elements provides extension points to insert custom UI fragments or controls.
Beyond standard actions, you can add custom buttons to toolbars or action menus.
@UI.facet or @UI.lineItem with @UI.dataFieldForAction.Translations and label changes can be managed through:
i18n properties files for multi-language support.This approach ensures your app speaks the users’ language and matches organizational terminology.
@UI.hidden: true in the CDS view annotation to hide sensitive or irrelevant fields.approveRequest in the CDS with @UI.dataFieldForAction.Basic customization of SAP Fiori Elements applications empowers developers to adapt standard templates efficiently to meet business-specific requirements. Leveraging annotations, manifest adjustments, and extension points enables meaningful flexibility without sacrificing the benefits of rapid development and UI consistency.
By combining these techniques thoughtfully, you can deliver SAP Fiori Elements applications that are both powerful and user-friendly, driving better adoption and satisfaction.