Hi experts,
I'm trying to achieve something that I'm not sure that will be possible with ALV hierarchy for WD.
Lets say that I have a table with 3 columns that I want to display it in an ALV hierarchy.
The catch is that, if the last column is empty I want the 2nd column to be the leaf column. The issue that I have is that, even if the last column is empty I still get the possibility to expand my 2nd level with nothing inside. It looks weird and makes no sense (please see the attached image for the result).
I'm looking for something like set_read_only_fieldname where based on a condition to be able to dynamically specify which column should be the leaf column.
Also, I don't have any other columns to be displayed so no need to have more than 1 column (the hierarchy column).
If you think that this is no possible to achieve with ALV tree please let me know if you can think at any other option to be able to do this.
Display example:
Please see attached image (the icon and checkbox in front can be omitted).
-> A
-> A1
* A11
* A12
* A13
-> A2
* A21
* A3
* A4
-> A5
* A51
Add a comment