I have an ALV_GRID built up with methods set_table_for_first_display (initial load) and refresh_table_display.
The grid is used to show information by line items in an ALV below the item list.
I want to sum one of the columns; by setting DO_SUM = 'X' in the field catalog for one of the numeric columns this works for the first load.
However, every time I switch to another item, though the quantities in the ALV rows changes with that step, the sum shown is the same value.
I saw in the other tab a piece of standard SAP looking exactly the same which did this ok: sum was adjusted to the line selected.
Has anybody had experience like this also, or even better, has anybody got the solution here?