Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem in ALV Total

Former Member
0 Likes
918

HI,

I am using grid alv display in my program and I need average in the total summery line.

Fro example,

If I populate fieldcatalog with do_sum = 'X' I will get the total for one column. What is the logic to get average value for the perticular column.

Column1

10

20

Total 15 (Average) --> I don't want total 30, I need average 15.

Please help me...

Thanks and regards,

MRReddy

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
897

Hi,

[]

[]

[]

HI,

I am using grid alv display in my program and I need average in the total summery line.

Fro example,

If I populate fieldcatalog with do_sum = 'X' I will get the total for one column. What is the logic to get average value for the perticular column.

Column1

10

20

Total 15 (Average) --> I don't want total 30, I need average 15.

Please help me...

Thanks and regards,

MRReddy

5 REPLIES 5
Read only

Former Member
0 Likes
897

Hi Reddy

Try giving do_sum = 'C'.

Pushpraj

Read only

Former Member
0 Likes
898

Hi,

[]

[]

[]

Read only

GauthamV
Active Contributor
0 Likes
897

Use do_sum = 'C' to get average.

Read only

Former Member
0 Likes
897

hi

Edited by: Sriram Ponna on Feb 24, 2009 3:59 PM

Read only

Former Member
0 Likes
897

Thank a lot it's working