2014 Jul 16 1:59 PM
Hi,
In a loop I am having 250 record ( eg : yr 2005/02 to 2013/08 ) .I am getting error in the year 2013 ( from 2013/01 to 2013/08) . Only from 2013 i need to debug instead going all the 200 records. How can i debug only the selected record(2013) in my loop while debugging.
2014 Jul 16 2:22 PM
Hi Meenakshi,
Use watch point, with the free condition, date(4) = '2013'.
Press enter. Then F8, each time when the condition satisfies the control will stop at the particular line.
Or, suppose you want to set this condition for a break point... follow this..
Regards
Sreekanth
2014 Jul 16 2:04 PM
Hi
Set a watchpoint for year (I don't know the name of the variable) = 2013
Max
2014 Jul 16 2:07 PM
2014 Jul 16 2:10 PM
Hi Meenakshi,
You can create a watch point for variable SY-TABIX for respective internal table.
Cheers,
Varun Sahu
2014 Jul 16 2:22 PM
Hi Meenakshi,
Use watch point, with the free condition, date(4) = '2013'.
Press enter. Then F8, each time when the condition satisfies the control will stop at the particular line.
Or, suppose you want to set this condition for a break point... follow this..
Regards
Sreekanth
2014 Jul 16 2:33 PM
Hello,
Once you set Breaking Point inside a loop. Go to Break./Watchpoints tab , enter the number of iterations in Skip column section for which control should not halt.
Now control will directly jump to next one(Skip + 1) and halt there once you press F8.
2014 Jul 16 2:44 PM
HI Meenakshi,
The way sreekanth told is correct please try in same manner.
2014 Jul 16 9:40 PM
HI,
If you know the number of entries before the line desired in internal table, you can skip those number of lines by going to break/watchpoint tab and keep a breakpoint inside your loop. So it stops for the iteration skipping the number of line mentioned.
If you do not know the number of lines before your desired line, create a watch point with condition where you can specify a value for a variable and cotrol will be stopped once that variable is populated with the value specified.