03-29-2007 8:09 AM
Hi all,
I have an internal table with 3 fields A, B, C .
I want to print the subtotal of the column 'C' under the column 'A'.
eg:
Material_Group Matnr Cost
-
-
-
MG1 M1 C1
MG1 M2 C2
-
(C1 + C2)
-
(This should come under the column "Material_Group" instead of the column "Cost" )
Hope that the requirement is clear. Please help me out in this ..
Thanking you in advance,
Shankara Narayanan T.V
03-29-2007 8:32 AM
u want it as sub totals or one final composite total at the end of the list
sharad
Message was edited by:
Sharad Dubey
03-29-2007 8:36 AM
03-29-2007 8:58 AM
03-29-2007 9:10 AM
03-29-2007 8:57 AM
Hi Shankara,
Try calculating the subtotals before displaying and inserting it as a separate row.
Regards,
Ravi.
03-29-2007 9:04 AM
Hi,
But that wont help me because when the user changes the sorting order and hence the sub-total conditions, it will fail to display the totals properly .
I am afraid that this is not the right way to do it ..
Thanks & Regards,
Shankar