2008 Feb 12 9:47 PM
Hi,
How can i make the total of net value auart.
i hve tried in this way...Can someone suggest me the suitable way.
sort itab by auart.
loop at itab.
at end of auart.
sum.
write : /5 itab-vbeln, 15 itab-posnr,25 itab-auart ,
30 itab-matnr,35 itab-zmeng,40 itab-zieme
, 45 itab-netwr,50 itab-waerk.
endat.
endloop.
Hi,
How can i make the total of net value auart.
i hve tried in this way...Can someone suggest me the suitable way.
sort itab by auart.
loop at itab.
at end of auart.
sum.
write : /5 itab-vbeln, 15 itab-posnr,25 itab-auart ,
30 itab-matnr,35 itab-zmeng,40 itab-zieme
, 45 itab-netwr,50 itab-waerk.
endat.
endloop.
2008 Feb 13 3:11 AM
2008 Feb 13 5:14 AM
Hi,
At the output,on the bottom of netwr..i should get this ' total of net value is ______'..how can i do this ?
pls guide me.
STALIN
2008 Feb 13 3:19 AM
Hi Stalin,
You are correct.. then what is the Issue..?
Thanks,
Murali
2008 Feb 13 3:50 AM
Your Internal table should in sorted way of fields arranged .
data : Begin of Itab occurs 0,
vbeln,
auart ,
posnr,
matnr,
zmeng,
zieme
netwr,
waerk
end of itab .
Reward points if it is usefull..
Girisih
2008 Feb 13 5:25 AM
U can write like this
WRITE: / 'TOTAL NET VALUE IS....', ITAB-FIELDNAME.
REWARD IF USEFUL
2008 Feb 13 5:31 AM
sort itab by auart.
loop at itab.
at end of auart.
sum.
write : /5 'Total', 45 itab-netwr.
endat.
endloop.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |