on 03-12-2007 11:15 AM
Hi All,
I am new to SAP ABAP.I am stuck with some small requirement.
Could anybody tell me how to display blank in a currency field in SAP script output?
By default currency field is having value 0.00 if there is no value...here i want to display blank instead of 0.00 in script output.in my case i am having 0.00 value.
Please help me to resolve this issue.
Thanks in advance.
-Simpol
I think addition of I at the end like
¤cy(I)&
&KNA1-UMSAT& -> 0,00
&KNA1-UMSAT(I)& ->
will help u....
Reward if ur problem is solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use addition <b>(I)</b> with your variable.
The option I can be use be used to suppress the output of symbols which contain inital value.
<b>Syntax:
-
</b>
&Symbol(I)&
Assuming KNA1-UMSAT contains the value 0.
&KNA1-UMSAT& --> 0.00
&KNA1-UMSAT(I)& -->
If the field contains an amount other than 0, this value will be output in the normal way,
&KNA1-UMSAT& --> 100.00
&KNA1-UMSAT(I)& --> 100.00
Let me know if you need any other information.
Regards,
RS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
U need to go for the (I) option.
This options supresses the initial values...
for example..
<b>&KNA1-UMSAT& -> 0,00
&KNA1-UMSAT(I)& -></b>
hope it solves ur problem.
U can have another option (Z) option..
like <b>&symbol(Z)& </b>
for example
<b>&DAY& -> 01
&DAY(Z)& -> 1 .</b>
reward points if it helps u...
sai ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.