Mode:
Duration:
1
Coding works best on desktop or with an external keyboard.
Coding works best on desktop or with an external keyboard.
Custom controller logic to validate a Purchase Order before submission.
sap.ui.controller("mycompany.ext.POExtension", {
onBeforeSave: function(oEvent) {
var amount = this.getView().byId("TotalAmount").getValue();
if (amount > 10000) {
sap.m.MessageToast.show("PO requires manager approval!");
oEvent.preventDefault();
}
}
});SAP Fiori Extensions allow developers to enhance, customize, or extend standard SAP Fiori applications. They enable modifications without altering core SAP code, using tools like SAPUI5, OData services, and SAP’s extensibility framework.
Origin & Creator
Developed by SAP SE as part of the SAP Fiori UX framework to provide safe, modular customization options for enterprise apps.
Industrial Note
Fiori Extensions are critical where SAP standard apps must be adapted to comply with local regulations, industry-specific workflows, or enterprise-specific UI requirements.