Activating and Running Fiori Cloud Subscription Apps in SAP Cloud Platform
I was not going to write another blog in January but I came across some questions during the #100DaysOfCommunityQA activities I have been involved in and found that there were a couple of new questions and a number of unanswered questions from way back that inspired me to write about this topic. I could also not find any other blogs that dealt with activating the Fiori cloud subscription applications provided out of the box with SAP Cloud Platform. So, thought I would write one. ?
For those following me, my goal for this year was to write 2 blogs every month so I am really happy that for this month I have surpassed my goal! Awesome! What a start to 2019!! OK, I digress. ?
For context, the following blog by Murali Shanmugham really helps in understanding the possible landscapes and scenarios offered – you can read it here. This summarises all you need to know about the key benefits of running applications in the Cloud and talks about the External access point scenario which is the most widely used scenario.
This blog assumes you have already purchased a subscription to the Fiori Cloud in SAP Cloud Platform. When you first log in you will see services and as you activate some of them you will start to see some applications in the Subscriptions area. Check the below screenshot, you can see 4 applications available.
Figure:1 Subscription applications
You may ask though – where are all of the cloud applications we purchased as part of the subscription?? Take a note of the number of applications you see above – 4 HTML5 and 2 Java applications. Don’t be worried – there are a large number of applications delivered as part of the SAP Cloud Platform subscription – these just need to be activated. I will now go into where you can find this information.
SAP Fiori Cloud Applications
You may be thinking – well what applications are delivered as part of the subscription offerings. Well, the answer is near – the good old Fiori apps library is the key!
The Fiori Apps Library is a great source of information regarding applications available generally but also those applications available as part of the Fiori Cloud apps in SAP Cloud Platform. You can check it out here.
When you first go in you will see the categories and one of them is Apps available for SAP Fiori Cloud.
Figure:2 Fiori apps library
When you drill into this you will be amazed at the total of S/4HANA applications that are available! Aviad Rivlin wrote a blog on this some time back when the number was less, you can check it out here. The number of applications for Business Suite and previous S/4HANA versions are also great!
Figure:3 Fiori apps library – SAP Fiori Cloud apps
I will select the Business Suite applications here showing the 61 that are available.
Figure:4 Fiori apps library – SAP Fiori Cloud apps
I will now go on to how we can activate the SAP Fiori Cloud applications.
Activating SAP Fiori Cloud Applications
Activation of the subscription SAP Fiori Cloud applications is carried out via the Portal service in SAP Cloud Platform. The trick is – all of the applications are only enabled when you create a portal site so this will be the next step.
First – make sure that the Portal service is Enabled.
Figure:5 Portal service – Enable it!
Click on the tile and you will be presented with the Overview page for the service.
Figure:6 Portal service overview page
If this service is Not yet enabled then click on the [Enable] icon (this will appear instead of the Disable). Once enabled, select the [Go to Service] link.
This will display the Portal Administration page.
Figure:7 Portal Administration page
Select the [Site Directory] to display a list of sites to maintain. We will use this service to create an initial site. When you first start out you will not have any sites so the site will only include 1 tile with the + icon.
Figure:8 Portal service Admin space
The cloud applications can only exist as subscriptions when you bring them into a portal site. I will include the steps now to create just a test launchpad site that will deploy the Fiori cloud subscription apps.
- Click on the + icon.
- Enter the Site name and select the SAP Fiori Launchpad as the template.
- Click on the [Create] button.
Figure:9 Create Site – Fiori Launchpad
This will start to create the site and you will then be presented with the following pop-up. This is the point at which the Administrator decides which applications can be included. This step is called Adding Business Content.
Figure:10 Add Business Content popup
There are basically 3 options that can be selected here.
- SAP Cloud for S/4HANA
- SAP Fiori Cloud for Business Suite
- Don’t show this again
I would not recommend the 3rd option as it can be quite elusive to get this selection screen back. I would recommend either option 1 or 2 but it will depend on what backend systems you intend hooking the cloud applications up to. You can also hook up both if you have both backend systems in your landscape.
Here is some more information on:
- SAP Fiori Cloud for Business Suite -> https://help.sap.com/viewer/p/SAP_FIORI_CLOUD
- SAP Cloud For S/4HANA -> https://blogs.sap.com/2018/06/06/sap-fiori-cloud-for-s4hana-its-prime-time/
For the example I am going to choose the 2nd option – SAP Fiori Cloud for Business Suite.
Figure:11 Add Business Content – Business Suite
- Select the checkbox as highlighted above and select the [Add Content] icon.
You will then be presented with this screen and you will see the ‘Content added’ message.
Figure:12 Add Business Content – Content added
- Select the [Activate Content] button.
The following screen will be displayed. Here you will also see the new Content Packages side menu option appear and this details all packages that have been activated in this SAP Cloud Platform subaccount.
Figure:13 Content Package – SAP Fiori Cloud for Business Suite
The last step is to Activate this. Do this by selecting the [Activate] button.
You will then be asked to supply credentials for SAP Cloud Platform.
Figure:14 SAP Cloud Platform login
NOTE: You will need to enter your S userid here, NOT the email address associated with the S userid.
Once you do this the dot dot dot will appear.
Followed by a successful message toast.
Figure:15 Content package successful message
You can also see the activation date. NOTE: You can always come back to the Content Packages section of the Launchpad to view this information.
Now if we go back to the SAP Cloud Platform subaccount and check the subscriptions again you will see magic has happened. 🙂
Figure:16 SAP Fiori Cloud subscription applications
You can now see 74 subscribed HTML5 applications delivered to your doorstep. ?
The main groups of applications included in the subscription are:
- Cross Fiori Inbox for My Inbox scenarios
- CRM applications for Sales Reps and Sales Managers
- MDG applications for Master Data Governance processes
- HCM applications covering ESS and MSS functionalities
- Retail applications covering retail store scenarios
- Procurement related applications in MM/Purchasing as well as SRM
Seriously cool that I now have a large amount of applications I could activate. When you look through them you will realise some of them are portal templates, web ide plugins and app templates but still pretty good!
If I check out the Content Management section of my Fiori launchpad I can see that 58 applications are available.
Figure:17 Fiori Configuration Cockpit – SAP Business Suite applications
I covered the Business Content area in another blog here however if you select the SAP Business Suite option you will see the standard applications appear. They will all initially be added to the SAP catalog and SAP group.
So, the next question is – how do I now run them. If I previewed the launchpad I can see that all of the applications have errors. Click on the Preview icon and the following screen will be presented.
Figure:18 Fiori Launchpad with SAP Fiori Cloud applications
The main reason why these applications are not working is because there is no connectivity to the backend systems with these applications. All we have done so far is activate the content packages so the next step is to hook them up to the backend via the Connectivity service.
Enabling and Connecting the SAP Fiori Cloud Apps
There are 3 steps required for enabling SAP Fiori Cloud applications to run successfully. But first – architecture!
The architecture I will showcase is using a direct destination to the backend via SAP Cloud Platform’s connectivity service and not going via Odata provisioning however the actions on the application are similar. To put this in context I will include a solution diagram showcasing the architecture we are talking about. The solution diagrams are brilliant and were showcased in a recent SAP Cloud Platform podcast which you can check out here. Additionally, the solution diagrams and icons powerpoint wiki site can be found here.
Figure:19 SAP Fiori Cloud architecture
For this example, I will showcase the My Inbox application.
The first step of enabling Fiori cloud applications if of course the related OData service being activated in the backend system. Whether or not you establish connectivity to backend systems, if the OData service for the application you are trying to run is NOT activated then the application will never run and errors will occur. So, I will first show that the TASKPROCESSING OData service (v2) is active in the SAP Gateway system and activated to established Aliases.
Figure:20 SAP Gateway Service Activation
As you can see above a number of OData services have been activated – including the TASKPROCESSING service required to run the My Inbox application.
The second step of connecting Fiori cloud apps is connectivity to the backend systems. This is achieved via a Destination which is part of the Connectivity service. I defined a destination that points directly to the Cloud Connector virtual host called testonpremisegateway.
Figure:21 Destinations in SAP Cloud Platform
Once the destination is defined we are on to the third step that involves assigning the Destination to the application directly. We will use the My Inbox application (crossfndfioriinbox) as the example.
Figure:22 Subscription applications
- Select the application you wish to enable. Click on the cross.fnd.fiori.inbox application as highlighted above.The following screen will be displayed.
You can see that there are no valid Destinations assigned to this application and all red lights under the Available column. This means that the application will not run.
- Click on the dropdown against the SAP_Gateway entry and assign the valid Destination created in the previous step.
You can see when the Destination is selected the box will go green and the Available icon will change to a green tick.
- Click on the [Save] icon to keep the destination settings.
So, we have now completed the enabling and connecting up of the SAP Fiori cloud My Inbox application delivered as part of the subscription.
NOTE: Don’t forget when using the Preview option to choose the SAP Business Suite in the Business Content dropdown! You should see a large amount of applications exist.
Let’s run the launchpad again to see whether this application runs successfully. I will run in Preview mode and we should see the My Inbox without an error and with any luck have an item ready to process.
Figure:23 Fiori Launchpad with successful My Inbox application
Woooooohoooooo! You can see above that the My Inbox application has no errors and it has found 1 item to process.
We have now completed the entire process of activating and enabling SAP Fiori Cloud applications in SAP Cloud Platform. I hope you enjoyed this blog and as always please feel free to leave comments.
Thanks for reading!