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 %
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.