SAP Business Network Asset Collaboration (BNAC) is SaaS solution hosted on Business Technology Platform. Historically, we have seen SAP customers having specific processes or data, niche to their Business. This requires SAP products to be customizable or extensible. This is relevant for cloud solutions as well. In this blog we will explore the UI extensibility supported by BNAC.
With key user adaptation, one can change the user interface of SAP Fiori apps directly in the launchpad - intuitively and without having to write new code. This makes it easier for non-technical Business users also to customize UIs.
BNAC supports adapting UIs in Work Orders, Notifications, and Documents applications.
Work Order application:
Notification application:
Documents application:
Refer Adapting the UI help page to understand the various possibilities of changes that can be done on the UI.
As a pre-requisite, to be able to adapt UI using key user adaptive capabilities, the user should be assigned FlexKeyUser portal role.
If there is a use case where you would like to show additional data coming from another source in the context of the object you can build a custom application and embed it as a section using Adapt UI.
To build a custom app, you can use any standard approaches that SAP defines, in an environment of your choice, Cloud Foundry, Kyma or ABAP.
In this blog, I have tried a Proof of Concept using development on Cloud Foundry with a basic Fiori application and cloud portal service to host the app.
For simplicity, I created a basic freestyle application with a bunch of fields that I would like to see against a Work Order.
Once the app is built and deployed, you can use either SAP Cloud Portal Service or Work Zone to host/present your app via a launchpad.
Few Tips / Things to consider:
if (sap.ushell.Container.getRenderer("fiori2")) {
sap.ushell.Container.getRenderer("fiori2").setHeaderVisibility(false,true);
}
var urlParams = new URLSearchParams("?"+document.referrer.split("?")[1]);
var orderId = urlParams.get("orderID");
Pattern example 1: Notice there is a "?" and parameters after the '#'. This is just the fragment identifier.
https://xxxxxxx.cpp.cfapps.xxxx.hana.ondemand.com/site/woextain#wo-disp?sap-ui-app-id-hint=saas_approuter_woext2
Pattern example 2: Notice that there are 2 '?", once before and one after the '#'. The one before the '#' is the query parameter and the one after is the fragment identifier.
https://xxxxxxxxxx.cpp.cfapps.xxxx.hana.ondemand.com/site?siteId=1314b6fd-5f30-412b-b4d8-c223d28ad4a1#wo-disp?sap-ui-app-id-hint=saas_approuter_woext2
Once you have your custom application ready, all you need to do is configure the URL and add it as a section as shown below.
SAP Business Network Asset Collaboration provides a number of ways to extend applications, via extension points in some apps such as Equipment, and enables Adapt UI capabilities in a few such as, Notifications, Work Orders and Documents applications. Depending on the nature and complexity of customization and extensibility, this activity could range from something a business user could do themselves, to where, technical skillset could be required, or a combination of both as explained in this blog. Enabling applications to support Adapt UI provides a lot of flexibility for the end user and also could potentially be a replacement to extension points as this keeps in-app extensions decoupled and less dependent on standard code thereby also decoupling from release dependencies.
References
SAP Help for Customizing applications using Adapt UI
Adapting Fiori UIs at runtime - Key user adaptation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
6 | |
4 | |
3 | |
3 | |
2 | |
2 | |
2 | |
1 | |
1 |