‎2007 Aug 06 11:29 AM
Hi to exprts.
Doc no amt1 amt2
01 20 40
01 30 40
-
50 80
For that can I used this coding
At end of doc no.
Sum.
Writ : amt1,
Amt2.
endat.
OR
Collect statement. For adding both rows as mentioned.
Thanks in advance and reward also.
Regard : deep.
‎2007 Aug 06 11:32 AM
You can use either AT END OF or COLLECT statement for this.
LOOP AT itab.
COLLECT itab INTO itab2.
ENDLOOP.itab2 will have your desired output.
Please mark points if the solution was useful.
Regards,
Manoj