2007 Mar 16 2:36 PM
Hi all,
I have an ALV report (REUSE_ALV_HIERSEQ_LIST_DISPLAY) in which the last line is a sum of one field. However, there is another field where I want to get the average, not the sum. Is there a way to do it?
Thanks a lot.
Fabio
2007 Mar 16 2:40 PM
Hi Fabrio,
For calculating the averages, you have to set the
DO_SUM = 'C' instead of 'X' in the field catalog for that column.
Regards,
Ravi
Hi all,
I have an ALV report (REUSE_ALV_HIERSEQ_LIST_DISPLAY) in which the last line is a sum of one field. However, there is another field where I want to get the average, not the sum. Is there a way to do it?
Thanks a lot.
Fabio
2007 Mar 16 2:40 PM
Hi Fabrio,
For calculating the averages, you have to set the
DO_SUM = 'C' instead of 'X' in the field catalog for that column.
Regards,
Ravi
2007 Mar 16 4:20 PM
It works for REUSE_ALV_GRID_DISPLAY, but not for REUSE_ALV_HIERSEQ_LIST_DISPLAY. Any clues?
null
2007 Mar 16 6:05 PM
2007 Mar 19 1:49 PM
set the field H_FTYPE to 'AVG' and the field DO_SUM to 'X'.
Zazáááá