Day 20: RFC and Connectivity
Troubleshooting
SAP BASIS Training - Recap &
Advanced Topics
Objectives
Understand Remote Function Call (RFC) in SAP
Diagnose connectivity and communication issues
Use tools like SM59, ST22, and SU53 for tracing
RFC in SAP
RFC allows systems to communicate and call functions remotely
Types: ABAP RFC, External RFC (TCP/IP), HTTP connections
Used in ALE, IDoc, PI, background jobs, etc.
SM59 - RFC Destination Setup
• SM59 used to define RFC destinations
• Connection types: 3 (ABAP), T (TCP/IP), G (HTTP), etc.
• Test connection and authorization check
• Maintain proper logon credentials
Common RFC Issues and Tools
SM59 error: Host not reachable, Auth failed, Timeout
Use SU53 to check last failed authorization
ST22: Analyze dumps caused by RFC errors
SMGW: Gateway monitor for external connections
Trusted RFC and Secure Access
Configure trusted/trusting systems for SSO and background RFC
Reduces need for password entry
Must maintain matching user IDs
Use STRUST for certificates if using secure RFC
Summary - Day 20
RFC is essential for system communication
SM59 and SMGW are key tools for setup and monitoring
Use SU53 and ST22 for troubleshooting connection issues