As part of the SAP S/4HANA Regional Implementation Group, I have the privilege of working with a lot of customers who are implementing SAP S/4HANA locally, regionally, and internationally.
Many of our customers are implementing or are already live with several SAP Fiori apps. What possibilities do they have to detect how much these are used by the end-users?
One of the possibilities to do this using SAP Web Analytics, this is a service available on the SAP Cloud Platform. It’s not a free service, you can find details on the pricing here.
Note that there are some other options to do measure user statistics of SAP Fiori :
- ST03 transaction in the ABAP system also provides some statistics on SAP Fiori usage. This is available in any system, I plan to publish another blog on this later.
- Google Analytics: see SAP Note 2444406 – Google Analytics Integration with SAP Fiori.
- Fiori Tracker: see wesite https://help.fioritracker.org/ and blog
- … there are most probably more options I’m not aware of
This blog is not aimed to make a comparison between all the tools but will go further on the option to measure user statistics via SAP Web Analytics. This seems the strategic direction of SAP for web analytics functionality and will be integrated in S/4HANA Cloud and other SAP solutions. So you can expect more features to become available via this SCP service.
To try it out you can subscribe to a SCP trail account and use SAP Web Analytics with a static website. This is described step by step in the following document: https://developers.sap.com/mission.cp-web-analytics-get-started.html
After you got this working, the next step would be start measuring the usage data of the SAP Fiori launchpad and apps on ]your S/4HANA system.
This is done via a FLP plugin which is started each time users open the SAP Fiori launchpad or apps. Using SAP WebIDE (or the new Business Application Studio) you can create such a plugin via a template and deploy it on your S/4HANA system. This was already described in detail with a demo video in the openSAP course “Key Technical Topics in a System Conversion to SAP S/4HANA”, section Week 3, Unit 7: Extensibility Use Cases: SAP Fiori Launchpad. There is a lot more of interesting content in this openSAP Course, so if you have not yet followed this course, I can really recommend to subscribe to it! Note that this custom FLP plugin will probably not be needed anymore in upcoming SAPUI5 versions 1.78.x, it is planned to be included by default.
Before you deploy, the FLP plugin will have to be modified to send data to the SAP Web Analytics. For this you have to replace the Component.js with the following code:
Now deploy and activate the FLP plugin to the S/4HANA system as shown in the openSAP video.
You can check if your plugin is successfully deployed, activated and loaded when starting the FLP using your browser developers tools. Search in the network tab on the technical name of the plugin and you should find it back in the results:
Next step is to configure the plugin to send data to the SAP Web Analytics service. Retrieve the pubToken and baseUrl from your SAP Web Analytics admin cockpit. Similar as in the tutorial for the static website in the tutorial you have to create a new site for the ABAP FLP. Then in Site Management, click the Tracking Snippet, here you can find the 2 parameters:
These 2 values you can now configure in the transaction /UI2/FLP_CUS_CONF:
If everything is configured correctly, you should now see entries for your users in the SAP Web Analytics page:
You can also create a custom Dashboard to show FLP specifics like App Usage, List Users, App Usage Time.
In order to show this, you can build a Custom Dashboard with your own reports. You can see how these are created below.
App Usage Time :
Hope this blog helps you to try out and setup this up in your S/4HANA on-premise landscape.
Becoming a SAP Fiori for SAP S/4HANA guru
You’ll find much more on our SAP Fiori for SAP S/4HANA wiki
Brought to you by the S/4HANA RIG