2020 Jun 04 3:43 PM
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
2020 Jun 04 3:55 PM
Hello arnab19871
I can't tell for sure, because I do not see your code, but I think a simple CLEAR on the common fields of the folder row would do the trick. You could fill only the fields that have a common value for all children. Or, for example. sum the amounts.
Each node of the tree has it's own instance of structure with values and you're able to change these values per each node.
Kind regards,2020 Jun 04 3:55 PM
Hello arnab19871
I can't tell for sure, because I do not see your code, but I think a simple CLEAR on the common fields of the folder row would do the trick. You could fill only the fields that have a common value for all children. Or, for example. sum the amounts.
Each node of the tree has it's own instance of structure with values and you're able to change these values per each node.
Kind regards,2020 Jun 04 3:58 PM
2020 Jun 09 2:12 PM
Hello mateuszadamus
That worked great. I appreciate your help.
Regards,
Arnab
2020 Jun 09 2:37 PM