2007 Aug 23 5:23 PM
Hi Friends ,
I have a tiny issue here . I am not sure how to go about it . I have defined an internail table itab with amt(10) , amt1(10) .
If i do not have any value in amt and amt1 it should not have anything . But now It is printing 0.00 and 0.00 .
I want this both to be empty when there is no data .
Please advise .
Thanks,
2007 Aug 23 5:29 PM
Hi,
While printing give your write statement as
write : / amt no-zero.
write : / amt1 no-zero,
a®
2007 Aug 23 5:31 PM
Thanks . But this is in an internal table.I am printing this on a sapscript form .
Message was edited by:
Hari G Krishna
2007 Aug 23 5:34 PM
HI,
in script just do this..
define v_value.
if amt1 = '0.00'.
v_value = ' '
else
v_value = amt1.
endif.
print the v_value
2007 Aug 23 5:34 PM
hi Hari,
do like this in SAPScript:
&FIELD(I)&
(I) will suppress initial values
hope this helps
ec
2007 Aug 23 5:30 PM
HI,
are you using ALV to dispaly then in field catalog you will have no_zero set this field to 'X' .
Thanks
Mahesh