SAP

Refreshing Dynamic HTML Content in SAPUI5: Handling Updates and Rerendering Issues

Refreshing dynamic HTML content in SAPUI5 can be tricky, especially when using the HTML control to embed iframes or external content. Deprecated methods like rerender() often fail, leaving scripts unexecuted or DOM elements stale. A reliable solution is to toggle visibility before and after setContent(), forcing SAPUI5 to fully redraw the control. This approach ensures updated content loads correctly, with event handlers and scripts functioning as expected.

read more

Embedding External HTML Content with JavaScript in SAP Fiori Launchpad (CSP Challenges and Solutions)

When integrating external HTML content into a Fiori Launchpad (FLP) application, developers often face Content Security Policy (CSP) restrictions, blocked inline scripts, and the lack of direct support for SAPEVENT form actions. In our case, the API returned a full HTML page with embedded JavaScript and AJAX calls, which worked perfectly standalone but failed inside FLP due to security restrictions.

To solve this, we wrapped the HTML inside a BSP application and consumed it via an iframe in SAPUI5. Instead of relying on inline execution or custom URI schemes, we accessed the iframe’s DOM after load and attached an event listener directly to the form element. This allowed us to intercept the POST action, process the payload, and securely hand over data to the SAP backend.

This approach provides a clean and CSP-compliant integration pattern for scenarios where external or dynamically generated HTML must coexist inside SAP Fiori apps.

read more
Simplifying SAP Access with Gen AI: Built on Copilot Studio, Integrated via SAP BTP & Azure APIM, Delivered in Teams & Copilot

Simplifying SAP Access with Gen AI: Built on Copilot Studio, Integrated via SAP BTP & Azure APIM, Delivered in Teams & Copilot

Accessing business-critical data from SAP traditionally involves navigating complex systems and user interfaces. But what if your team could simply ask for what they need — right from Microsoft Teams or Microsoft Copilot? In this post, I’ll walk through how I built a...

read more

Everything Fiori Notification

Notification is an efficient way of alerting the user about tasks that require prompt action or attention such as workflow tasks.
In SAP Fiori Launchpad you can click on the Bell icon to access Notifications.

read more