2009 Jan 05 9:02 PM
Hello All and Happy New Year,
I am trying to write a program in SE38. I would like to know how to debug it? I set the breakpoint already, what do I do now? How do I know the values that my variables that I defined in the program holding?
Please let me know,
Thanks,
Syed.
2009 Jan 05 9:16 PM
Run your program to stop at breakpoint. if you double click on the variable or internal table, you will be able to see the values
2009 Jan 05 9:13 PM
2009 Jan 05 9:16 PM
Run your program to stop at breakpoint. if you double click on the variable or internal table, you will be able to see the values
2009 Jan 05 9:19 PM
I tried that but it keeps giving me * for the variable I declared when it should give me the date in the debugging mode.
2009 Jan 05 10:35 PM
Check out the variable decleration. if you can post the code here. We can help better. if not and if it is in loop and if you are using any 'AT' statements - the values will be * after the AT statement variable.
2009 Jan 05 10:14 PM
Hi Syed,
Please type the name of the variabe in the debugging window which gives you the current value of the
variabe. If your variable is changing you can set break point from where you want to track the vaules
in the variabe.
Best REgards,
Krishna
2009 Jan 06 4:08 AM
Hi,
First execute your report, it will stop automatically at the place where you have placed the break point.
Switch to the classical Debugger mode Debugging-> switch to classic debugger
To check the value of the variable,simply double click on the variable, in the below window if it a valid variable its value is displayed in the field Content along with the field names in the left.
Use F5 to execute the report step by step,
F6 to execute the loop
F7 to return back from the calling and F8 to run the report.
To view the data in the table simply click on TABLE tab at the top window and write tablename[], it will display the content in the below window.
Its hard to explain each and individual step in details over here, Better serach the forum or the net for good documentation reagrding the Debugging,And more you practice yourself more you'll able to learn.
I hope basic requirement is clear in the above details provided.
Pooja