hi frnds...
data: begin of itab occurs 0,
name(14) type i,
sal(8) type n,
end of itab.
itab-name = 'xxx'.
itab-sal = '20000'.
itab-name = 'yyy'.
itab-sal = '40000'.
*******header line value*****
write:/ itab-name,itab-sal.
append itab.
loop at itab1.
write:/ itab-name,itab-sal.
endloop.
this is my logic
iam getting out put like dis..
yyy 40000
yyy 40000
but iam not getting my req output..
req out put shld be like dis::::
header line value
yyy 40000
body value
xxx 20000
yyy 40000
please reply with the correct logic and axplanation where i went wrong..
thanx in adv