on 05-18-2010 8:22 AM
Hi all,
I have a field type QUAN with 3 decimals. When the value of this field has 1, 2 or 3 decimals my smartform print 3 decimals, but when this field has no decimals, my smartforms print no decimals. Exemple:
457,1 --> 457,100
12,28 --> 12,280
24 --> 24
I need to print always 3 decimals. (24 --> 24,000).
Thanks,
Joan
Your field is probably is probably linked to a unit of measure field, from which it takes the number of decimals.
So, you have to create another variable with 3 decimals, do not relate it to a unit of measure (avoid to type it according to a table field (for example do not type it according to EKPO-MENGE), typing it using a data element will always work (for example type it using BSTMG)).
For more information, see this wiki: http://wiki.sdn.sap.com/wiki/display/ABAP/SAPscript#SAPscript-Whatarethevarioustextformattingoptions...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
try something like this:
&EKPO-MENGE(.3)&
regards,darek
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 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.