Skip to Content
0
Former Member
Dec 06, 2011 at 03:17 AM

Get Average using Subtotal Value in ALV

505 Views

Hi experts,

i have a question. is it possible to get the average using the value in subtotal field in ALV OO.

example:

Total Value GL Price Amount GL Price %

1 2 50

2 6 33.33

3 8 37.5

subtotal: 6 subtotal: 16 subtotal: 37.5

GL Price % Sub total computatiom:

= 6 / 16 * 100

= 37.5

i already used ls_fcat-do_sum = 'C'. but it's giving me a wrong figure.

please help...

Thank You.