Ansicht
Dokumentation

ABENRFC_LOGON - RFC LOGON

ABENRFC_LOGON - RFC LOGON

TXBHW - Original Tax Base Amount in Local Currency   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

RFC Logon to Target System (Remote Logon)

An RFC logon in the same AS ABAP with the same user ID is successful 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 communication with multiple clients or user IDs requires that password is entered in the password field of the user in question.

If one of the fields language, client, or user is not filled at the specified RFC destination, a default value is taken from the system environment (system table).

Notes:

  • The logon fields do not need to be filled in RFC communication in the same AS ABAP with the same client and user. The password also does not need to be entered in this special case.
  • If an RFC logon fails in online mode, an RFC logon window is provided (but not in background processing), which makes an online logon in the target system possible at runtime.
The defaults in the fields on the RFC logon screen are as follows:
  • Client

A default client of the target application server is used. Here, 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 RFC destination, the current language of the calling system is used.
The RFC logon window does not appear if the first call of the function module to the RFC destination originates from the system-specific function pool 'SRFC'. This function pool includes, among others, the function modules RFC_PING and RFC_SYSTEM_INFO.
If an RFC logon window is required anyway, RFC communication to the RFC destination in question must be closed after this call using the function module RFC_CONNECTION_CLOSE.
It should also be noted that no logon window is provided when using trusted/trusting systems.
Documentation on authorization checks in the RFC environment can be found in RFC Authorization Concept.






Fill RESBD Structure from EBP Component Structure   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 3444 Date: 20240420 Time: 153553     sap01-206 ( 43 ms )