Skip to Content
0
Jun 04, 2020 at 02:43 PM

Branch/Expander of an ALV tree is showing the details of the first line.

67 Views Last edit Jun 04, 2020 at 02:47 PM 3 rev

Hi all,

this is for the first time I am creating an ALV tree. I am using CL_SALV_TREE. The problem I am facing is, not all the records (leaves) under the branch contains the similar records. For example in the screen shot Flight number 0017 contained more than one date and price. However, the record of the first line is shown at the expander. As a result, while 0017 is collapsed one may think, the amount 1,191.11 is the common price for all the records of that branch. Is it possible to make the price/Date only visible after one clicks the expander and not before?

I have followed 'SALV_DEMO_TREE_SIMPLE' to create my program. I have checked all the other demo programs of SALV DEMO TREE and all of them contains the similar problem.

Thanks in advance

Arnab

Attachments

cl-salv-tree.png (32.4 kB)