Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Classes for tree developing

Former Member
0 Likes
535

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?

2 REPLIES 2
Read only

Former Member
0 Likes
503

Hi,

Both work for the same purpose but with some differences like drag and drop support.

Read only

0 Likes
503

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