Skip to Content
Author's profile photo Dhimant Patel

How to use SAP HCP, mobile service for SAP Fiori – part 1

Welcome to this 4-part series on How to use SAP HCP, mobile service for SAP Fiori.

In this blog post, we’ll look at SAP HANA Cloud Platform, mobile service for SAP Fiori (aka Fiori mobile service or simply Fiori mobile), one of several newly introduced SAP HANA Cloud Platform (HCP) services.  SAP HCP mobile service for SAP Fiori is an end to end solution provided to customers with the goal of allowing them to quickly and simply deliver an optimized experience to users on mobile devices.  This new component of HCP is delivered to the market as part of SAP Fiori, cloud service, premium edition.

This blog post will cover the end-to-end scenario to create a Fiori app, deploying it to a Fiori Launchpad running as part of SAP HCP Cloud Portal.  Afterwards, we’ll show how Fiori mobile can extract the app contents from the portal and create a customized hybrid application to a mobile user.  This application will have a consumer-grade UX, but will also include all the security, management and performance controls required for the mobile enterprise.

Part 1: An Introduction to SAP HANA Cloud Platform, mobile service for SAP Fiori

SAP has historically supported the mobilization of Fiori through a variety of technologies – SAP Web IDE for application development, the Hybrid Application Toolkit for hybrid app generation, the packager for embedding the UX into the app at deploy time, The Kapsel SDK for mobile features, HCPms for data management and Mobile Secure for app deployment and lifecycle management.  Those products are used by many customers today successfully.  In order to support the mobilization of Fiori apps at scale, SAP has introduced SAP HCP, mobile service for SAP Fiori.  Fiori mobile service leverages the components I just mentioned in an integrated, continuous flow that enables a rapid mobilization process.

Fiori mobile service provides the following key capabilities:

  • Build/Packaging service transforms your SAP Fiori web app into a native/hybrid app, necessary to leverage native device features.
  • App deployment service enables app lifecycle management and an enterprise app store app for deployment, ratings and reviews.
  • Data service provides infrastructure support for advanced mobile features such as push and offline.

Each of these features will be demonstrated as part of this comprehensive blog series.

Pre-requisites:

  1. A free Hana Cloud Portal trial account
  2. An Android or iOS device or emulator for testing; you’ll need a signing profile for both platforms (see part 3)

Step-by-step guide:

In order to make it convenient for you, we’ve split the above steps in 4 parts:

Part Description
Part 1 – (this) Introduction

Register for HCP trial account and configuring components

  1. Enable Fiori Mobile service
  2. Create SAP Fiori Launchpad
Part 2 – App Dev

Create a sample Fiori App in SAP Web IDE

  1. Add a destination for OData service (backend for the Fiori app)
  2. Create a sample Fiori application in SAP Web IDE
  3. Prepare the application for packaging
  4. Deploy app to HCP and to the SAP Fiori Launchpad
Part 3 – Fiori Mobile configuration Fiori Mobile Configuration

  1. Create an app subscription in HCP
  2. Create Android Signing Profile
  3. Create your Avanced Configuration File
  4. Use Fiori mobile build process (application wizard, application workflow, etc.)
  5. Executing the app on the device
Part 4 – Feature Management

Add Push Notifcation Part1, Part2

Step 1:

The first thing you’ll need is a free developer account on SAP HANA Cloud Platform.

1. Browse to sign up for a free account for the SAP HANA Cloud Platform.

2. Activate your account (via e-mail activation link you received)

3. Once you have activated your account, simply launch the HCP Cockpit

4. Now go to Services tab, locate and click on Fiori Mobile service

/wp-content/uploads/2016/06/hcp_fms_disabled_967830.png

5. Click Enable to enable Fiori Mobile service (the service provisioning may take up to fifteen minutes or more)

/wp-content/uploads/2016/06/hcp_fms_enable_967831.png

6. Let’s go back to HCP Cockpit and go to SAP HANA Cloud Portal service (as we’ll add a default Fiori Launchpad)

NOTE: This service name haschanged to “Portal Service”.

/wp-content/uploads/2016/06/hcp_shcp_service_967847.png

7. Click “Go to Service” to open Fiori Launchpad Cockpit

/wp-content/uploads/2016/06/hcp_shcp_cockpit_967848.png

8. Site Directory

  1. Click + button to add Fiori Launchpad

/wp-content/uploads/2016/06/hcp_shcp_site_dir_967849.png

9. Create Site

  1. Site Name –
  2. Template Source – select SAP
  3. Select SAP Fiori Launchpad Fiori Launchpad template
  4. Click Create

/wp-content/uploads/2016/06/hcp_shcp_flp_creation_967850.png

Upon creating the SAP Fiori Launchpad, you’ll be logged into SAP Fiori Configuration Cockpit; simply close the browser tab and return to Admin Space

10. Click the drop-down arrow and click Publish site

/wp-content/uploads/2016/06/hcp_shcp_flp_publish_967851.png

NOTE: You’ll be prompted with Alert to publish site… click Publish

11. If the site is not set to default automatically (there will be a globe w/ checkmark on upper right-corner), simply click drop-down arrow again, and set FLP to “Set as default”

/wp-content/uploads/2016/06/hcp_shcp_flp_default_967852.png

NOTE: The default launchpad is also created automatically by clicking on the Application URL link located on flpportal application configuration page (HCP Cockpit > Subscriptions > flpportal > Overview)

