Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

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.

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question