05-13-2022 9:46 PM
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?
05-13-2022 10:04 PM
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.
05-14-2022 10:02 AM
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.