Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to find any customer-own changes / user-exits /mods when debugging?

Former Member
0 Kudos
375

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos
206

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

4 REPLIES 4

Former Member
0 Kudos
207

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

Former Member
0 Kudos
206

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

Former Member
0 Kudos
206

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

0 Kudos
206

Hi,

SMODILOG is the table.

Regards,

Chen