‎2009 Apr 25 6:02 AM
hi ,
i have a variable which is of type CURR 15 decimal 2. If this variable contains the value as 0 (0.00), then it should not be displayed as 0.00. Instead, a blank space should come in that place..
regards
chinnaiya
‎2009 Apr 25 6:05 AM
loop at itab.
if itab-field = '0.00'.
itab-field = ' '.
endif.
modify itab transporting field.
endloop.
clear itab.
‎2009 Apr 25 6:07 AM
declare a character variable of type char(15).
now
if curr is initial.
display char.
else.
display curr.
endif.
‎2009 Apr 25 6:13 AM
Hello
If you use classical report, then:
write: itab-variable NO-ZERO.
‎2009 Apr 25 7:10 AM
Hi,
If you are using ALV to display the report, then there is a field in fieldcat 'NO_ZERO' pass 'X' to it.
Hope this resolves your query.
Regards,
Nikhil