ERPClimb logoERPClimb
Extending SAP Standard Fiori Apps
Fiori & SAPUI5advanced 6 min read

Extending Standard Apps Part 3: Extensions in Fiori Elements V4 with the Flexible Programming Model

Preview · a free account unlocks the full lesson

Key takeaway

Extend Fiori elements V4 apps safely: custom columns, sections, actions and pages via manifest-defined extensions, controller extensions using the extension API, building blocks in custom sections, and keeping behaviour in the back end.

Visual overview

Extending Standard Apps Part 3: Extensions in Fiori Elements V4 with the Flexible Programming Model — learning sheetFlow: Fiori elements floorplan → Manifest-declared extensions → Fragments with building blocks → Handlers via extension API → Back-end logic and side effects. Key ideas: DECLARED EXTENSIONS; EXTENSION API; BUILDING BLOCKS; FLEXIBLE PROGRAMMING MODEL. Watch out: Accessing generated control IDs directly breaks when Fiori elements changes its internals.ERPClimb.com / FIORI / LESSON 3/16 / LEARNING SHEETExtending Standard Apps Part 3: Extensions in FioriElements V4 with the Flexible Programming Model1 · HOW IT FLOWS1Fiorielementsfloorplan2Manifest-declaredextensions3Fragmentswithbuilding…4Handlersviaextension…5Back-endlogic andside…2 · KEY IDEAS EXPLAINEDDeclared ExtensionsIn V4, extensions are declared in manifest.json: acustom column in a table, a custom section on theobject page, a custom action in a toolbar, or a…Extension APIController extensions access the page through theextension API, which offers methods to refreshdata, navigate, get selected contexts or show…Building BlocksBuilding blocks such as macros:Table,macros:Field, macros:FilterBar and macros:Chartrender Fiori elements behaviour in custom…Flexible Programming ModelThis approach lets teams start with Fiori elementsfloorplans and add custom parts only where needed,rather than choosing between all-generated or…3 · REMEMBER · WATCH OUTRememberFiori elements V4 supports custom columns, sections, header facets,actions and pages declared in the manifest.Controller extensions use the extension API instead of manipulatinggenerated controls directly.Building blocks (macros) let custom sections reuse Fiori elementstables, fields and charts.!Watch outAccessing generated control IDsdirectly breaks when Fiori elementschanges its internals.4 · IN A REAL PROJECTA custom section accessed a generated table by its control ID to read selected rows. After a UI5 update, IDschanged and the section broke. Rewriting the handler to use the extension API's selected contexts fixed it andsurvived later updates.Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

This final extensibility part covers Fiori elements V4 apps, standard or custom, through the flexible programming model.

In V4, extensions are declared in manifest.json: a custom column in a table, a custom section on the object page, a custom action in a toolbar, or a custom page in the app's routing. Each of these points to a fragment and an optional handler, and SAP Fiori tools' page map and guided development can generate them directly.

Controller extensions access the page through the extension API rather than manipulating generated controls directly. That API offers methods to refresh data, navigate, get selected contexts, or show messages, and it stays stable across releases, unlike internal control IDs — accessing generated control IDs directly breaks whenever Fiori elements changes its internals.

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.