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

CL_GUI_COLUMN_TREE - Hide Column List

former_member212713
Contributor
0 Likes
592

Hello ABAP Specialists;

I'm created CL_GUI_COLUMN_TREE object in my program.

During program runing I add columns. Some columns's properties

hide. During program runing , I want to control/check hide columns of list.

This object isn't an alv object and so it dosent have a field catalog.

How can I find columns properties which is hide?

(which method , attributes...)

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
469

Hello,

you can use the method column_set_hidden from your tree:

<a href="http://help.sap.com/saphelp_nw70/helpdata/en/47/aa7a2dc80a11d3a6f90000e83dd863/frameset.htm">http://help.sap.com/saphelp_nw70/helpdata/en/47/aa7a2dc80a11d3a6f90000e83dd863/frameset.htm</a>

Just pass the name and if you want to display it or not.

Regards,

Walter

Hello ABAP Specialists;

I'm created CL_GUI_COLUMN_TREE object in my program.

During program runing I add columns. Some columns's properties

hide. During program runing , I want to control/check hide columns of list.

This object isn't an alv object and so it dosent have a field catalog.

How can I find columns properties which is hide?

(which method , attributes...)

Thanks.

2 REPLIES 2
Read only

Former Member
0 Likes
470

Hello,

you can use the method column_set_hidden from your tree:

<a href="http://help.sap.com/saphelp_nw70/helpdata/en/47/aa7a2dc80a11d3a6f90000e83dd863/frameset.htm">http://help.sap.com/saphelp_nw70/helpdata/en/47/aa7a2dc80a11d3a6f90000e83dd863/frameset.htm</a>

Just pass the name and if you want to display it or not.

Regards,

Walter

Read only

Former Member
0 Likes
469

HI,

Have you using COLTEXT in the fieldcatalog for change their heading

Regards