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: 

Factory ALV hiding cells

Former Member
0 Kudos

Hi All ,

I am working on Factory ALV ..I want to hide checkbox based on some condition ..

I search in forum for this but unable to get the code .Please help me on this ..

I am stuck up with problem from last one day ..

3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos

Did you define a Column for Cell Types in your internal table, to be able to assign any cell type at row level?
> Column of type SALV_T_INT4_COLUMN with a record with the required COLUMNNAME and a value like IF_SALV_C_CELL_TYPE=>CHECKBOX (not modifiable) or CHECKBOX_HOTSPOT (so modifable, also raise an event LINK_CLICK of class CL_SALV_EVENTS_TABLE)

> Defined as cell type column with method SET_CELL_TYPE_COLUMN of CL_SALV_COLUMNS_LIST

Former Member
0 Kudos

Thanks for your quick response Raymond ..I fallow the same procedure but I am getting disable check box ..But I want to hide that check box ..

0 Kudos

Did you try to clear the value of the field and change style to
IF_SALV_C_CELL_TYPE=>TEXT?