01-23-2021 9:14 PM
I am a SAP Functional Consultant learning ABAP Debugging.
I am familiar with ABAP Debugger Screen.
I can see the options to put a Breakpoint at a Statement, Function Module, Subroutine,Include etc...
My question is how will we come to know to put a Breakpoint at a Statement OR Function Module OR Subroutine OR Include.
01-23-2021 9:28 PM
For ABAP statements, by learning ABAP.
For procedures (function modules, subroutines, methods), by experience. For instance, if your step-by-step debugging brings you to a given general-purpose subroutine, in the future it will be faster to add a breakpoint directly at the beginning of this subroutine.
Etc.
01-24-2021 9:04 AM
Or do you mean where to put a breakpoint to get it to stop where you want to, as in "I want the debugger to launch when I click the Save button in transaction IW32, then where do I put my breakpoint"?
If so, if you have no idea at all, a quick answer for a SAP GUI scenario is to use the command /h in the command field (where you enter transaction codes). The next action in the GUI will then launch the debugger and from there you can step yourself forward and hopefully find what you're looking for...
01-24-2021 11:56 AM
In step by step Debugging ,how to check the program flow. I can see the options to check fields, structures,internal tables, database tables, breakpoint, watch points. But I don't know how to use them to check program flow.
01-24-2021 2:31 PM
01-24-2021 5:21 PM
01-24-2021 6:26 PM
Yes, though I'm still trying to figure out what OP is asking, I do provide possible solutions. The place for possible solutions are answers. Thanks, I appreciate you looking after the community sandra.rossi!