‎2011 Sep 28 1:10 PM
Hi All,
I am facing a peculiar issue. When i execute the report from SE38 i am getting a particular set of values in a alv report.
But if i start debugging the report by using /h and execute . i am getting another set of result. How does it happen any idea.
Without debugger result is
a
b
c
With debugger i am getting result as
a
d
e
f
What may be the reason . Kindly help.
Thanks in advance.
S.Velsankar
‎2011 Sep 28 1:55 PM
In debugger COMMIT is triggered after every line. So if you are trying to update DB and based on that you are trying to display then you can get different values. If it is a stand alone report this sort of problem should not occur.
‎2011 Sep 28 1:13 PM
Hi,
you mean you have'nt change anything while debugging and results are different when ALV is displayed?
I don't really understand your issue... Could you give more details?
Kr,
m.
‎2011 Sep 28 1:15 PM
Hi,
Yes i havent changed any values in debugger. but the value changes can you help
‎2011 Sep 28 1:30 PM
From where come those values? Are you retrieveing them from DB? Are you trying to update a DB somewhere in the process?
Can you just give details about the process?
The first thing I would think of is a COMMIT issue while debugging...
Kr,
m.
‎2011 Sep 28 1:55 PM
In debugger COMMIT is triggered after every line. So if you are trying to update DB and based on that you are trying to display then you can get different values. If it is a stand alone report this sort of problem should not occur.
‎2011 Sep 28 3:16 PM
Closing the ticket. I used Goto statement in the debugger i think the problem is because of that