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: 

Program Help

Former Member
0 Kudos
118

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.

1 ACCEPTED SOLUTION

former_member191735
Active Contributor
0 Kudos
96

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

6 REPLIES 6

amit_khare
Active Contributor
0 Kudos
96

Search forum for debugging techniques.

former_member191735
Active Contributor
0 Kudos
97

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

Former Member
0 Kudos
96

I tried that but it keeps giving me * for the variable I declared when it should give me the date in the debugging mode.

0 Kudos
96

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.

nkr1shna
Contributor
0 Kudos
96

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

Former Member
0 Kudos
96

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