Show TOC

Configuring SAP Web DispatcherLocate this document in the navigation structure

Administrators configure SAP Web Dispatcher to allow you to run SAP Fiori applications in the SAP Fiori launchpad on Portal.

Prerequisites

You are using SAP Fiori applications designed to run on the SAP Fiori launchpad.

Context

Note

We recommend using the SAP Web Dispatcher but any reverse proxy or other dispatching component can be used.

The following procedure does not apply to the subset of SAP Fiori applications that are designed to run in the SAP Fiori launch page, and not in the SAP Fiori launchpad.

For further information on the SAP Fiori launch page, in SAP Help Portal, navigate to Start of the navigation path SAP Business Suite Next navigation step SAP Fiori for SAP Business Suite Next navigation step SAP Fiori Products Next navigation step SAP Fiori End of the navigation path.

For information about running the portal and the launchpad from the same sub-domain, see 2057847 Information published on SAP site.

Procedure

  1. Check whether the portal and the back-end system are set up with SSL. If they are, set up the SAP Web Dispatcher with SSL.
  2. Create a portal system object to connect to the SAP Web Dispatcher.
  3. In the SAP Web Dispatcher profile file, create a definition to an action file to redirect HTTP requests by adding an <icm/HTTP/mod_<xx> > parameter such as:
    icm/HTTP/mod_0 = PREFIX=/,FILE=C:\usr\sap\<SID>\SYS\profile\redirect.txt
  4. In the SAP Web Dispatcher profile file, add a line defining the SRCSRV port.
  5. In the SAP Web Dispatcher profile file, add the following:
    wdisp/system_<next available system number (in the profile file)> = SID=<systemID>>, MSHOST=<<gateway_server>>, MSPORT=<<gateway_server_port>, SRCSRV=*:<SRCSRV port number>, SRCURL=/sap/opu/;/sap/bc/;/sap/public/bc/
    wdisp/system_<next available system number (in the profile file) + 1> = SID=TST, EXTSRV=<portal_server>:<portal_server_port>, SRCSRV=*:<SRCSRV port number>, SRCURL=/irj/;/
    
    Note

    The wdisp line referring to portal_server must appear last in the # Port definition section in the SAP Web Dispatcher profile file.

  6. In the SAP Web Dispatcher redirect.txt file you created previously, add the following:
    if %{SERVER_PORT} = <port> [AND]
    if %{PATH} regimatch ^/sap/es/ina [AND]
    if %{QUERY_STRING} !regimatch sap-client=
    begin
    SetHeader sap-client <HANA search client>
    NOP [break]
    end
    
    if %{SERVER_PORT} = <SRCSRV port number> [AND]
    if %{QUERY_STRING} !regimatch sap-client=
    SetHeader sap-client <Fiori launchpad ABAP client>
    
  7. Restart the SAP Web Dispatcher.
  8. Test your connection to the backend by replacing the gateway server and gateway server port in the address bar of your Web browser with the SAP Web Dispatcher server name and the SVCSRV port.
    https://WebDispatcher:<SRCSRV port number>/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-client=<Fiori launchpad ABAP client>
  9. Test your connection to the portal by replacing <portal_server><portal_server_port> in the address bar of your Web browser with the SAP Web Dispatcher server name and the SVCSRV port.
    https://WebDispatcher:<SRCSRV port number>/irj/portal
  10. Configure trust from the portal system to the back-end system:
    1. Create a system object to connect the portal to the back-end system.
    2. For the system object you created in the previous step, configure trust from the portal system to the back-end system.