Hello SAP Experts,
An authority check for object S_RFCACL (expected to be assigned to the user in the target system) is performed in the target system while performing an RFC or HTTP communication between two ABAP systems using "Trusted System" for authentication.
The authorization checks fail because of insufficient authorization the "Trusted System" login attempt also fails.
An error message "You are not authorised to logon to the target system (error code 0)." is returned from caller side.
But in the target system, the Security Audit Logs shows successful login. Also, the login timestamp gets updated in the target system indicating a successful login.