(DI-1711) Setup OData & Fiori

How to setup OData & Fiori

Prerequisites

Setup of OData service

  1. Activate SAP NetWeaver Gateway (if it isn't activated already):
    • Run transaction code /n/IWFND/IWF_ACTIVATE.
    • Click on button Activate.

  2. Create system alias (if does not exist yet):
    • Run transaction code SM30.
    • Put /IWFND/V_DFSYAL into Table/View field.
    • Click on button Maintain.
    • Create entry for local system if it was not created yet.  


3. Assign Alias to OData gateway service (by adding OData services):

    • Run transaction code /n/IWFND/MAINT_SERVICE and click on Add service.
    • Set system alias filter to "LOCAL".
    • Click on Get services.
    • Select services that you want to add and click on Add Selected Services. Do this for the services described in OData services table under General add-on information section. 
      • General, BW and Basis add-on OData services must be always added.
      • Other services to be added depend on the add-ons you are planning to use. 
    • Select prefix "Z" and package assignment "$TMP" for selected services and confirm. 

4. Activate the OData service

    • Go back.
    • Click on previously added services and for each of them follow these steps:
      • On down left side of screen click on ICF Node and chose Configure (SICF). (OR You could go to the transaction /sicf, use the Service path /sap/opu/odata/dvd and you could activate whole node - obviously if there are all services, which you need) 

    • Right click on service and choose Activate Service. 
      • After service is activated click on Test Service. Browser window should be opened with information about OData Service. 

After each service is activated, go back to transaction /IWFND/MAINT_SERVICE and click on Load Metadata.

How to setup Fiori application

Prerequisites

  • Insights OData services are up and running (See previous section).
  • Insights Fiori application transport is imported into system.

Setup steps

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

    • Right click on node ui2 and chose Activate Service if not activated yet

    • Change service path on top to: /sap/bc/ui2/start_up.
    • Click on button Apply.
    • Do right click on node start_up and chose activate if not activated yet.
    • Change service path on top to: /sap/bc/ui5_ui5/dvd/. 
    • Click on button Apply.
    • Expand "dvd" node.
    • Right click on following node and choose activate:
    • Right click on node "FIORI" and click Test Service.

2. Web browser should display open url with similliar url as "http://<host>:<port>/sap/bc/ui5_ui5/dvd/fiori/index.html?sap-client=001". To correctly display Datavard Insights application this url should be adjusted by replacing "/sap/bc/ui5_ui5/dvd/fiori.index.html" with "/sap/bc/ui5_ui5/dvd/fiori/dvd_hm_core.html".