/wp-content/uploads/2016/06/hcp_sub_flpportal_appurl_967853.png

This concludes part 1 of this blog… On to part 2, creating a sample Fiori app

Credits

  • Mobile/UX – Johannes Alberti, Steve Lutarewych, Britt Womelsdorf, Mark Wright
  • Technology RIG – Dhimant Patel

Assigned Tags

      15 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Murali Shanmugham
      Murali Shanmugham

      H Dhimant,

      Thanks for posting. Are there any limitations on the number of Fiori Apps which can be built using the trial environment of FMS ?

      Author's profile photo Dhimant Patel
      Dhimant Patel
      Blog Post Author

      Hi Murali, currently there is a two app limitation in trial.

      Author's profile photo Richard Spinks
      Richard Spinks

      Hi,

      Any idea why when I try to activate the Fiori Mobile service in my trial HCP account it always says "Processing" then "Failed". Is there a log I can look at to see why ?

      Author's profile photo Murali Shanmugham
      Murali Shanmugham

      Hi Richard,

      Did you try to enable to service again ?

      Author's profile photo Richard Spinks
      Richard Spinks

      Yes it's working today. Must have been a temporary problem.

      Author's profile photo Joaquin Fornas
      Joaquin Fornas

      Hello

      In step 7, I cannot see the button "go to service". I see "Documentation", "Go to Admin Console" and "Go to Mobile Place".

      Do you know where is the "Site Directory" button in this case?

      Thanks!

      Joaquin

      Author's profile photo Murali Shanmugham
      Murali Shanmugham

      Hi Joaquin,

      Can you confirm if you are actually in the "SAP HANA Cloud Portal" Service. It looks like you are still in the Fiori Mobile Service.

      Author's profile photo Manjunatha Nagaraj
      Manjunatha Nagaraj

      Hi Joaquin,

      Click on Portal Services(in my case it was already enabled and the tile name is "Portal Services") tile. It opens up Portal Service tile. Right below the Service Description, you can see Documentation and Go to Service

      Author's profile photo Sanjib Saha
      Sanjib Saha

      HI Dhimant, Really very nice, detailed and helpful post.I am really new into this fiori and has got some basic questions which I believe you and experts here can help me out.

      Just to give you a background: I want to expose one of the fiori apps from the fiori library for our backend ECC sandbox system - This case we are trying for Sales Order tracking app from fiori library.

      1. here is what I have done till now and need further assistance

      1. Gateway has been set up as separate server with netweaver 7.4 (GS_FND) and UIX01EAP (UI for ERP central application)has been added.

      2. ECC Backend ERP 6. has Netweaver 7.02 and Software component SRA018 600 SP  installed there(Is it part of FIORI ERP application XI 1.0?)

      3. All SICF activation and Odata services completed in Gateway System. I tested the gateway client for the service with Alias(which is remote ECC backend - Not local) and result came OK, no errors etc.

      4. HCP trial account with cloud connector and destination set up correctly. When I check connection to Gateway system in HCP it says successful.

      5. All services for WebIDE and Hana Portal Service(Fiori Launch Pad) enabled.

      6. In the Webide when I check the destination with Odataservices it shows up there.

      Now I need help as I am little confused. Should I need to create a new APP in WebIDE based on the services and then deploy to HCP and register to Fiori LaunchPad OR Now I need to go to LPD_CUST in gateway etc..Your directions will be really helpful.

      Thanks and Regards

      Sanjib

      Author's profile photo Faaiez Sallie
      Faaiez Sallie

      Hi, this seems like a nice detailed post.

      However I am stuck on step 5 since yesterday.

      5. Click Enable to enable Fiori Mobile service (the service provisioning may take up to fifteen minutes or more)

      When I click on enable Fiori Mobile it keeps failing.

      Ive looked at the prerequisites for enabling the service and they all seem fine.

      Any ideas why this is happening - any logs or anything?

      Author's profile photo Former Member
      Former Member

      Hi,

      Is Fiori Mobile Service available only in HCP Trail? I am not able to see Fiori Mobile Service in our HCP Landscape.

      Thanks,

      Nagarjuna

      Author's profile photo Raja Prasad Gupta
      Raja Prasad Gupta

      Hi Nagarjuna,

      Did you manage to get Mobile Service in HCP trial? I am also not seeing this service in my account.

       

      Regards,

      Raja

      Author's profile photo Akshaya p
      Akshaya p

      Hi DHimant

      Whats the difference between this and Fiori Client and is there a way to support fiori apps offline through fiori mobile service?

      Author's profile photo Tejas Chouhan
      Tejas Chouhan

      Hi Dhimant,

      Could you update the blog saying : Trial is suspended now from 31st march 2018. Only available for Purchase ? This will help people.

      SAP Message in Cockpit window :

      IMPORTANT INFORMATION: 
      The mobile service for SAP Fiori trial capabilities have been discontinued. All existing trials will be suspended on March 31, 2018. Strategic features available in the mobile service for SAP Fiori have been incorporated into SAP Cloud Platform mobile service for development and operations

      Regards,

      Tejas

      Author's profile photo Nagandla Raghu Ram
      Nagandla Raghu Ram

      Hi Dhimant,

      Happy New Year!!

      I have gone through your Blog Series on SAP Fiori Mobile and Push Notifications. I see there were lot of changes in the steps and SAP Cloud Mobile. Could you please updated steps or a document for the series. It helps us a lot.

      Thanks and Regards,

      Raghu