Professional Documents
Culture Documents
www.sap.com
Yang Gang
-----------------------------------------------------------------------------------------------------------------------------------------------------
Document Version Authored By Description Date Created
1.0 Yang Gang Fiori Mobile White Paper May 10, 2017
-----------------------------------------------------------------------------------------------------------------------------------------------------
2
Table of Contents
ABSTRACT ................................................................................................................................................... 4
CHAPTER 1 INTRODUCTION ........................................................................................................................ 5
CHAPTER 2 INSTALLING AND CONFIGURING CLOUD CONNECTOR .............................................................. 6
Install the Cloud Connector ......................................................................................................................... 6
Configure the Cloud Connector to connect your SAP Cloud Platform ......................................................... 7
Configure the Cloud Connector to connect your Fiori server....................................................................... 9
3
Abstract
CHAPTER 1 -- INTRODUCTION
CHAPTER 2 -- INSTALLING AND CONFIGURING CLOUD CONNECTOR
4
Chapter 1
Introduction
Welcome to How to deploy standard Fiori applications(HCM) to device using Fiori Mobile. In this white paper,
you can find all the details that are needed to deploy existing Fiori applications(HCM) to mobile device using
Fiori Mobile on SAP Cloud Platform.
Please make sure your standard Fiori applications(HCM) works well in Fiori Launchpad and you have a SAP Cloud
platform account.
If the application does not work, please go through the white paper below to install and configure your
application first.
https://wiki.scn.sap.com/wiki/x/eZ-5Gg
If you don’t have a SAP Cloud Platform account, you can use the following way to get a trial account.
Trial account is used for testing only.
1. URL: https://account.hanatrial.ondemand.com/
2. Click on Register
3. Follow the registration process
4. You will be asked to provide your First, Last name and Email as well you set your password
5. Once you accept the Terms and Conditions, you will be sent the information that are needed for you to
access Cloud Platform
If you want to have an official account for production, please contact to your AE.
5
Chapter 2
INSTALLING AND CONFIGURING CLOUD CONNECTOR
In this chapter, we will focus on how to install and configure Cloud Connector to build the connection between
SAP Cloud Platform and your Fiori server.
The Cloud Connector version is 2.9.0.2 in this white paper.
6. Install it on your VM or physical machine and check the option “Start Cloud Connector 2.10.1 after
Finishing the Setup”
6
Configure the Cloud Connector to connect your SAP Cloud Platform
1. Type the following URL to access the SAP Cloud Connector Administration. https://localhost:8443
3. You need to change the default password and select the Installation Type when login the connector the
first time. In this case, we use Master (Primary Installation)
7
4. Click Save and you need to provide your SAP Cloud Platform Region Host and Subaccount information.
In this case, we use HANA Trial host.
8
6. Click SAVE button, you should see the following screen.
1. In the Cloud Connector Administration Cockpit, click on Cloud To On-Premise as shown below:
2. Click plus button “+” to add a Virtual mapping to the On-Premise NetWeaver Gateway system(Fiori
Server).
4. Click Next.
5. Choose protocol type you want to use. In this case, we select HTTP protocol.
10
6. Input your Fiori server hostname and port and click Next.
7. Provide a virtual name to your server. This virtual name can be anything you like. But the port must be
the same as the internal one.
11
8. Accept the default if you are using HTTP as shown below and click Next.
9. You can put any description you like in this screen and click Next.
12
10. Review the configuration on that screen and make sure everything is correct.
11. Click Finish and you should see the following below:
13
13. Specify “/” under URL Path and select Path and all sub-paths for simplicity as shown below:
Note State is green. It means the server can communicate with your Fiori server
now.
14
Chapter 3
Configuring Roles for SAP Fiori mobile service
Fiori mobile service users require specific roles and permissions to be set up by IT or a system administrator in
the SAP Cloud Platform before being able to use the software.
1. In the SAP Cloud Platform Cockpit, set up the Trust configuration to use Enterprise IDP. See the Identity
Federation with a Corporate Identity Provider section of
https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-
US/e6b196abbb5710148c8ec6a698441b1e.html#loioe6b196abbb5710148c8ec6a698441b1e__IdP
b. In the Service Configuration section of the Fiori Mobile - Overview page, click Configure Fiori
Mobile.
15
Figure 24 Select Configure Fiori Mobile
c. On the Roles tab, select each role listed in the following table and assign it to the associated group
by selecting Assign in the Groups section.
Role Group
Account Admin Mobile Admin
App Catalog Admin Mobile App Administrator
App Catalog Publisher Mobile App Publisher
Reports User Mobile Reports User
Mobile Place User Mobile Place User
16
Figure 26 Specify group name or New Group
If the group you need to assign a role to is not listed, you can create it
by clicking New Group in the Assign role <role name> to group dialog
Note box that is displayed after you click Assign.
d. Click Fiori Mobile in the breadcrumb navigation to return to the Fiori Mobile - Overview page and
proceed to the next step.
Role Group
Administrator Mobile Admin
Administrator Mobile App Administrator
Administrator Mobile App Publisher
c. Click the name of your account in the breadcrumb navigation to return to the main page of the SAP
Cloud Platform Cockpit and proceed to the next step.
4. Configure roles in SAP Cloud Platform mobile service for development and operations:
a. In the Account Information section of the SAP Cloud Platform Cockpit, click Services.
18
b. Click the Development and Operations tile.
c. In the Service Configuration section of the Development and Operations - Overview page, click
Configure Development & Operations.
19
Figure 32 Click Roles icon
e. On the Roles tab, select each role listed in the following table and assign it to the associated group
by selecting Assign in the Groups section.
Role Group
Administrator Mobile Admin
Administrator Mobile App Administrator
Administrator Mobile App Publisher
20
b. In the main menu on the left, click Security > Authorizations.
21
Chapter 4
Configuring Cloud Platform Destination
After Cloud Connector is configured, you can login to SAP Cloud Platform Trial landscape to configure the
destination.
22
10. Verify if your SAP Cloud Connector is connecting to your Trial landscape account as shown below by
clicking on Cloud Connectors under Connectivity:
23
12. Click New Destination.
User & Password Provide your Fiori server user ID and password
14. Add a property for this destination, click New Property as shown below:
24
15. From the Additional Properties, there are few we need to add, starts with the following,
WebIDEEnabled with the value true:
16. Click Save to save your configuration, the system will take about 5 minutes before it is available.
26
Chapter 5
DEPLOYING APPLICATIONS USING FIORI MOBILE
In this chapter, we will talk about the configuration of Fiori Mobile service in SAP Cloud Platform and
deployment of standard Fiori applications.
27
3. Click Go to Admin Console to open Fiori Mobile Administration window
28
Configure Fiori Mobile service connection
1. Click Fiori Mobile under Account
29
3. Type a unique name for the connection in the Fiori Server Name field. In the Virtual Host with URL
field, type the URL to your Fiori resources. It should match a system mapping and URL path defined in
the Cloud connector.
4. Enter the value of the sap-client query parameter in the SAP Client field. Specify the authentication
path (ping path) if necessary (you can also use the default path, /sap/bc/ping), The Basic Authentication
path is used for user authentication and to determine system availability. Then click Create.
30
Mobile service for SAP Fiori connects to the Fiori server and authenticates
using one of the supported application authentication policies “ Basic
Note Authentication,Principal Propagation,SAP Assertion SSO“. When using
Basic Authentication, application developers simply specify the user
name and password of an account on the Fiori Enterprise Server. This
account must have already been configured on the Fiori server.
3. If you don’t have an exist Android Key Store File, select Generate then click on OK.
32
4. Input all needed information then click Save.
5. If you have an existing Android Key Store File, select Upload in Step 3 and choose your file.
33
6. Select iOS Platform and click New Profile.
7. Create IOS profile can only select Upload then click on OK.
8. Upload signing certificate with password and provisioning profile, make sure enabled “I have made SAP
a Team Member In my Enterprise Apple Developer Program”.
34
9. You can click “Show Apple Signing requirement” for more information, make sure the certificate and
provisioning profile meet the requirement and click Save.
35
Create Application deploying to mobile device
1. Click Manage Apps under Applications.
36
3. Click Get Started.
4. If you want to mobilize all applications in Fiori Launchpad, you can choose “I want to mobilize an existing
lauchpad or Fiori application”.
In this case, as we are aiming to deploy specific applications, we choose the first option “I want to create
a local launchpad with only the apps I want to mobilize” then click Next.
37
5. Click Fiori Server we want to connect then click Next. In this case, we choose ‘MonsoonERP’.
6. Input the Username and password of the account have already been configured on the Fiori server,
Check Save Credentials then click Next.
38
7. You should get a list of Available Applications.
8. Choose the applications you want, click and drag to Selected Applications list box.
In this case, we choose two applications, “approve leave request” and “people profile” then click Next.
39
9. Input all needed information and click Finish.
40
10. It may cost 5-10 minutes to complete the building process.
11. Click Actions button and select Download Binary to get the application APK/IPA file.
41
12. Click Save on the bottom right, you can see the application appears in Manage Apps page.
13. Now we created the Fiori application successfully and customer can download and install it form Mobile
Place.
42
14. We can also link application policy to device that managed by Mobile Secure, so the application will
push to customer.
43
15. Application screen shots.
44