2008 Nov 25 9:22 AM
Hi all,
i want to display the value of quantity in smart forms .
I got the value but it displays like: 1,584,863.28.
But i want to display it has 1584863.28.
Help me out.....
2008 Nov 25 9:47 AM
Hello Ranjith,
In the Text Module which you have created to display the quantity.
Try to change to &V_QUANTIY(T)&. This will ensure 1000 separator is not printed.
BR,
Suhas
Hi all,
i want to display the value of quantity in smart forms .
I got the value but it displays like: 1,584,863.28.
But i want to display it has 1584863.28.
Help me out.....
2008 Nov 25 9:41 AM
Hi ,
Befor pass this field into the form .u can write this following code.
REPLACE ALL OCCURRENCES OF ',' in x with '.' .
2008 Nov 25 9:46 AM
The prob is that.....
i have seen in debugging mode...
In report its displaying 1584863.28 value only...
But when it goes to form its changing to 1,584,863.28.....
why.....
2008 Nov 25 9:45 AM
What data type you use for quantity field?
You can try changing the decimal format in your user profile :tcode SU3
Regards
Karthik D
2008 Nov 25 9:47 AM
Hello Ranjith,
In the Text Module which you have created to display the quantity.
Try to change to &V_QUANTIY(T)&. This will ensure 1000 separator is not printed.
BR,
Suhas
2008 Nov 25 9:57 AM
Thanks Subas..
the prob has solved but it raises a new problem..
that is......
now its displaying the quantity field is display in new line not in a same line.
for that i have used earlier
&V_QUANTIY(CZ)&
This will suppress leading spaces and zeros.
but now i am change it to &V_QUANTIY(T)&
now its displaying the quantity field in new line not in a same line....
what to do
2008 Nov 25 10:03 AM
Hi,
Try using;
&V_QUANTIY(CZT)&or
&V_QUANTIY(CT)&Regards
Karthik D
2008 Nov 25 10:11 AM
Thanks Karthik..
the prob has solved...
but from where can we get all the formating options.
from where r u get this answer...
can u tell me..pls
2008 Nov 25 10:28 AM
Hi,
Glad that your problem is solved.
You can find all available format options under the heading "Output Options for Field Contents" in the print version of SAP Smart Forms (BC-SRV-SCR). {see page 71/72}
You can download it from the below link.
[SAP Smart Forms (BC-SRV-SCR)|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf]
Regards
Karthik D
2008 Nov 25 11:26 AM
Thanks ones again...
karthik...
for giving that smart form pdf.....
2008 Nov 25 9:52 AM
Hi Ranjith...
Create a variable of type c
Pass the quantity to variable created
Display it.
This will solve your issue.
Regards
Siva.
2011 Jul 20 12:33 PM
Hi,
I have a similiar issue with Decimal formats, I am also outputting Quantity field in the smartform.
In the purchase order smartform Quantity output messages numbers are in a wrong format.
Format in the messages is 1,000.00 but i want to display like this 1.000,00
, and . are interchanging each other.
I have even checked in user profiles
Thanks,
Ravi
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |