Using below thread I am able to get total and subtotal at the ALV output.
But my requirement is to display subtotal at the end of the output. Due to above code I am not getting subtotal at the end.
Below is the scenario :
First 4 lines are ALV output :
Expected output :Amount Currency 150 USD 200 EUR 100 EUR 250 USD Subtotal : 300 EUR Subtotal : 400 USD
Current Output :Header 1 Header 2 150 USD 250 USD Subtotal : 400 USD 100 EUR 200 EUR Subtotal : 300 EUR
Please help in this regard.
Thanks in advance.