Basis / Integration · Intermediate · Configuration
How to configure an RFC destination in SAP (SM59)
Create a named ABAP-to-ABAP connection for approved remote function calls and integrations.
- APPLICABILITY
- ECC / S/4HANA on-premise or Private Edition
- TOOLS / TRANSACTIONS
- SM59
Your project assignment
Create an approved type 3 connection between two non-production ABAP systems for a narrow integration test.
Where to start: URLs and transactions
- SAP GUI
- SM59 → RFC Destinations
- Target connection
- Get system details from Basis
Prerequisites
- Target SID, client, host or message server details from Basis.
- Approved network path and least-privilege technical identity.
- Agree authentication and SNC requirements with security.
Configuration workflow
ABAP-to-ABAP RFC connection
All steps visible. Play or advance one stage at a time.
Hands-on implementation — step by step
Follow the screen navigation, replace example values with approved project values, and mark each step after checking its result. The screens below are original teaching aids, not live SAP screenshots. Progress is local to this visit.
- 1
SM59 → ABAP Connections → Create
Create a named destination and select connection type 3.
SM59 → ABAP Connections → CreateERPClimb · illustrative screen - RFC Destination
Z_QAS_ABAP (example)- Connection Type
3- Description
Approved QA integration
Expected result: Destination maintenance screen opens.
Why this matters: Type 3 is for ABAP systems, not HTTP endpoints.
- 2
Technical Settings
Enter the approved direct host and instance number, or select load balancing and maintain system ID, message server and group.
Technical SettingsERPClimb · illustrative screen - Load balancing
No (example direct connection)- Target host
qas.internal.example- System number
00 (example)
Expected result: Technical settings identify intended target.
Why this matters: Wrong host or instance reaches the wrong or unavailable system.
- 3
Logon & Security
Maintain client and security settings with Basis. Use an approved restricted identity and SNC where required.
Logon & SecurityERPClimb · illustrative screen - Client
200 (example)- User
Approved technical identity- Security
As specified by security team
Expected result: Destination saves with approved identity configuration.
Why this matters: Connection parameters and remote authorization are separate.
- 4
Connection Test / Authorization Test
Run the available tests. If permitted, test a harmless approved remote-enabled function through the actual application.
Connection Test / Authorization TestERPClimb · illustrative screen - Test
Connection Test- Follow-up
Authorization Test / permitted RFC call
Expected result: Network connection works and the intended remote call succeeds.
Why this matters: A connection test alone does not establish permission to call a specific function.
Project acceptance checklist
Use this checklist to prepare evidence for your project lead.
0 of 3 checks marked. This does not certify the SAP configuration.
Validate your configuration
- Connection test reaches the target.
- A permitted RFC call works with the configured identity.
Common errors and what to check
Connection test can succeed even when RFC function authorization fails.
Check client, network/gateway access, user status and SNC settings before resetting credentials.
More in the SAP Library
Need help with a configuration error? Open ERPClimb Copilot.
Technical references & further reading
Official documentation for technical verification, release compatibility and further study.