Using the Registering Feature
One or more SAProuters can be used. The following example shows how a server program can work with two SAProuters using the registering feature:
Route Permission Tables
|
P |
host_11 |
host_r2 |
3299 |
|
P |
host_r1 |
host_21 |
sapgw<GW service number> |
The host name of the Gateway must contain the route string. For the example above, the RFC server must set the host name of the 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> |