Debugging Part 3: External Breakpoints — Why They Are Not Hit
Preview · a free account unlocks the full lesson
Use external (user) breakpoints for calls that don't run in your session — RFC, HTTP/OData/Fiori, background — and fix the typical reasons they are not hit: wrong user, wrong server/instance, expired validity, breakpoint set in a different system/client, code path not reached, or debugging not allowed (authorization, system settings).
In this lessonShow sectionsHide sections
Visual overview
Explanation
Part 2 relied on session breakpoints, but for Fiori, OData, RFC, and many other interfaces, the code you need to debug runs outside your own GUI session entirely, which is where external breakpoints come in. A session breakpoint only works within your current logon session in SAP GUI, while an external breakpoint applies to a specific user — either you or whichever user is configured as the debug user — across any session, including RFC and HTTP requests, for a limited validity period that defaults to two hours.
The critical point is that the breakpoint must be set for the user who actually executes the request, which is often not your own user — it might be a Fiori user or an RFC communication user instead.
To set one in SE38 or SE80, go to Utilities → Settings → ABAP Editor → Debugging and specify the user for external breakpoints, then mark the breakpoint itself as "external" (shown as a red stop sign with a person icon). In ADT (Eclipse), breakpoints are external by default, and you configure the debug user in the project settings.
SAP GUI will show you the breakpoint's expiry, and you'll need to renew it once that time passes.
Create a free account to keep reading
You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.
- Full explanation
- Code example
- Real project scenario
- Common mistakes
- Best practices
- Interview angle
One tap with Google works too. Every topic keeps its first lesson open to everyone.
Keep exploring
Referenced SAP objects
Reviewed reference pages for the objects this page mentions.
Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.