Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In the case you prefer to set up the OData manually, you may do so as follows:

Prerequisites

  • Central package needs to be installed on the system.
  • Check prerequisites from the previous chapter (DI-2005) Fiori Prerequisites.
  • Check and choose a system architecture, based on it continue with the setup of an oData service.
  • System where OData services are activated has to be open for development.

ollowing Following steps will be executed on the system which is used for Fiori visualization. Fiori can be installed on a central system or on a different SAP system (e.g., in the case that the central system doesn't meet the Fiori prerequisites and the other SAP system does). The Fiori application requires an already installed OData service.
In the case that Fiori is installed on a SAP system other that the central, it must be connected with the central system through a RFC connection defined with the role /dvd/mon_admin. The manual "Setup of OData service", which is below, is for both cases (with some small differences for the setup of Fiori on a SAP central system or on a different SAP system).

...

    • Run the transaction code /n/IWFND/MAINT_SERVICE and click on Add service.
    • Enter the previously defined system alias. 
    • Click on Get services.
    • Select services that you want to add and click on Add Selected Services.
    • Always add the following OData services: RL_SETT_SRV, MON_DET_SRV, HS_BODATA_SRV, HS_ODATA_SRV, HS_KPI_SRV
    • Select prefix "Z" and package assignment "$TMP" for the selected services and confirm. 

...

4. Activate the OData service

    • Go back.
    • Click on the previously added services and for each of them follow these steps (IMPORTANT: please bear in mind that these services might be already activated. By default they are, this is just a way to doublecheck double check that everything is activated):
      • On down At the bottom on the left side of screen click on ICF Node and chose Configure (SICF).
      • Right click on service and In the context menu of the service, choose Activate Service. (The other option is that you use the transaction SICF, enter into the Service Path /sap/opu/odata/dvd and activate the whole node which includes all the previously added services.) 

  • After a Once the service is activated, click on Test Service. A browser window appears with the information about the OData service. 

...

  1. Enable ui5 web application:
    • Run the transaction code SICF
    • Enter the service path: /sap/public/bc/ui2. Execute (F8)

    • Right click on In the context menu of the node ui2 and chosechoose Activate Service 

    • Change the service path to: /sap/bc/ui2/start_up.
    • Click on Apply.
    • Right click on In the context menu of the node start_up and chosechoose Activate Service
    • Change service path to: /sap/bc/ui5_ui5/dvd/. 
    • Click on Apply.
    • Expand the "dvd" node.
    • Right click on following In the context menu of the following node (fiori) and choose Activate:
    • Right click on the node In the context menu of the node "fiori" and click Test Service.

2. The web browser should display an url URL similar to "http://<host>:<port>/sap/bc/ui5_ui5/dvd/fiori/index.html".