In the operating system, create read and write authorizations for the directories used.
In outbound processing these are the directories from the port definition, and the authorizations apply to the owner of the SAP Gateway processes, usually the SAP system administrator.
If the SAP Gateway runs on the same machine as the external system, you do not need to perform the subsequent steps.
If the SAP Gateway and the external system run on different machines, they must allow access to one another. With Unix operating systems, this is done via an entry in the .rhosts
files.
Then test the remote shell
function.
The RFC access is based on this function.
Example
The external system runs on the machine "marvin". The SAP System C11 with the gateway runs on the machine "arthur". Both machines run under Unix. "C11adm" is the Unix user, to which the gateway process belongs.
You also configure "C11adm" of "marvin" as the user, with the home directory /usr/sap/C11/home. Both home directories must contain a 'rhosts' file with the following content:
Content of ".rhosts" on "marvin" in ~C11adm |
arthur |
Content of ".rhosts" on "arthur" in ~C11adm |
marvin |
Both files must belong to user 'C11adm' and have read and write authorizations.
The entries 'marvin' and 'arthur' in the /etc/hosts files must be identical on both machines.
You test the remote shell
function with the following entries:
Machine |
Input |
Output |
marvin |
rsh arthur hostname (or remsh arthur hostname) |
arthur |
arthur |
rsh marvin hostname (or remsh marvin hostname) |
marvin |