formsdebuggingabapsapscript

How to debug the SAPScript forms printed in Update Tasks? (When break points in OPEN_FORM don't work)


I am trying to debug a SAPScript form that I would print from transaction MIRO.

If I turn SAPScript debugging on, the debugger does not get called.

If I put a breakpoint in function module OPEN_FORM it is never reached.

I would like to debug my form, if possible.

The logic behind what is going on is a little complex. I see a lot of "BAdI" names being used in the code, but I do not have any experience with those, and would not know where to start with this problem.

The form that I am trying to print can be found in transaction NACE,

If more info is required, please ask, I do not really know what info would be helpful in this case.

[EDIT]

Steps to reproduce:


Solution

  • Found it:

    When in the debugger, go to

    Settings > Change Debugger Profile / Settings

    In the dialog that appears, check the checkbox "Update debugging" (2nd from the top)

    Now the breakpoint placed in OPEN_FORM will break.