Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Debugging break-point at a Statement

azeemsap9
Explorer
0 Kudos

Hi ABAPers,

This is Azeemudin, SAP SD functional consultant with over 6 years of Experience.

I am learning SAP ABAP.

My question is in Debugging when we go for a Break-Point at a Statement?

2 REPLIES 2

abo
Active Contributor
0 Kudos

If you're asking what would one use this feature for, one possible scenario is this: you have an error message and you'd like to find the place in the source code where it is triggered, yet a direct where-used search from the message class itself comes up blank; in this case, one could set up a breakpoint at "message" and check all the messages coming up. There are certainly more refined ways to go about it but this should give you an idea.

Sandra_Rossi
Active Contributor
0 Kudos

If you don't understand the reason of a given authority check, you may add a break-point at AUTHORITY-CHECK.

But there are lots of other situations, like you know that somewhere the program stores data in the ABAP memory, so you look for all executions of EXPORT TO MEMORY.

Or you want to see all Update Function Modules, so you add a break-point at COMMIT WORK.

Etc.

Of course, you need to know ABAP well.