08-12-2016 4:18 PM
Hello Everyone,
I would like to create a hierarchical ALV list, like the BCALV_TREE_01 program. But my problem with this program is that you can display attributes of the record (as plane type, capacity, total costs,etc.) on the lowest level only. So this is just a nice grouping possibity. My aim would be to have attributes even on the first level of hierarchy, which could be different from the attributes of the lower lever hierarchies.
This is how the demo looks like:
As you can see, I don't have any values in the row of "2016 March", or in the row of "JL" (or even if I have values there, those are just sums of the lower level values). For example in my report the "2016 March" should have a price 100, the DL row should have price 200, and JL should have price 10000. I would need to print completely different attributes on each level. Is that possible somehow?
Many thanks in advance.
Tamas
08-12-2016 4:49 PM
If you take a closer look on the program you can see that structure ls_slfight passed for parameter is_outtab_line is empty everywhere except at leaf level of the structure.
E.g. If you assign values (via debug) to the fields of ls_sflight in subroutine add_month the values will be displayed on the screen.
BR,
Gabor
08-12-2016 4:49 PM
If you take a closer look on the program you can see that structure ls_slfight passed for parameter is_outtab_line is empty everywhere except at leaf level of the structure.
E.g. If you assign values (via debug) to the fields of ls_sflight in subroutine add_month the values will be displayed on the screen.
BR,
Gabor
08-15-2016 9:51 AM