09-09-2014 1:09 PM
Dear ABAP Experts,
How can I add running sum in alvgrid.? I have developed a code but when user sorts on anycolumn then the total becomes wrong because it has been calculated in the code. Is there any auto feature in alvgrid.?
Regards
Aneel
09-09-2014 1:24 PM
You may be required to either
Regards,
Raymond
09-09-2014 1:24 PM
You may be required to either
Regards,
Raymond
09-10-2014 8:30 AM
09-10-2014 9:09 AM
Hi,
Is event AFTER_USER_COMMAND ( cl_gui_alv_grid ) could be useful in this case ?
Regards.
09-10-2014 9:48 AM
I have simply disabled the sorting option of the grid. I have used this option to prevent the data validity. Other options can be used but the above option fulfilled my client's requirement.
Regards
Aneel
09-10-2014 10:08 AM
09-10-2014 10:15 AM
You could try this event, but can we take it for granted that the sub-totals have already been recalculated by ALV at this step and that our changes will not be overwritten?
This is why I prefer the event after_refresh which (AFAIK) is the last one before re-display of grid.
Regards,
Raymond
09-10-2014 10:20 AM