Application Development 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: 

Average value for a Date Field in an OO Alv Grid.

SantiMoreno
Participant
0 Kudos
87

Hi Abapers.

I've been searching for some info about averages in OO Alv grid lists but cannot find an answer to what I'm really need. The question is that, for getting an average, a 'C' value must be set in the field DO_SUM of the fieldcatalog structure for a field.

Now, the problem is that I need the average of a date field (in 'normal' date format). I've tried it several times and read a lot of things but cannot find a real answer: Could it be done the average of a date field (e.g. for dates 01.05.2009, 02.05.2009 and 03.05.2009 the average is 02.05.2009).

Best Regards.

1 ACCEPTED SOLUTION

jayanthi_jayaraman
Active Contributor
0 Kudos
56

Hi,

It will come along with the standard tool bar.For number fields, you can see it(Mean).

1 REPLY 1

jayanthi_jayaraman
Active Contributor
0 Kudos
57

Hi,

It will come along with the standard tool bar.For number fields, you can see it(Mean).