UI Adaptation (Adapt UI)
UI adaptation is the SAPUI5 flexibility capability that lets key users change the layout of SAP Fiori apps at runtime, for example by moving, hiding, renaming or adding fields, for all users, while end users personalize views for themselves. UI adaptation stores these changes separately from the app, so the original app stays unmodified and upgrade-safe.
Quick facts
- Type
- Runtime UI change capability (SAPUI5 flexibility)
- Layer
- UI applications
- Started from
- User menu → Adapt UI in the SAP Fiori Launchpad
- Required role (ABAP)
- SAP_UI_FLEX_KEY_USER, assigned with PFCG
- Stored in
- Layered repository: USER, PUBLIC, CUSTOMER, CUSTOMER_BASE, VENDOR layers
- Who works with it
- Key users, end users, SAP Fiori developers (adaptation projects)
- Applies to
- SAP S/4HANA Cloud Public Edition, Private Edition, on-premise; apps on SAP BTP
Layer: UI applicationsWhere it sits ▾
Layer: UI applications
Open the architecture map →How does UI adaptation work?
UI adaptation never edits the app's code. SAPUI5 flexibility records each change as a small semantic delta, for example "field Supplier Rating moved to group Delivery", attached to the stable ID of the control, and stores it in the layered repository.
At runtime, the app loads its original views and applies the stored deltas from each layer in order:
| Layer | Who writes it | Typical change |
|---|---|---|
| VENDOR | SAP | The delivered app itself |
| CUSTOMER_BASE | Developers, in the Adaptation Editor | Changes from adaptation projects |
| CUSTOMER | Key users, with Adapt UI | Layout changes for all users |
| PUBLIC | End users | Views saved as public |
| USER | End users | Personal settings and views |
Because changes reference stable IDs rather than screen positions, they survive app updates as long as the referenced controls still exist. UI adaptation is therefore a layer of recorded changes on top of an untouched app.
What is the difference between personalization, key user adaptation and developer adaptation?
- Personalization (end users). Users adjust tables, filters and views for themselves and can share views as public. Nothing changes for other users unless they pick a shared view.
- Key user adaptation (key users). From the user menu, Adapt UI opens a WYSIWYG mode with drag and drop and context menus. Key users rearrange, rename, remove or add fields and groups for everyone, and can publish the result as a separate app variant. In SAP Fiori elements for OData V4, key users can also adjust list report variants, move or rename buttons, rearrange object page sections and embed content.
- Developer adaptation (developers). An adaptation project in SAP Business Application Studio, created with SAP Fiori tools, adds fragments at extension points, controller extensions or descriptor changes. The result is an app variant with its own ID that references the original.
The three levels share one mechanism but differ in reach: UI adaptation by key users changes the app for everyone, personalization changes it for one user, and developer adaptation can change behavior.
What are the strengths of UI adaptation?
- No code and no modification. Key users change layouts without developers, and SAP's original app stays untouched.
- Upgrade safety by design. Changes are deltas on stable IDs, kept in their own layer.
- Built-in safety net. The tool warns before risky changes such as removing a mandatory field, and changes can be undone or reset to the original app.
- Drafts and versions. As of ABAP Platform 2022, key users can save drafts, keep several versions, revert and publish a chosen version.
- App variants. One delivered app can serve different teams, for example a purchase order app variant for Alder Manufacturing's plant buyers with fewer fields.
For screen-level fit, UI adaptation is the lightest tool in SAP S/4HANA's extensibility range.
Where does UI adaptation stop?
- Only apps enabled for it. An app needs supported controls and stable IDs; apps that build their UI dynamically cannot be adapted.
- Only what already exists. UI adaptation can reveal a field the service already provides, but it cannot create a new field, check or calculation. Custom fields come from key user extensibility first.
- Layout, not logic. Default values, validations and process rules are out of scope; some standard actions such as edit, save and delete are excluded from button adaptation in SAP Fiori elements.
- Desktop only. Key user adaptation requires a desktop browser and a minimum screen size.
- Classic UIs differ. SAP GUI transactions are adapted with other tools; SAP S/4HANA Cloud Public Edition offers UI adaptation for classic applications based on SAP Screen Personas.
- Overrides personalization. Key user settings can override end-user settings, so users may need to reapply theirs.
These limits keep UI adaptation safe: it reshapes screens without changing what the system does.
How are UI adaptations transported?
SAP's guidance is to adapt in a test or development system and move the result to production, because changes made directly in production can conflict with transported ones.
- SAP S/4HANA on-premise and Private Edition: when the key user publishes a version, the system asks for a transport request, which an administrator releases. Key users therefore need transport authorizations in addition to the key user role.
- SAP S/4HANA Cloud Public Edition: publishing does not ask for a transport; the changes are collected for export through a software collection.
- App variants follow the same path: publishing adds them to a transport request or software collection.
Decision criterion: if more than one person adapts the same app, agree on one owner per app, because only one key user should adapt an app at a time. UI adaptation is configuration with its own transport path, and it deserves the same release discipline as any change.
Why is Adapt UI missing from the user menu?
Check these causes in order:
- Role missing. The user lacks SAP_UI_FLEX_KEY_USER or a copy of it in PFCG.
- App not enabled. The app does not support key user adaptation, for example because it lacks stable IDs.
- System not supporting it. The app runs on a backend or platform where UI adaptation is not available.
- Wrong device or page. The user is on a phone or tablet, or not on the current launchpad page.
The SAP documentation names the first three as the reasons Adapt UI does not appear. A missing Adapt UI entry is almost always a role or app-enablement question, not a launchpad defect.
UI adaptation vs. key user extensibility: what is the difference?
| UI adaptation (Adapt UI) | Key user extensibility | |
|---|---|---|
| What it changes | Layout of existing apps: position, visibility, labels, variants | Data model and logic: custom fields, custom logic, custom business objects |
| Where it acts | SAPUI5 front end, at runtime | SAP S/4HANA backend and its services |
| Tool | Adapt UI in the user menu | Extensibility apps such as Custom Fields and Logic |
| Typical example | Hide three fields and move Supplier Rating to the header | Create the Supplier Rating field and default it per supplier |
Key user extensibility creates fields and logic; UI adaptation decides where and whether they appear on the screen.
FAQ
Is Adapt UI the same as personalization?
No. Personalization changes an app only for the user who makes the change, or for users who pick a shared view. Adapt UI, or key user adaptation, changes the app for all its users and requires the key user role, so it needs governance and a transport path.
Do UI adaptations survive SAP upgrades?
UI adaptations are designed to survive upgrades because they are stored as separate changes attached to stable control IDs, not as modifications of SAP code. If an upgrade removes a control that a change refers to, that change can no longer be applied and should be reviewed.
Can key users add new fields with Adapt UI?
Only fields that the app's service already provides, including published custom fields. Creating a new field is a key user extensibility task in the custom fields app; Adapt UI is then used to place the field on the screen.
Should key users adapt apps directly in production?
SAP does not recommend it. Changes made directly in the productive system can interfere with transported changes. Key users should adapt in a test or development system, publish the version and move it to production through a transport request or software collection.
Which role does a key user need for UI adaptation?
In SAP S/4HANA on-premise and Private Edition, the key user needs the authorization role SAP_UI_FLEX_KEY_USER, or a custom copy of it, plus transport authorizations. On SAP BTP, the corresponding role is FlexKeyUser. In SAP S/4HANA Cloud Public Edition, the Adapt UI option comes from extensibility business catalogs in the user's business role.
Sources
- SAP Help Portal: Adapting SAP Fiori UIs at runtime — key user adaptation (ABAP platform)
- SAP Help Portal: Enabling key user adaptation (ABAP platform)
- SAPUI5 SDK: SAPUI5 flexibility — layering concept
- SAPUI5 SDK: Extending delivered apps with key user adaptation (SAP Fiori elements for OData V4)
- SAP Help Portal: Availability of key user adaptation features
- Applies to
- SAP S/4HANA on-premise · SAP S/4HANA Cloud Private Edition · SAP S/4HANA Cloud Public Edition · SAP BTP
- Last reviewed