Skip to Content
0
Former Member
Aug 23, 2007 at 09:17 PM

Display subtotal differences in the OO ALV grid

47 Views

I am implementing an ALV grid of purchase order history. The requirement is to display the quantity differences of subtotals between goods receipts and invoice receipts at the end of the ALV grid. Ideally, this needs to be displayed in a row similar to the total row.

I can display and obtain the subtotals using the subtotal_text event and <grid>-get_subtotals method. Hence, I can calculate the differences of subtotals.

How can I display the difference row in the ALV?

-


GR1

GR2

GR3

-


GR Subtotals:

-


IR1

IR2

-


IR Subototals:

-


Quantity differences: <-- how to display this row at the end of the grid?

-


Thanks in advance.

Ning