Skip to Content
0
Nov 27, 2014 at 03:46 PM

Issue with Subtotal Average for the column in ALV output of the program

174 Views


Hi all,

There is an issue with subtotal average display in the ALV output with standard program.

Consider there is two columns in the output display as follows.

Column A in % Column B in %

======== ==========

1 1

2 2

3 3

4 4

======= ========

10 2.5

For both the column it should display average as 2.5. But in column A, it is displaying the total sum of the row instead of average.

Fieldcatalog value has been set as ls_fieldcat-do_sum = 'C' for both the columns and the data type for the column A and B is P.

Need help to solve this issue.

Thank You.