Hi,
I have to display a report in the tree structure.
--->Node....
|
Root Node------>Node....
| |
| --->Node.....
|
---->Node....
The report goes like this...Is there any way to implement the same. I have to display the report in ALV.
Thanks in advance,
Please have a look at the class CL_GUI_ALV_TREE. This offers both a tree type structure as well as ALV data display.
The following reports should give you an idea of the results:
BCALV_TREE_DEMO
BCALV_TREE_EVENT_RECEIVER
BCALV_TREE_MOVE_NODE_TEST
PS:
when you build your output table each line has to be handed over via method ADD_NODE.
The is in contrast to the 'normal' ALV, where you hand over the full table with method SET_TABLE_FOR_FIRST_DISPLAY.
Gruß
Ereglam
May the Force be with your code || .| |.|| | .... . ..|. ||| .|. |.|. . |... . .|| .. | .... |.|| ||| ..| .|. |.|. ||| |.. .