Skip to Content
0
Sep 08, 2010 at 08:06 AM

Display of "Average Values Text in ALV grid"

15 Views

Hi

I use ALV grid to display the fields from a table. I have 15 columns. I need to do average for four columns.

In the field catalog i did a do_sum for those fields.

When the ALV grid is displayed I get average values for these columns.

Eg. Let suppose the grid looks like

Field1 Field2 Field3 Field4 Field5 Field 6.

vendor1 18 22 6 17 28

vendor1 54 11 16 62 28

vendor1 33 21 26 79 18

35 18 16 52 24

My requirement is I need to display the text "AVERAGE VALUES" . ( I need something like this.)

Field1 Field2 Field3 Field4 Field5 Field 6.

vendor1 18 22 6 17 28

vendor1 54 11 16 62 28

vendor1 33 21 26 79 18

Average values 35 18 16 52 24

Could someone help me in this?

Thanks & Regards

Kavitha