On Debugging Planning Macros
Lately I have been dealing with some planning macros. I am a newbie with these macros but I have a lot of experience with ABAP debugging. That's why I was quite happy with the following trick that allows ABAP debugging of planning macros.
In the macro builder, for a given macro just put the command ADVA in the command window.
It will jump to the ABAP source generated for the macro.
It is a big source file so it may be hard to find the right section to place the breakpoint. I found it helpful to set a stop point in the macro in the step I want to debug.
Then I search the code for PERFORM RESULTS_SHOW.
That's it.
In the macro builder, for a given macro just put the command ADVA in the command window.
It will jump to the ABAP source generated for the macro.
It is a big source file so it may be hard to find the right section to place the breakpoint. I found it helpful to set a stop point in the macro in the step I want to debug.
Then I search the code for PERFORM RESULTS_SHOW.
That's it.
1 Comments:
Hi Pedro,
This post doesn't cover debugging a BADI MACRO. It only covers MACRO debugging. Correct ?
Babu Kilari
Post a Comment
<< Home