06-19-2015 6:25 AM
Hi All,
I have alv grid using factory method with classes salv* . In grid multiple coloumn and rows .
I want to hide my coloumn which has zero value .
In my grid all column and rows comes dynamically . Now my problem is how to find which column has zero value .
Once i got column with zero value , i know how to hide (using properties false ) .
Pl share if any idea .
thanks in advance .
Regards,
Alter
06-22-2015 2:14 PM
Hi All,
I think we don't have any direct method .
Now as per my requirement i have done logically to identity value of field when final internal table has been created and get count that have no -zero for column in a seperate table .
then go use setting property of column with getting field catalog and hide column .
Regards,
Alter
06-23-2015 5:06 AM
Hi ravi,
The command below helps you in hiding the column during display,
go_column->set_visible( if_salv_c_bool_sap=>false ).
Before this you have to add the check to find the zero value in the column to satify your requirement.
Regards,
Satish
07-03-2015 6:43 AM
hi Satish ,
I alreay mention in question i know about visible .
I am looking any method or FM or direct way rather than writing core logic .
Regards,
Alter