10-17-2007 6:54 PM
Hi ,
i have a data type data : i_temp type p decimals 2.
if there is no value comes for i_temp then its showing as i_temp = 0.00. In this case i just want to blank it the i_temp which should show i_temp = space rather than showing it as '0.00'.
Thanks,
Regards,
Vind.
10-17-2007 6:57 PM
10-17-2007 6:57 PM
10-17-2007 6:59 PM
Hi
Since it is of TYPE P field it s default value is 0.00 is displayed
declare a char field
data v_char(15) type c.
move that P field to this field and display, it won't display zeros
or in the write statement
use NO-ZERO
write: / itab-netwr no-zero.
in alv output also field catalog attributes you put no-zero = 'X'.
Reward if useful
Anji
10-17-2007 7:10 PM
Hi ,
i am using the variable i_temp to out put on scripts , since i dont have a condition to cut it , i need to use the same variable i_temp which should be a blank in case if the default value is '0.00'.
Thanks,
Regards,
Vind.