on 07-29-2008 7:30 AM
hi,
my requirement is to suppress the zeros for field MENGE NETPR NETWR.output is as follows
10,000 10,00 100,00
but i want it as
10 10 100
kindly help me regarding this issue.
Thanks and regards,
siri
Hi Friend,
Suppose for amopunt you need to show as 10,00 and the varaible name is WS_NETWR.
So code it like &WS_NETWR(18.2)&
If you do not want any zero after decimal...&WS_NETWR(18.0)&
Hope it will help you.
Regards
Krishnendu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use &variablename(CIZ)& in the text editor of the smartform.
- Ashok
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please use &symbol(.N)& Display upto N decimal places
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
w_amount = 10.000
/: &w_amount(.0)&
give in text editor as above
i hope i will work
regards,
bhupal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
your field name say if you are printing &wa_menge& then give it as
&wa_menge(Z)& and so as
&wa_netpr(Z)&
&wa_netwr(Z)&
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try to Move the value into Character field and Set Right alignment ( either Character / paragraph format).
OR
sometimes it happens in smartform templates. Try increase the width of the template cell .
either you can use this formatting (C)option example &v_variable(c)&.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use this:
&symbol(.N)& Display upto N decimal places
Other options
&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
eg &SFSY-FORMPAGES(3ZC)& ---outputlen,c-condense,z-Omit Leading Zeros
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
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.