Question:
Hi,
Is there a way to put a color of the font in cells in ALV grid. I'm using function REUSE_ALV_GRID_DISPLAY. The reason to change the color is I don't want to display zeros (0) however, I still need to display zeros on certain conditions. I thought I would color the font of zeros the same as background color!!
Thankx
Answer:
FAQ has a link to a sample program you need.
_________________
ilya
More input data: http://abaplog.wordpress.com
Sapfans ABAP FAQ: /forums/viewtopic.php?t=94198
R's ABAP Knowledge Corner: http://www.Rard-harper.net/kb/kb.html
Function modules documentation: http://www.se37.com
Answer:
thanks for the reply. i've seen that one already but it doesn't have any solution on coloring font (not cell).
Answer:
Then why don't you simply use a character field instead of numerical? If the amount is zero, don't fill it.
_________________
ilya
More input data: http://abaplog.wordpress.com
Sapfans ABAP FAQ: /forums/viewtopic.php?t=94198
R's ABAP Knowledge Corner: http://www.Rard-harper.net/kb/kb.html
Function modules documentation: http://www.se37.com
Answer:
Hi Ilya,
If I use character format for that field, of course that would solve my problem but then you can't subtotal it!
gr.
Answer:
FYI: there is NO_ZERO field in the field catalogue. Looks like a solution for you.
_________________
ilya
More input data: http://abaplog.wordpress.com
Sapfans ABAP FAQ: /forums/viewtopic.php?t=94198
R's ABAP Knowledge Corner: http://www.Rard-harper.net/kb/kb.html
Function modules documentation: http://www.se37.com
Answer:
NO-ZERO applies to all zeros in the whole grid. For certain condition, I need to display zeros and in some condition it should be blank. Any idea?