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

average function in ALV Report

Former Member
0 Likes
1,209

Hi ,

I am doing Subtotal in ALV by Grouping the Fields. Instead of Using Subtotal i want to Use Average of

(Total / Quantity) in AlV. Is there any function availabile for doing Average in ALV Reports.

Point will be definately awarded .\

Kamal

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
589

Hi Kamal,

Please check this link

Best regards,

raam

4 REPLIES 4
Read only

Former Member
0 Likes
590

Hi Kamal,

Please check this link

Best regards,

raam

Read only

Former Member
0 Likes
589

> I am doing Subtotal in ALV by Grouping the Fields. Instead of Using Subtotal i want to Use Average of

> (Total / Quantity) in AlV. Is there any function availabile for doing Average in ALV Reports.

>

It is possible to show the Average using the FIELDCATALOG-DO_SUM = 'C'. for the column/field which you want the Average.



FIELDCATALOG-DO_SUM = 'C'. "<-----Avergage

Read the Rules , Don't use Forbidden words...

Read only

Former Member
0 Likes
589

Hi,

fieldcatlog-do_sum = 'C'.

It will solve ur issue....

Thanks.

Read only

Former Member
0 Likes
589

hi friends,

i don't want to use average (Mean values) but i want to divide Total Amount / total quantity. that is the

division of total amount by total quantity in subtotals.

Can anybody tell the code.

Kamal