on 11-08-2006 11:31 AM
Hi,
I am displaying the quantity field in the sap script layout.But in the quantity field having 3 decimal places.
Ex: 3.400 is there i want to display 3.4
3.000 only i want to display 3
3.740 -
3.74 like that i want.
I want to omit the zeros after decimal places.
Please give me the solution.
Regards,
Jenny
Hi Janardhan,
Do one thing in your print program make us of following line of code
shift wl_local right deleting trailing '0'.
where wl_local will containing your quantity..
This will solve your prob...
Enjoy SAP.
Pankaj Singh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
U can try the below in your print prg.
WRite lval to lchr using edit mask 'RR_______.___'.
Translate lchr using '0 '.
condense lchr.
Print lchr in your script.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
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.