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 (Fixed Columns)

Former Member
0 Likes
594

Hi,

I'm currently working on a program using ALV Tree (cl_gui_alv_tree) and I need to have fixed columns other than the hierarchy column (columns which cannot be scrolled). I tried editing the field catalog but it's not working. Is it also possible to make single cells editable in the ALV tree?

Thanks a lot.

Bonn Mendoza

2 REPLIES 2
Read only

Former Member
0 Likes
432

Hi,

Have you tried setting the parameter FIX_COLUMN of the lvc_s_fcat struture which is used for field catelog

Regards

Pavan

Read only

Former Member
0 Likes
432

Hi,

I think the method SET_HEIGHT of class CL_GUI_ALV_TREE can be used to set the heights of various controls. Just try for columns in your case.

Else as you are looking for column with special function, we have an expansion column but is available in hierarchical-sequential list.

For this you need to use class CL_SALV_COLUMNS_HIERSEQ

there are 2 methods in this class

SET_EXPAND_COLUMN and GET_EXPAND_COLUMN.

As far as second query is concerned go through the below link

http://help.sap.com/download/documentation/additional/getstart/ecc50/GettingStarted_ECC50_EN.pdf

Regards

Khushboo