Skip to Content
0
Former Member
May 13, 2010 at 07:32 AM

Sub-totals in ALV Tree

308 Views

Hi Folks,

Need your help.

I have designed a report to be displayed in ALV tree. The report contains one column (Amount) which can be totaled using the SUM function of the ALV. The report is a 3 level hierarchy - Proj number, Plant and Proj type. When I select the Amount column and click on SUM button, I get the total value of Amount for that particular proj number.

Now, what I want is, a functionality to get the sub total of Amount on the basis of Proj type. Please advice me to get the desired functionality done.

For more clarity please see the below scenario what I want -

Proj number 12345

____Plant XYZ

________Proj type CA 100

_______________ CA 100

________ subtotal 200

________ Proj type CE 150

________________CE 100

________subtotal 250