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

alv tree

Former Member
0 Likes
401

Hi All,

I my current report i am using ALV TREE by using cl_gui_alv_tree.

Would the end user have the ability to remove columns from tree output by click on push button on toolbar ?

Plz help me to develop this Functionality in Alv tree.

Thanks a lot.

Tarak

3 REPLIES 3
Read only

Former Member
0 Likes
381

Hi,

Yes user can change the layout as per his requirement,

Check this Demo program..BCALV_TREE_06.

Read only

0 Likes
381

Hi,

Thanks for your help , but i am using cl_gui_column_tree , i want to know that weather this is possible with the cl_gui_column_tree .

plz help me.

Thanks

Tarak

Read only

MarcinPciak
Active Contributor
0 Likes
381

Yes, he would.

It would require changing alv catalog each time user click on your button.

Anyhow do as Avinash suggested. User can change the layout with appropriate button in the alv, without having to modify field catalog itself. It is common way for hidding fields and populating only those which are required. Moreover you can develop different layouts which user can next switch between. Less coding, more efficiency and flexibility (especially for the user).

Regards

Marcin