on 05-31-2007 6:35 PM
Hi, experts
I need to suppress decimals in MSEG-MENGE and I don't know how to do it, because all info that I found in Forums didn't help to my requirement.
In Sapscript code I have &MSEG-MENGE(8R)& wich align data to right, I need this text aligned to right and no decimals, how can I do it?
<b>Form print</b>
Code | Description | Quant | Unit
0001 | Material AB | 10,00 | C/U
<b>Desired Form print</b>
Code | Description | Quant | Unit
0001 | Material AB | 10 | C/U
I will apprecite any helpfull information, thanks in advance.
Regards
Tokio
Hi,
&symbol(.N)& - Display upto N decimal places
Just specify 0 for not to display any decimals
&MSEG-MENGE(.0)&
Regards,
Ferry Lianto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Aneesh, Seshu AND Ferry
Thanks for your answers, but I solve this way:
&MSEG-MENGE(3.0R)&
Regards,
Tokio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
&MSEG-MENGE(.0)& will give no decimal places
and do not use 8R for right alingment,use normal paragraph format to do right alignment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tokio,
Data : N type I.
N = MSEG-menge.
Pass &N& instead of &mseg-menge&.
Reward if useful.
Aneesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.