(DI-1705) Setup OData & Fiori

How to setup OData & Fiori

Prerequisites

  • Insights OData transport imported on the system

Setup of OData service

  1. Activate SAP NetWeaver Gateway (if it isn't activated already):
    • Run transaction code /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.  

    • Assign Alias to OData gateway service:

3. Add OData service

    • Run transaction code /IWFND/MAINT_SERVICE and click on Add service (if you are unable to run the transaction try to run it with prefix /n).
    • 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 following services:
      • RL_SETT_SRV
      • HC_SRV
      • HS_BODATA_SRV
      • MON_SRV
      • MON_DET_SRV
    • 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).

    • 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.
    • In sequence right click on following nodes and choose activate:
      • RL_WEB
      • HC_WEB
      • HM_LIB_BAS_WEB
      • FS_WIZ_WEB
      • MON_WEB
    • Right click on node "HC_WEB" and click Test Service. 

2. Web browser should display UI5 Application.