‎2009 Feb 09 2:32 PM
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
‎2009 Feb 09 2:34 PM
Hi,
Yes user can change the layout as per his requirement,
Check this Demo program..BCALV_TREE_06.
‎2009 Feb 10 5:39 AM
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
‎2009 Feb 09 3:56 PM
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