ABAP

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

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

How to reset the ALV export for format for excel/spreadsheet (SAPGUI / WebDynpro)?

Many times while exporting the data from ALV users accidentally selects “Always Use Selected Format” and later they do not get any option to select a different format during export. This blogs explain how to reset that defaulted ALV export settings.

read more