2011 May 06 6:17 AM
Hi experts,
when I'm debugging because of an error-message I always set a Watchpoint on sy-msgno = the number in the e-message to stop automaticly at the point in code where the error occurs.
Now the question: I have to debug frequently any problems in system and often the reason is a modification or an programming-error in an user-exit. The problem is always to FIND this modifications or user-exits.
In debugger I tried to set a breakpoint when report = "Z" or Function = "Exit" - but the "*" is not allowed there. Does anybody know a trick/gimmick to find and stop at ANY DIFFERING POINTS FROM STANDARD when debugging?
Thanks and regards,
Daniel
Edited by: dmueller87 on May 6, 2011 7:17 AM
2011 May 06 8:20 AM
Hi,
For CMOD enabled enhancements (function module exits),you could try setting the break point using Breakpoints>Breakpoint at>Breakpoint at statement and use CALL CUSTOMER-function in the ABAP command tab (in new debugger).
Hope this helps.
Regards,
Shyam
2011 May 06 8:20 AM
Hi,
For CMOD enabled enhancements (function module exits),you could try setting the break point using Breakpoints>Breakpoint at>Breakpoint at statement and use CALL CUSTOMER-function in the ABAP command tab (in new debugger).
Hope this helps.
Regards,
Shyam
2011 May 06 9:55 AM
Hi Daniel,
find and stop at ANY DIFFERING POINTS FROM STANDARD when debugging?
If i understand the above correctly, you want to know if there is a feature in debugger which will automatically stop as soon as it enters code lines which are customer written(like user exits, customer exits, BADIs, modifications etc) - I do not think the above is possible using any of the tools/features available in the debugger, however for any future custom developments or any changes in your existing custom enhancements you could look at the possibility of leveraging "CHECKPOINTS".
Please go through the link below,
Link: [http://help.sap.com/saphelp_nw70ehp1/helpdata/en/aa/44b441af133431e10000000a155106/frameset.htm]
You can activate/deactivate them for users and servers in real time using Tcode: SAAB.
Regards,
Chen
2011 May 06 10:22 AM
Hi Chen,
yes you understood me - this is what I'am looking for.
Hi Shyam,
thanks for this answer, this helps for User exits.
new idee from me: Does anybody know the name of the table which contails all MODIFIED objects?
Thanks and regards,
Daniel
2011 May 06 10:23 AM