Setting up OData and Fiori Manually
Proceed as follows if you want to set up the OData manually:
Prerequisites
-
Central package needs to be installed on the system. This is a package that contains the OData service implementation and its associated objects, such as data models, classes and methods.
-
Check the prerequisites from the previous chapter Fiori Prerequisites.
-
Check and choose a system architecture, based on which you can continue with the setup of an OData service.
-
The system where OData services are activated must be modifiable.
Perform the following steps on the system that is used for Fiori visualization. You can install Fiori on a central system or on a different SAP system, for example if the central system does not meet the Fiori prerequisites and the other SAP system does. The Fiori application requires a preinstalled OData service.
If Fiori is installed on an SAP system other than the central system, you must connect it with the central system via the RFC connection defined with the role /DVD/MON_ADMIN. The chapter Setting up OData Services covers both cases but there are minor differences for setting up Fiori on the central system or on a different SAP system.
Setting up OData Services
Proceed as follows to set up OData services:
-
Activate the SAP NetWeaver Gateway:
-
Start transaction /N/IWFND/IWF_ACTIVATE.
-
Click Activate.
-
-
Create a system alias:
-
Start transaction SM30.
-
In the Table/View field, enter /IWFND/V_DFSYAL.
-
Click Maintain.
-
Click New Entries.
-
In the SAP System Alias column, enter a unique alias for your system.
-
If Fiori is installed and the SAP system is not the central system, fill out the RFC Destination column to connect these two systems. The RFC connection must be defined with the role /DVD/MON_ADMIN.
-
-
Assign an alias to the OData gateway service with the following steps:
-
Start transaction /N/IWFND/MAINT_SERVICE.
-
Click Add service.
-
In the System Alias field, enter the previously defined system alias.
-
Click Get Services.
-
Select services that you want to add. Always add at least the following OData services:
-
RL_SETT_SRV
-
MON_DET_SRV
-
HS_BODATA_SRV
-
HS_ODATA_SRV
-
HS_KPI_SRV
-
-
Click Add Selected Services.
-
Enter the prefix Z and the package assignment $TMP for the selected services.
-
Click Confirm.
-
-
Activate the OData services:
-
Go back to the previous window.
-
Select the newly added services and choose one of the options below.
-
Individual services: In the bottom-left window, click the ICF Node split button and select Configure (SICF). Right-click the service and select Activate Service.
-
Entire node: Alternatively, you can start transaction SICF, enter /sap/opu/odata/dvd into the Service Path field, and activate the entire node, which includes all the previously added services.
-
Once the service is activated, right-click it and select Test Service. A browser window appears with the information about the OData service.
-
After enabling all the required services, start transaction /N/IWFND/MAINT_SERVICE and click Load Metadata to refresh the services.
-
The OData services have been set up.
Setting up the Fiori Application
Prerequisites
-
CrystalBridge® Monitoring OData services are set up and running (see the chapter Setting up OData Services).
-
The CrystalBridge® Monitoring Fiori application transport has been imported into the system.
Setup
Proceed as follows to set up the Fiori application:
-
Start transaction SICF.
-
In the Service Path field, enter /sap/public/bc/ui2.
-
Click Execute.
-
In the tree below, right-click the node ui2 and select Activate Service.
-
Change the service path to /sap/bc/ui2/start_up.
-
Click Apply.
-
In the tree below, right-click the node start_up and select Activate Service.
-
Change the service path to /sap/bc/ui5_ui5/dvd/.
-
Click Apply.
-
In the tree below, expand the node dvd.
-
Right-click the node fiori and select Activate Service.
-
Right-click the node fiori and select Test Service.
If the test is successful, the web browser will display a URL similar to http://<host>:<port>/sap/bc/ui5_ui5/dvd/fiori/index.html.
-
The Fiori application has been set up.