Application Development 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: 

How to make 1st column as header in ALV grid

Former Member
0 Kudos

Hi Experts,

How to make 1st column as header in ALV grid as attached. Please help.

Thanks in advance.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

I suggest you use CL_SALV_TABLE to create the grid.  Then, you can use method get_columns to pull a reference to the first colum: CL_SALV_COLUMNS_TABLE.  With that class, there is a method to set the column colors.  Look in the BCALV_GRID_* programs.

2 REPLIES 2

VenkatRamesh_V
Active Contributor
0 Kudos

Hi manoj,

Try with,

FM REUSE_ALV_HIERSEQ_LIST_DISPLAY



Regards,

Venkat.

Former Member
0 Kudos

I suggest you use CL_SALV_TABLE to create the grid.  Then, you can use method get_columns to pull a reference to the first colum: CL_SALV_COLUMNS_TABLE.  With that class, there is a method to set the column colors.  Look in the BCALV_GRID_* programs.