Skip to Content
author's profile photo Former Member
Former Member

debugging user exit

Hi all,

could anybody of you tell me how can I debug a user exit?

Thanks much,

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 02, 2006 at 03:01 PM

    Make sure that you have activated your project in cmod for the user exit.

    then you can place a break point in the user exit.(You can see a red button on the application toolbar )in the user exit include.

    Run the transaction in which the user exit is triggered from.

    It will stop at the braek point.

    Regards,

    ravi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2006 at 04:38 AM

    Hi !

    It depends if it is a "Dialog" Userexit or a "Updatetask" Userexit.

    If it is "dialog" you could set an break-point or put a break-point in your code. It will stop then !

    If it is "updatetask" you could check out this:

    put this into your code:

    BREAK-POINT log_text.

    where log_text has to be defined as log_text(40) type c.

    put anything you want to see into log_text.

    Then execute your program.

    After that - go to the SM21. There should now be an entry like "BREAK-POINT"....reached...

    That indicates that it is a updatetask-userexit.

    You may debug it as any other updatetask-module (see online-help for that.

    If there is no entry in your SM21 it is an indication that your userexit was not called.

    Regards

    Rainer

    Some points would be fine if that helped a bit.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.