Skip to content
SAP transaction · Basis

SM59: RFC Destinations (Display/Maintain)

SM59 maintains RFC destinations: the connections an SAP system uses to call other SAP and non-SAP systems, including target host, client, logon user, stored password and trust settings. It also tests connections and remote logons, so it controls how far access in one system reaches into others.

Authorization objects checked by SM59

S_TCODE
Checked when the transaction starts: the user must hold the transaction code.
S_RFC_ADM
Maintaining RFC destinations by destination name, connection type and activity.

Checks vary by release and by the functions used. Confirm them in your system with SU24 and an authorization trace (STAUTHTRACE or ST01).

Why SM59 is sensitive

Rinexis risk ratingCritical

A destination with stored credentials of a powerful technical user lets anyone who can use it act in the target system with that user's rights. A trusted destination lets the calling user log on with their own ID and no password, controlled in the target by S_RFCACL.

Changing a destination's host or user silently redirects interfaces. Treat SM59 change access as Basis-only, and review destinations for stored dialog users and over-privileged technical users.

RFC destination administration is a critical action in most rulesets.

SM59 FAQ

What is transaction SM59 in SAP?

SM59 maintains RFC destinations: the connections an SAP system uses to call other SAP and non-SAP systems, including target host, client, logon user, stored password and trust settings. It also tests connections and remote logons, so it controls how far access in one system reaches into others.

Which authorization objects does SM59 check?

Starting SM59 requires S_TCODE with value SM59. Inside the transaction, the key objects are S_RFC_ADM. The exact checks depend on the functions used and the release, so confirm them with an authorization trace (STAUTHTRACE or ST01) in your own system.

Is SM59 a sensitive transaction?

Rinexis rates SM59 as critical risk in a production system. A destination with stored credentials of a powerful technical user lets anyone who can use it act in the target system with that user's rights. A trusted destination lets the calling user log on with their own ID and no password, controlled in the target by S_RFCACL.

All SAP transactions in the library