Configuring SAP Web Dispatcher

The following is to give you an example of how to configure your Web Dispatcher.

  • 1 SAP Web Dispatcher as proxy to map in and outgoing requests for different systems
  • 1 SAP Gateway server (optional if using external gateway)
  • 1 Front-end system

In the example below SAP Web Dispatcher listens at port 443 and transfers:

  • all requests which start with /sap/opu/odata/ to the Gateway system
  • all requests which start with /sap/public/bc or /sap/bc to the front-end system

For more information on SAP Web Dispatcher, see http://help.sap.com/nw_platform. Select a release. Under Application Help, open Function-Oriented View and choose Start of the navigation pathApplication Server Next navigation step Application Server Infrastructure Next navigation step SAP Web DispatcherEnd of the navigation path.

Configuration Settings for SAP Web Dispatcher

When configuring the SAP Web Dispatcher define the example values below according to your requirements. To implement your configuration you can copy the source code below and adapt it according to your business requirements.

#https settings 
ssl/ssl_lib = <sapcrypto dll> 
ssl/server_pse = <pse> 
icm/HTTPS/verify_client = 0 
ssl/client_pse = <pse> 
wdisp/ssl_encrypt = 1 
wdisp/ssl_auth = 2 
wdisp/ssl_cred = <pse> 
wdisp/ssl_certhost = <host name> 
icm/HTTPS/forward_ccert_as_header = true
  
# SAP Web Dispatcher Ports 
icm/server_port_0 = PROT=HTTPS,PORT=443,TIMEOUT=120  

wdisp/system_conflict_resolution = 1 
wdisp/add_clientprotocol_header = 1 
wdisp/handle_webdisp_ap_header = 1 
wdisp/add_xforwardedfor_header = true 
 
# Configuration for Gateway Server(For example, SAP Business Suite on HANA): 
wdisp/system_0 = SID=<GW SID>, MSHOST=<GW MSHOST>, MSPORT=<GW MSPORT>, SRCSRV=*:443, SRCURL=/sap/opu/odata/  

# Configuration for Front-End Server: 
wdisp/system_1 = SID=<FE SID>, MSHOST=<FE MSHOST>, MSPORT=<FE MSPORT>, SRCSRV=*:433, SRCURL=/sap/public/bc/;/sap/bc/


The table explains the example values used in the source code above:
Variable Description Example Value
<sapcrypto dll> Installation path C:\sapwebdisp\sapcrypto.dll
<pse> Folder for PSE file C:\sapwebdisp\sec\PSE_UI2.pse
<host name> Fully qualified host name of dispatcher mydispatcher.example.com
<GW SID> Gateway SID ABC
<GW MSHOST> Gateway message server host name abc.example.com
<GW MSPORT> Gateway message server port 8120
<FE SID> Front-end SID DEF
<FE MSHOST> Front-end message server host name def.example.com
<FE MSPORT Front-end message server port 8131