2007 May 14 4:57 AM
Hi Friends
I have 3 quantity fields on screen..
i m multiplying 2 quan fields and placing in 3rd quan field. But it is calculating wrong.
l1 is quan field on screen: 10.000
l2 is quan field on screen: 10.000
i m doing calculation in PAI, as l3 = ( l1 * l2 ) / 196.
Here l3 is showing wrong entry on the screen.
Any suggestions?
Thanks.
Points will be given for helpful answers.
2007 May 14 5:09 AM
Hi,
What I think by seeing the value is that it is a Unicode issue.
Ur Program must have the 'Unicode Checks active' checkbox checked in its Attributes. Hence this issue.
U can just use :
l3 = ( l1 * l2 ) / (196 * 1000).
This will solve ur issue.
Regards,
Himanshu.
Hi Friends
I have 3 quantity fields on screen..
i m multiplying 2 quan fields and placing in 3rd quan field. But it is calculating wrong.
l1 is quan field on screen: 10.000
l2 is quan field on screen: 10.000
i m doing calculation in PAI, as l3 = ( l1 * l2 ) / 196.
Here l3 is showing wrong entry on the screen.
Any suggestions?
Thanks.
Points will be given for helpful answers.
2007 May 14 4:58 AM
What is the value being displayed in the third field after calculation??
2007 May 14 5:03 AM
The right value is: - 0.510204......
But the decimal places are placing in left like: - 5102,04
2007 May 14 5:09 AM
Hi,
What I think by seeing the value is that it is a Unicode issue.
Ur Program must have the 'Unicode Checks active' checkbox checked in its Attributes. Hence this issue.
U can just use :
l3 = ( l1 * l2 ) / (196 * 1000).
This will solve ur issue.
Regards,
Himanshu.
2007 May 14 5:18 AM
Hi Himanshu,
This is showing some different value than the previous one.
2007 May 14 5:16 AM
hi hari,
do one thing jus place V in text field of layout , that will take of all the calculation..
like that
text .......................V.
hope so this will work
regards
vijay dwivedi
rewards if answer is helpfull to you
2007 May 14 5:31 AM
HI Vijay,
These are quantity fields.
Can someone help on this?
2007 May 14 5:50 AM
2007 May 14 5:56 AM
No..In Attributes...Fixed Point Arithmetic is not checked
unicode is checked.
It is a standard SAP program...and I am working on screen exit for these quantity fields.
2007 May 21 6:07 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |