09-10-2008 10:18 AM
Hello Friends,
I have one written one simple condition in sapscript like this
if &sales_tax& ne &space&.
salestax &sales_tax&.
endif.
but still its printing in po output as
salestax 0.00.
how can i avoid printing zero values in po output
Regards,
Sunny
09-10-2008 10:20 AM
hi,
enter code like this:
&sales_tax(I)&
(I) will suppress initial values
hope this helps
ec
09-10-2008 10:21 AM
Hi
Use the I option to suppress the output of symbols that still contain their initial values.
Syntax
&symbol(I)&
&sales_tax(I)&.
Regards
Pavan
11-04-2008 7:13 AM
I tried the same but is not coming in my case.
it is still printing 0.00.
i dont want 0.00 to be displayed in the output of the script.
09-10-2008 10:22 AM
in ur print program.
if sales_tax is initial.
flag = 'X'.
endif.
then in ur script.
if &flag& = 'X'.
salestax &sales_tax&.
endif.
check this
09-10-2008 10:27 AM
11-04-2008 10:18 AM