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: 

Display Percentage in ALV Tree Subtotal Lines

Former Member
0 Kudos

Hi all,

I have created an alv tree output. and here's a screen shot of it.

I need to display % of C.Actual and C.Budget, that means, ( C.Actual / C.Budget ) * 100. but i don't have any idea of how to do it.

So, can anyone suggest something to me?

Thanks,

venura.

1 REPLY 1

Former Member
0 Kudos

Hi Kanishka,

Yo have to do the percentage calculation in the loop and assign it to a variable. Declare the variable in the result table structure as well. Pass the variable in the field catelog as percentage and finally export the result table in ALV.

Hope this will help.

Thanks,

Sandeep.