Activating FIORI-Apps in S/4 HANA
A few months ago I wrote the blog Activating FIORI-Apps in S/4 HANA – not so hard after all!.
Now I’m moving its content to a document, as I intend to share new findings I have and think that updating an old blog over and over again is not the best thing to do.
I used to think that activating FIORI apps is a cumbersome task and I have to admit I had to give it a few attempts before I got some success.
But then I got four of them running in a short time, so I really got “in the flow”. Now I think that it’s not that hard, after all.
I’ll share with you what I did / my general approach here:
[Please note: I’m working on an sandbox system, that is not even accessible from the “outside world” – if you’re in a productive environment you probably have to pay a lot more attention to security-concerns.
(Like, thinking twice and checking back with others, before activation services in SICF; or fine-tuning the authorizations)]
Have your systems installed / up to date
We are running a backend with S/4 HANA 1511, SP1:
S4CORE 100 0001 SAPK-10001INS4CORE S4CORE
Our frontend (gateway server) has SAP Fiori for SAP S/4HANA 1511 installed:
UIS4HOP1 100 0000 – UI for S/4HANA On Premise
For configuring those systems, I use a document called “SAP Fiori Technical Foundation Configuration(EE0)” https://fioriapps-rds.dispatcher.hana.ondemand.com/docu/EE0_NWG20_BB_ConfigGuide_EN_XX.pdf
- Have a equally named user in both the front- and the backend.
- For testing, I give them quit a lot of authorization in fron- and backend (like SAP_ALL).
- In the backend, let it have role SAP_SM_S_RFCACL .
After this is done, to activate an app what I do is this:
(if not mentioned otherwise, things are done on the front end = gateway server).
1. Find your App in the App-Libraray (https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/)
I’ll take “Manage Purchase Orders” (https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps(‘F0842’)/S3OP) as an example.
2. Check that the needed front- and backend-components are installed.
3. Activate the UI5-application in SICF.
The path is allways: /default_host/sap/bc/ui5_ui5/sap/
The appslibrary will tell you the service name (MM_PO_CRES1)
-> just right-click and activate.
4. Activate OData services:
In /IWFND/MAIN_SERVICE, publish the OData servic(es) mentioned in the appslibrary (MM_PUR_PO_MAINTAIN).
Also make sure that it’s activated in SICF as well:
Here the path is: /default_host/sap/opu/odata/sap/
5. Assign the role given in “PFCG role for Business Catalog” (SAP_BR_PURCHASER) to your user and start testing:
6. Log on to the Fiori-launchpad.
It’s usually located at [server:port]/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html .
Tipp: use Chrome as your browser.
7. You now should see the Apps as provided by the PFCG-Role.
8. Find the one you wanted (Manage Purchase Orders) and klick on it.
9. It’s quite possible that it will not work right away, but don’t let that stop you:
The F12-Key is your friend!
-> switch to the Console.
Press F5 to reload the launchpad again.
Then click the App again.
-> Watch the error messages in the console!
There are usually 2 main error sources you can identify by those messages:
A service is not running!
GET http://[hotsname]/sap/bc/ui5_ui5/sap/mm_purdoc_lsts1/~29C6FEC22735BB70BBE819198D78D~5/Component.js 403 (Forbidden)
-> go to the SICF-Node given in the URL (here: /sap/bc/ui5_ui5/sap/mm_purdoc_lsts1) and activate it.
An OData service is not available:
GET http://[hostname]/sap/opu/odata/sap/ME2STAR_OD_SRV/$metadata?sap-language=DE 403 (Forbidden)
-> go to /IWFND/MAINT_SERVICE and publish it!
(don’t forget to to activate the respective SICF-Node as well!)
You probably have to repeat those steps (reload, Click, Look, activate something in b) a few times, but in the end you should have your running app:
You already see the other apps (provided by the PFCG-Role) so why not make the usable, too!?
-> you can use the same “klick, look, activate”-cycle for it.
As always you have to invest some time and get acquainted with the problem domain. As you gain experience, the solution hidden behind an error message will get more and more obvious to you.
F12 is key when trying to find out what’s wrong!
do you have any idea how to transport a activation of a UI5 App.
When you activate a oData Service via /IWFND/MAINT_SERVICE, you are not requested for a customizing transport.
When trying to activate a Service in Q-System, a message comes up Client ... has status 'not modifiable'.
I didn't pay to much attention on software logistics in my first tries, but I just tried it out and I do get a promt for a transport-request (workbench) when I register an OData-service:
I'm not sure why you wouldn't get it, did you maybe choose "local object"?
Hi Joachim Rees,
Nice Blog. I also tries to configure the same apps kind of apps. We are activating S/4 Hana apps. Our Back End ECC/ Gateway Server is ready.
Now for a trial run , We are activating the Transactional apps, But under 1605 S4 Hana, (I chose Filter Any DB) >> 2 apps available for Any DB.
When i see the package DB: Its shows Hana DB needed.
Link : https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('F0515A')/S7OP
Question , Will it support , any DB to configure the apps. We have ECC Back end /Gateway available
Looking for your kind reply.
/IWFND/MAIN_SERVICE there is a missing T