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

Debugging module pool program

hi guys,

how to debug module pool program.

I have written one user exit in this module pool program, i want to check the value.i don't know the screen number and program name where it is going to effect'?

actually i am validating in this userexit...

anybody knows this....

thanks in advance,

Yad

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 09, 2005 at 08:42 PM

    Hi,

    put break user-id.(user login name)

    in the user exist , it will stop there any you can check the rest .

    Rgds,

    Mano Sri

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi ,

      Could you please expalin it little more , what exactly you are doign.

      Waht is the exsit you are using, which is the Transaction you are implementing the enhancment ?

      I can try to assist you if can answer with more details.

      One quick solution is to use ws_download to get the values in to a file on to your PC .

      Still i would be good if you can provide more details, i am not able to imagine what exctly you are soing.

      Rgdds,

      Mano Sri

  • author's profile photo Former Member
    Former Member
    Posted on Jun 10, 2005 at 05:49 AM

    Hi,

    Make use of the following code to debug the program where you cant call the debugger, you just have to copy the code in a notepad, save it in your hard disk and this file can be dragged & dropped to the destination where you would like to switch on the debugger, it will automatically start the debugger, hope this helps. Get back for any clarifications.

    [FUNCTION]

    Command=/H

    Title=Debugger

    Type=SystemCommand

    Rgds

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 10, 2005 at 06:32 AM

    Hi,

    Place a break point in ur code and run the transaction code attached to the module pool program.

    Rehan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 10, 2005 at 06:33 AM

    Hi Yad,

    There must be a tcode for the program., execute the transaction and give /h in the command line. You can check the value for the field by giving the field name in the watch point , and press function f8 button. It takes you to the field given in the watch point. From there it is easy to proceed... Let me know if you have any specific doubts.

    Regards,

    Padma.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 10, 2005 at 06:45 AM

    Hi Yad,

    There is a very convenient way of debugging anything in SAP.In the SAP easy access screen choose the icon which denotes the 'Generated a Shortcut on the Desktop'.In the resulting window that appears choose the part where the 'Application' Details are present.Change the TYPE to SYSTEM COMMAND and enter the COMMAND as /H and give some title for e.g 'MYDEBUGGER'.Click on O.K and a shortcut will be placed on your desktop with the title that you have given.Anyplace and anywhere on the SAP screen if you wish to debug just drag the shortcut from ur desktop on to the screen.This is very helpful and would help u to understand the debugging process.

    As far as your present scenario is considered put a breakpoint in the user-exit.If your user-exit is getting triggered then the breakpoint will automatically put you into the debugging screen.There is always a way to debug anything.Hope this helps.

    Cheers

    Nishanth

    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.