One or more SAProuters can be used. The following example shows how a server program can work with two SAProuters using the registering feature:
Entry in the route permission table of SAProuter on host_r1 in Network_1:
P |
host_11 |
host_r2 |
3299 |
Entry in the route permission table of SAProuter on host_r2 in Network_2:
P |
host_r1 |
host_21 |
sapgw<GW service number> |
The host name of the SAP gateway must contain the route string. For the example above, the RFC server must set the host name of the SAP gateway as follows: GW-Name: /H/host_r1/H/host_r2/H/host_21
The delivered RFC server program srfctest.c can be started at the command line as follows: srfcserv -ahost_11.srfcserv -g/H/host_r1/H/host_r2/H/host_21 -xsapgw<GW serv.-nr.>
A destination in transaction sm59 can be defined as follows:
Connection type: |
T |
Activate type: |
Registering |
Program-ID: |
host_11.srfcserv |
Gateway host: |
host_21 |
Gateway service: |
sapgw<GW service number> |