Skip to Content
0
Former Member
Aug 01, 2007 at 07:17 PM

count problem

24 Views

Hi,

i am in do loop.Even though im clearing variable used for count , its still using the last value while counting next value.

do 2 times.

loop at itab.

program logic......

count1 = count1 + x.

endloop.

itab-count1 = count1.

clear count1.

enddo.

i am downloading internal table values to excel sheet .

for 1week if i have value 10

for 2week it should be 2 , but its showing 12.

thx.