report .
data: i type c .
data : begin of it_data occurs 0,
data(10),
end of it_data.
it_data-data = 'ABC'.
append it_data.
it_data-data = 'ABC1'.
append it_data.
it_data-data = 'ABC2'.
append it_data.
it_data-data = 'ABC3'.
append it_data.
it_data-data = 'ABC4'.
append it_data.
it_data-data = 'ABC5'.
append it_data.
it_data-data = 'ABC6'.
append it_data.
it_data-data = 'ABC7'.
append it_data.
it_data-data = 'ABC8'.
append it_data.
it_data-data = 'ABC9'.
append it_data.
it_data-data = 'ABC0'.
append it_data.
it_data-data = 'ABC11'.
append it_data.
it_data-data = 'ABC12'.
append it_data.
it_data-data = 'ABC22'.
append it_data.
loop at it_data.
i = i + 1.
case i.
when 1.
write:/ it_data-data color 1 .
when 2.
write:/ it_data-data color 2 .
when 3.
write:/ it_data-data color 3 .
when 4.
write:/ it_data-data color 4 .
when 5.
write:/ it_data-data color 5 .
when 6.
write:/ it_data-data color 6 .
when 7.
write:/ it_data-data color 7 .
clear : i.
endcAse.
endloop .
No comments:
Post a Comment