hi all, in the code below am getting a wrong o/p that o/p values are repeated,kindly check n plz help me...
loop at it_docu where awtyp = 'BKPF'.
select AUGBL
INTO TABLE IT1
from bseg
where bukrs = '1000'
and belnr = it_docu-docnr
and gjahr = it_docu-ac_gjahr.
endloop.
delete adjacent duplicates from it1 comparing augbl.
loop at IT1.
write :/ it1-augbl.
endloop.
every helpfull answers will be rewarded