on 11-07-2007 8:48 AM
Hello all,
How can we suppress decimals in smartform. Because I do not want it for a Quantity field.
Thanks.
&FIELDNAME(.0)&
The formatting option .0 specifies no decimal places.
If you are at release 4.7 or higher you may also want to check your quantity field is associated with the correct unit of measure as this should also dictate whether decimal places are displayed.
Regards,
Nick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is not manadatory to use unit, but there is some standard functionality of smartforms which can be used. Take a look at the <a href="http://help.sap.com/saphelp_47x200/helpdata/en/0b/5da4e42cf511d5b692006094192fe3/content.htm">SAP help</a> for smartforms, but it essentially needs your DDIC structure that hold your quantity field to also how a unit.
Regards,
Nick
Hi
&symbol(Z)& Omit Leading Zeros
&symbol(S)& Omit Leading Sign
&symbol(<)& Display Leading Sign to the Left
&symbol(>)& Display Leading Sign to the Right
&symbol(C)& Compress Spaces
&symbol(.N)& Display upto N decimal places
&symbol(T)& Omit thousands separator
&symbol(R)& Right justified
&symbol(I)& Suppress output of the initial value
Regards
Pavan
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.