Gateway errors
SAP Gateway errors affect RFC communication and, in the OData sense, Fiori apps. This page covers diagnosing both kinds of gateway problem.
Secure the RFC gateway (reg_info/sec_info) against rogue programs, and for Fiori ensure services are activated and roles grant backend authorization.
- RFC-registered programs fail to connect, or a Fiori app shows a "service" error / no data.
- For RFC gateway: check the gateway logs and security (reg_info/sec_info) and SM59.
- RFC gateway, blocked/registered program (security files), connectivity.
- Watch out: Guessing instead of reading the log/dump.
Symptom
RFC-registered programs fail to connect, or a Fiori app shows a "service" error / no data.
Start here: read the evidence
For RFC gateway: check the gateway logs and security (reg_info/sec_info) and SM59. For OData gateway (Fiori): check the service is active (/IWFND/MAINT_SERVICE) and the gateway error log (/IWFND/ERROR_LOG), which shows why a service call failed.
Likely causes, in order
- RFC gateway, blocked/registered program (security files), connectivity.
- OData service not active, Fiori app cannot load data.
- Backend authorization, the service call is forbidden (403).
- Routing, embedded vs hub misconfiguration.
How to fix it
- For Fiori: activate the OData service and read /IWFND/ERROR_LOG.
- For RFC: check gateway security files and SM59.
- Grant missing backend authorization for the service.
- Re-test the app or RFC connection.
Preventing recurrence
Secure the RFC gateway (reg_info/sec_info) against rogue programs, and for Fiori ensure services are activated and roles grant backend authorization. The gateway error log is the fast path to the cause of most Fiori data issues.
Common pitfalls
- Guessing instead of reading the log/dump.
- Fixing the symptom, not the root cause.
- Changing several things at once.