Hide a specified cell in ALV grid
I have a question about ABAP coding with alv grid.
In my dialog program (SE80), I have created a custom ALV grid. There are about 10 columns in the grid and one of the column contains number value (e.g. 0.00). For that column, there are some cells should have NO values. If I set the datatype of the column to ‘P’, the cell will be displayed as 0.00 even when the cell contains no value.
If I set the datatype of the column to ‘C’, the cell is able to show empty when the cell contains no value and show 0.00 when the value is 0.00. But I can’t use the sum features for the alv grid for that column if I set the column datatype to ‘C’.
As I want to use the sum features of the alv grid and show empty when the cell contains no values. May I ask is it possible to adjust the style of a specified cell in the alv grid so that the cell is invisible when contains no value. Or do you have any suggestions to me?
Many thanks for all of your helps.