Skip to Content

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

CL_GUI_ALV_TREE Totals, multiple levels

Hello gurus,

I have a problem with ALV tree:

I have a tree with varios sublevels:

-node_l1
  -node_l2
    -node_l3
       -node_l4
       -node_l4
       -node_l4
...

Im using the same structure (fieldcat) for all levels, but filling out different fields.

I have one Totals field (do_sum = 'X')

I want to pass my calculated total on level 3, for it to sum up to level 2 and level 1.

The problem is, that it is recalculating the value starting from the lowest level. As I'm not passing any information on level 4, the calculated field total will always be 0.

Is there any way to choose which level of total to calculate?

Can I disable or remove level 4 from my calculation?

Thank you all in advance!

MaryM

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