Skip to Content
0
Former Member
Aug 26, 2005 at 01:49 PM

ALV subtotal but no grandtotal

331 Views

Hi guys. I was just wondering if there is a code in alv that gets the subtotal for a field but not display that field in the grand total? I've tried using do_sum = 'X' but while it displays the subtotal it also displays that field in the grand total.

For example: I have three fields. MATNR , QUANTITY and PRICE. What I need to do is display the subtotal for QUANTITY and PRICE if the MATNR changes and then display the grandtotal for PRICE <u>only.</u>

I have already tried searching the net but I can't seem to find a way. Is this possible? Please help. Thanks.