cancel
Showing results for 
Search instead for 
Did you mean: 

able to get the average in ALV output but when I change the Layout the average is summed up and showing as total

former_member1245113
Active Contributor
0 Kudos


Hi Gurus,

In the ALV output I am getting average for a column by using DO_SUM = 'C' in the output. but when I go to Change Layout option in the ALV menu and select the sort order and do the Subtotal Check box the initial average is (on this column for DO_SUM = 'C') is changed to Total

Hope I am clear in conveying my requirement.

for Ex

Work Center      produced

AA                        10

AA                         20

AA                         30

AA                         40

--------------------------------------

                              25  -- Average of above four values using DO_SUM =  'C'

-------------------------------------- 

but when I go to Change Layout and select other keyfield (not shown in the above) and go to Sort Order Tab then instead of 25 it is showing 100

Work Center      produced

AA                        10

AA                         20

AA                         30

AA                         40

--------------------------------------

                              100  -- After the Change Layout'

--------------------------------------  

Thanks in advance

Ramchander Rao.K

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member197472
Active Participant
0 Kudos

Wrong Space Ramachandar.

Please put this question in Webdynpro ABAP .

Regards,

Amey