‎2015 Aug 25 11:01 AM
Hi everybody.
I'm starting to use tree structures for my reports and I have found two diferent classes to do it:
*CL_GUI_ALV_TREE
*CL_GUI_ALV_TREE_SIMPLE
Which one do you prefer? Is there any advantages using one or the other?
‎2015 Aug 25 12:00 PM
Hi,
Both work for the same purpose but with some differences like drag and drop support.
‎2015 Aug 25 2:27 PM
Hi.
If you like CL_SALV_TABLE for your ALV's, than you will also like CL_SALV_TREE for your trees.
If your have a simple tree, all of them will work fine. If you need special things, you have to look first, if it is supported by the tree-class you use.
There are also sample-programs from SAP (e.g. SALV_DEMO_TREE_SIMPLE).
You can see there how to implement the classes.
Regards,
Peer