10-31-2008 9:43 PM
Hi all,
I have a custom report o/p in form of ALV GRID.
Now my problem is one of the columns/fields of the ALV GRID structure is of the type CHAR 15 but the value I am displaying in that column is of type pe CURR 15 ,2.
Hence for the blank rows in the ALV grid for that particular column,I still can see 0.00 as the o/p.How can i get rid of this unwanted 0.00 in the blank rows of the ALV grid?
11-01-2008 3:55 AM
Hi,
Use no_zero in the field catalogue for that particular field.......
i.e.wa_fcat-no_zero = 'X'.
Regards
Debarshi
11-01-2008 3:55 AM
Hi,
Use no_zero in the field catalogue for that particular field.......
i.e.wa_fcat-no_zero = 'X'.
Regards
Debarshi
11-01-2008 5:31 AM
I also had similar issue,I used the following code after 'REUSE_ALV_FIELDCATALOG_MERGE'
LOOP AT t_fldcat INTO w_fldcat WHERE fieldname NE 'ZVER'
AND fieldname NE 'ZSNO'.
w_fldcat-no_zero = 'X'.
MODIFY t_fldcat FROM w_fldcat.
ENDLOOP.
Or if you build fieldcatalog manually then use :
w_fldcat-no_zero = 'X'.
for the fields you dont want zeros.
Thanks & Regards,
Rock.
11-01-2008 9:07 PM