SAP router and SAPNet-R/3 Front-end: Windows
- Create the saprouter subdirectory in the <drive>:\usr\sap directory.
- Download the latest version of the SAProuter from SAP Service Marketplace. Read the README file in this package. Copy the executables saprouter.exe and niping.exe to the directory you have just created.
- If SAProuter has already been entered as a service with srvany.exe, remove the definition of the service from the Registry and restart the host. Define the service with the following command:
ntscmgr install SAProuter -b \usr\sap\saprouter\saprouter.exe -p "service -r <parameter>".
- Define the general attributes of the service: Set the startup type to automatic and enter a user. SAProuter should not run under System Account.
- To avoid the error message, "The description for Event ID (0)", in the Windows event log, you must enter the following in the registry:
Under HKEY_LOCAL_MACHINE → SYSTEM → CurrentControlSet → Services → Eventlog → Application,
create the saprouter key and define the following values under it:
EventMessageFile (REG_SZ): ....\saprouter\sapevents.dll TypesSupported (REG_DWORD): 0x7
Important: These adjustments are not obligatory to run SAProuter on Windows. They serve only to provide detailed error messages in the event log.
- Maintain the route permission table in the Windows system32 directory. If you want to keep it in another directory or under a name other than saprouttab, you must specify this with the SAProuter option, -R (see Option -R <routtab>).
SAP router and SAPNet-R/3 Frontend: Unix
- Create the saprouter subdirectory in the directory /usr/sap/.
- Get the latest version of the SAProuter from the SAP Service Marketplace (service.sap.com/patches), as described under Installation of the SAProuter. The SAProuter is in packet saprouter*.SAR; the program niping is also in this packet. Copy programs saprouter and niping to the newly created directory /usr/sap/saprouter.
- (Optional) If you want to start the SAProuter on the same computer used for an SAP instance, insert the following line into file /usr/sap/SID/SYS/exe/run/startsap:
# # Start saprouter # SRDIR=/usr/sap/saprouter if [ -f $SRDIR/saprouter ] ; then echo "\nStarting saprouter Daemon " | tee -a $LOGFILE echo "----------------------------" | tee -a $LOGFILE $SRDIR/saprouter -r -W 30000 -R $SRDIR/saprouttab \ | tee -a $LOGFILE & fi
- Maintain the route permission table in the /usr/sap/saprouter directory. If you want to keep it in another directory or under a name other than saprouttab, you must specify this with the SAProuter option, -R (see Option -R <routtab>).