Setting Up the Fiori Landscape
The latest version of the SAP software comes with the Fiori launchpad and Gateway services preinstalled. For older versions, you need to install Gateway and back-end Fiori components separately. This chapter covers this process, including the prerequisites and how to set up the Fiori landscape.
Older versions of SAP (ECC6 with EHP version less than 7) require two primary types of add-ons before you can set up the Fiori landscape:
You can configure the Fiori landscape as an embedded or hub-based system. SAP Gateway is on a separate system that is connected to the respective back-end system. This chapter covers the hub-based system configuration.
Prerequisites for the Front-End Server (SAP NetWeaver Gateway)
Table 2-1 shows the SAP NetWeaver Gateway 2.0 components for the SAP NetWeaver installation.
Table 2-1. SAP Gateway Components
Prerequisite |
NetWeaver Product Version |
Software Components |
---|---|---|
SAP NetWeaver 7.0 for SAP EhP1 |
Gateway Server Core NW 700/701 |
GW_CORE 190 SAP IWFND 240 |
Gateway PGW |
IW_PGW 100 IW_PGW 200 | |
SAP NetWeaver 7.0 for SAP EhP2 |
Gateway Server Core NW 702 |
GW_CORE 200 SAP IW FND 250 SAP WEB UIF 7.01 |
Gateway PGW |
IW_PGW 100 IW_BEP 200 | |
SAP NetWeaver 7.0 for SAP EhP3 |
Gateway Server Core NW 703/731 |
GW_CORE 200 SAP IW FND 250 SAP WEB UIF 7.31 |
Gateway PGW |
IW_PGW 100 IW_BEP 200 | |
SAP NetWeaver 7.4 |
Gateway Server is a built-in part of NetWeaver 7.4. |
GW_FND 740 |
Gateway PGW |
IW_PGW 100 |
User Interface Add-on Components
Table 2-2 lists user interface add-on components for the SAP NetWeaver installation. These components are relevant only for NetWeaver versions prior to SAP NetWeaver 7.4.
Table 2-2. UI Add-On Components for SAP NetWeaver
SAP NetWeaver Version |
Required UI Software Components |
Support Package Level |
---|---|---|
All installations prior to SAP NetWeaver 7.4 |
UI_INFRA 100 UI2_700 100 UI2_FND 100 UI2_SRVC 100 UISAPUI5 100 |
SP06 |
SAP EhP1 for SAP NetWeaver 7.0 or higher |
UI2_701 100 UI2_702 100 |
SP06 |
SAP EhP3 for SAP NetWeaver 7.1 or higher SAP EhP1 for SAP NetWeaver 7.3 or higher |
UI2_731 100 |
SP06 |
Prerequisites for the Back-End Server for SAP ERP
Table 2-3 lists the SAP NetWeaver Gateway 2.0 components for the SAP NetWeaver installation.
Table 2-3. SAP NetWeaver Gateway 2.0 Components
Prerequisites |
---|
SAP NetWeaver 7.0 SPS 21 or higher |
For SAP Fiori apps based on SAP ERP:
|
ERP installations prior to SAP NetWeaver 7.4:
|
Initial Configuration
After you set up the SAP Gateway, UI add-ons, and the back-end server add-ons, you can begin your Fiori configuration:
Creating Fiori Users and Assigning Authorizations
Before you can start using Fiori, you need to set up two primary types of users: admin users and end users. These users must be created in both the front-end server and the respective back-end SAP suite. Follow these steps:
Figure 2-1. SAP transaction User Maintenance SU01
Once you’ve created the users, you need to give them the authorizations that make them admin and end users:
Figure 2-2. Role Maintenance PFCG transaction
Figure 2-3. Making a custom role for the admin user
Figure 2-4. Click Authorization Default
Figure 2-5. TADIR Service pop-up screen
Add the following TADIR service values:
Figure 2-6. Authorizations tab
Figure 2-7. Generating authorizations
Figure 2-8. TADIR service for the end user
Once you’ve created these roles, you need to assign them to FIORI_ADMIN and FIORI_USER:
Figure 2-9. Assigning a role to the admin user
Figure 2-10. Assigning a role to the end user
Connecting SAP NetWeaver Gateway with the Back-End SAP Suite
In order to make SAP Gateway communicate with your back-end SAP system, you need to assign a few roles and set up a trusted RFC connection between the two systems.
Assigning a Role Template for Administrators (SAP Gateway System)
Here are the steps:
Figure 2-11. Creating an admin role template
Creating Trusted RFCs in SAP Gateway to Connect with the SAP Back-End System
In order for Fiori apps to communicate between SAP Gateway and SAP back-end systems, a trust relationship must be maintained between the systems. You can do this by configuring the SAP Gateway system as the trusting system and the SAP back-end system as the trusted system. Here are the steps:
Table 2-4. Technical Settings for the RFC Destination
Name |
Value |
---|---|
Load Balancing Status |
No |
Target Host |
abcd.myserver.corp (server name of the back-end system) |
Instance No. |
00 (system number of the back-end system) |
Figure 2-12. Trusted RFC technical settings
On the Logon & Security tab (see Figure 2-13), enter the values listed in Table 2-5, and then click Save.
Table 2-5. Logon & Security Settings for the RFC Destination
Name |
Value |
---|---|
Language |
EN |
Client |
400 (client of the back-end system) |
User |
Select the Current User check box. |
Trust Relationship |
Yes |
Figure 2-13. Trusted RFC Logon & Security settings
Defining a Trusted Connection between the SAP Back-End System and the SAP Gateway System
Similar to the previous step, a trusted connection must be maintained in the opposite direction. In this case, you have to configure the SAP back-end system to be the trusting system and SAP Gateway as the trusted system:
Table 2-6. Technical Settings for the RFC Destination between the SAP Back End and SAP Gateway
Name |
Value |
---|---|
Load Balancing Status |
No |
Target Host |
abcd.mygatewayserver.corp (server name of the SAP Gateway system) |
Instance No. |
00 (system number of the SAP Gateway system) |
Table 2-7. Logon & Security Settings for the RFC Destination between the SAP Back End and SAP Gateway
Name |
Value |
---|---|
Language |
EN |
Client |
200 (client of the SAP Gateway system) |
User |
Select the Current User check box. |
Trust Relationship |
Yes |
Now do the following in the SAP back-end system:
Figure 2-14. Create Trusting Relationships Wizard
A system alias is a unique name you give a system that points to other systems. You’re required to maintain system aliases so you can activate a service that resides on another system by connecting to the system based on its system alias. Follow these steps:
Figure 2-15. SPRO path for maintaining system aliases
Figure 2-16. Creating a system alias
Table 2-8. System Alias Settings on the SAP Gateway System to Connect with the SAP ERP System
Setting |
Value |
---|---|
SAP System Alias |
ECCCLNT201 (RFC destination name) |
Description |
Description of the RFC destination |
RFC Destination |
ECCCLNT201 (RFC destination name) |
Software Version |
DEFAULT |
If the Local system alias for SAP Gateway does not exist, add the entry shown in Table 2-9 (see Figure 2-17).
Table 2-9. Settings for the Local System Alias
Name |
Value |
---|---|
SAP System Alias |
LOCAL |
Description |
Local System Alias |
Local GW |
Select the Local GW check box. |
RFC Destination |
NONE |
Software Version |
DEFAULT |
Figure 2-17. Creating a default local system alias
Activating SAP Gateway
In the Gateway front-end server, you need to activate Gateway. Follow these steps:
Figure 2-18. Activating SAP Gateway
Configuring SAP Web Dispatcher
SAP Fiori apps connect to multiple SAP back-end systems. But these apps are based on the HTML5 framework and JavaScript. When they access multiple back-end systems, the apps are blocked by a same-origin-policy error. To overcome this issue, you can use SAP Web Dispatcher to combine all the back-end hostnames/IPs, ports, and so on in a single origin. Doing so also provides a certain level of security. SAP Web Dispatcher is not mandatory for Fiori transactional apps, but it is mandatory for fact sheets and analytical apps. Web Dispatcher must be configured as an SSL client.
Because Web Dispatcher is a big topic, this section covers only the parts of the configuration that are related to Fiori. Follow these steps:
Table 2-10. Settings for Web Dispatcher
Parameter |
Value |
---|---|
DIR_INSTANCE |
<SECUDIR_Directory> |
ssl/ssl_lib |
<Location_of_SAP_Cryptographic_Library> |
ssl/client_pse |
<Location_of_SSL_server_PSE> |
ssl/server_pse |
< Location_of_SSL_client_PSE > |
wdisp/ssl_encrypt |
1 |
wdisp/ssl_auth |
1 |
wdisp/add_client_protocol_header |
1 |
wdisp/ping_protocol |
https |
icm/HTTPS/verify_client |
1 |
Enter the values listing in Table 2-11 in the ICM ports.
Table 2-11. ICM Port Settings
Parameter |
Value |
---|---|
icm/server_port_0 |
PROT=HTTPS,PORT=<Web Dispatcher Port>,TIMEOUT=120 |
Include the parameters from Table 2-12 in the Web Dispatcher routes profile.
Table 2-12. Routes Profile Settings
Parameter |
Value |
---|---|
wdisp/system_0 |
SID=<Front-End SID>, MSHOST=<Front-End Hostname>, MSPORT=<Front-End Messaging Port>, SRCSRV=*:<Web Dispatcher Port>,SRCURL=/sap/opu/;/sap/public/;/sap/bc/;/sap/saml2/;/ui2/nwbc/, CLIENT=<Front-End client> |
wdisp/system_1 |
SID=<Back-End SID>, MSHOST=<Back-End Hostname>, MSPORT=<Back-End Messaging Port>, SRCSRV=*:<Web Dispatcher Port>,SRCURL=/sap/es/, CLIENT= <Back-End client> |
wdisp/system_2 |
SID=<HANA SID>, EXTSRV=<HANA XS URL>,SRCSRV=*:<Web Dispatcher Port>,SRCURL=/sap/hba/;/sap/hana/;/sap/bi/;/sap/viz/;/sap/vi/;/sap/ui5/ |
After making these changes, you can test the Web Dispatcher using the following URL in your browser: https://<Web Dispatcher Hostname> :<Web Dispatcher Port>/sap/admin/public/default.html.
Setting Up the Fiori Launchpad, Fiori Launchpad Designer, and Fiori Admin Page
You need to activate the OData services required for the launchpad to communicate with and fetch business data from the SAP back-end servers. Follow these steps:
Figure 2-19. Activating OData services for the launchpad
Table 2-13. Settings for the ICF Node
Technical Service Name |
Description |
---|---|
/UI2/PAGE_BUILDER_CONF |
Page Builder - Configuration Level |
/UI2/PAGE_BUILDER_CUST |
Page Builder - Customizing Level |
/UI2/PAGE_BUILDER_PERS |
Page Builder - Personalization Level |
/UI2/INTEROP |
Gateway Service of Interoperability |
/UI2/TRANSPORT |
UI2: Transport Service |
You need to activate the ICF nodes related to Fiori in order to access the relevant Fiori URLs. Here are the steps:
Figure 2-20. The SICF transaction
Table 2-14. Nodes to Activate for the Fiori Launchpad
ICF Node Path |
---|
/sap/bc/ui2/start_up |
/sap/bc/ui2/nwbc/ |
Table 2-15. Nodes to Activate for the Fiori Launchpad
ICF Node Path |
---|
/sap/bc/ui5_ui5/ui2/ushell |
/sap/bc/ui5_ui5/sap/arsrvc_upb_admn |
/sap/bc/ui5_ui5/sap/ar_srvc_news |
/sap/bc/ui5_ui5/sap/ar_srvc_launch |
Table 2-16. Nodes to Activate for the Fiori Launchpad
ICF Node Path |
---|
/sap/public/bc/ui5_ui5/ |
/sap/public/bc/ui2/ |
/sap/public/bc/icf/logoff |
Configuring the Logon Screen for the Fiori Launchpad and Fiori Launchpad Designer (Admin page)
Initially, the Fiori logon page does not have a default background image or theme. To make the Fiori logon page appear as shown in Figure 2-21, you need to do some configuration in SICF. Follow these steps:
Figure 2-21. Fiori logon screen
Figure 2-22. Fiori launchpad page configuration
Figure 2-23. Fiori launchpad logon configuration
When a user logs out from the Fiori launchpad, a logoff page is displayed. This particular page can be replaced with any custom page you wish. Here are the steps:
Figure 2-24. Customizing the Fiori logoff page
In NetWeaver 7.4, you can automate some of the manual configuration steps by using a predefined task list. The task list must be carried out in the order shown in Table 2-17.
Table 2-17. Predefined Task List for NetWeaver 7.4
Task List |
Manual Configuration Steps Automated Using the Task List |
---|---|
SAP_GATEWAY_BASIC_CONFIG |
Activating SAP NetWeaver Gateway |
SAP_FIORI_LAUNCHPAD_INIT_SETUP |
Activating the launchpad OData services |
Configuring ICF nodes | |
SAP_SAP2GATEWAY_TRUSTED_CONFIG |
Creating trusted RFCs in NetWeaver Gateway to the SAP business suite |
Defining trust RFCs between the SAP business suite and SAP NetWeaver Gateway | |
SAP_GATEWAY_ADD_SYSTEM |
Creating system aliases |
SAP_BASIS_SSL_CHECK |
No equivalent manual step |
You can download Fiori app-specific add-ons from the SAP Service Marketplace at http://service.sap.com/support and install them using the SAINT t-code. From the SAP Service Marketplace, navigate to Software Download Installation and Upgrades A-Z Index F SAP Fiori SAP Fiori for Suite. Here, you can download all the Fiori apps for ERP, CRM, SRM, EHS, and so on.
The most common Fiori apps are the transactional apps for ERP (found under FIORI ERP APPLICATIONS X2, as shown in Figure 2-25). You can find further details for configuring these add-ons at https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/.
Figure 2-25. Fiori app-specific add-ons
The next chapter discusses the Fiori launchpad and Fiori app configuration in detail.
18.218.9.139