I have a question concerning the subtotals on ALV grid.
I would like to have a subtotal that is not the sum of the lines above it.
In the example bellow, you'll see that the subtotal of the "return" column is the formula QtyA / (QtyA+QtyB).
qtyA QtyB Return
ItemA 10 10 0,5
ItemB 6 10 0,375
ItemC 10 5 2
Subtotal 26 25 0,51
Is it possible to do that with an ALV grid?
Thanks for your help.