RFC Logon to Target System (Remote Logon)
An RFC logon in the same ABAP system with the same user ID is performed successfully even if the clients are different.
In principle, RFC logons to to the target system use the logon-data of the RFC destination (language, user, client and password).
RFC communications with multiple clients or user IDs demand to enter the password in the password field of the respective user.
If one of the fields language, client or user is not filled at the specified RFC destination, then a default value is taken from the system environment (system table).
Note:
- You do not have to fill the logon fields when performing an RFC communication within the same ABAP system with the same client and user. You also do not need to specify the password in this special case.
- If an RFC logon fails in online-mode, then an RFC logon window is offered (not with
background processing), by which you can logon online to the target system during the runtime.
The preassignment of the fields on the RFC logon screen is as follows:
- client
A standard client of the target application server is used. For this purpose, the value of the
profile parameter "login/system_client" of the target server is evaluated.
- user
The user field is filled with the current user of the calling system.
- language
The information from the RFC destination is used for the language field. If the language field is not filled in the
destination, then the current language of the calling system is used.
-
The RFC logon window does not come up if the first call of the function module to the
RFC destination originates from the system-specific function group 'SRFC'. This function group covers ,among others, the function modules RFC_PING and RFC_SYSTEM_INFO.
-
If you want to receive a RFC logon window anyway, you have to close the RFC communication to the the respective RFC destination after that call via function module 'RFC_CONNECTION_CLOSE'.
-
Please also note, that when you use Trusted/Trusting Systems, there is no logon window offered on principle.
-
You can find documentation on the topic "authorization check in an RFC environment" in RFC authorization concept.