‎2005 Jun 09 9:30 PM
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
‎2005 Jun 09 9: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
‎2005 Jun 09 9: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
‎2005 Jun 09 9:52 PM
hi mano,
I know this...
but how can i go to debug mode, because it's a module pool program, i can't run from here, u know that...
In which way i can go to debug mode and see the values.....
Yad.
‎2005 Jun 09 11:56 PM
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
‎2005 Jun 10 6: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
‎2005 Jun 10 7:32 AM
Hi,
Place a break point in ur code and run the transaction code attached to the module pool program.
Rehan
‎2005 Jun 10 7: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.
‎2005 Jun 10 7: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