on 03-10-2014 5:23 AM
Hi experts,
I set the decimal places in General settings as follows;
Amounts = 0
Decimals in Query = 2
And currncies settings is as follows;
EUR : Decimals = 2 Digits
Then for example, Invoice can be input as 10.35 EUR. But if I check the JDT1 by query , the amount shows 10.
It seems that the option for Decilas in query doesn't work. Is that a bug already known??
Also I can't get 10.35 on PLD of Journal entry. The fiels is Debit amount (FC) and Credit amount (FC), they are also shown as 10.I think this is same reason that JDT1 doesn't show 10.35.
I know if I set the decimal places of amounts=2, query shows 10.35. But Local ccy and System ccy have no decimal, so I don't want to set amount =2. Version is 9.0 PL07.
Please advise.
Thanks and regards,
Kaori
Hi,
Please check SAP note for clear explanation:
1414744 - Decimal places setting in “Currencies - Setup” window
overrides “General Settings” window
Thanks & Regards,
Nagarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nagarajan,
My understanding is same as you and SAP. Decimal places setting in Currencies setup should override General settings.
But even if I defined the decimal field in the Currnecies set up, data (JDT1) has still no decimal...it means that General settings isn't be overriden for data. It works for screen like as Journal Entry or Sales Invoice. Then I defined "Decimal in Query " in the General settings, but it doesn't work in query.
Do you have any advice?
Thanks,
Kaori
Hi,
Tested in 8.82 version:
For example, create sales order with quantity of 1 and unit price 10.35
Condition 1:
Set all decimal places to zero and only set decimal place for query = 2
Run below query:
select t0.quantity , t0.unitprice from RDR1 t0.
Result:
T0.quantity T0.unitprice
1 10
Condition 2 :
Set all decimal places to zero and only set decimal place for query= 2
Run below query to multiply quantity with price
select t0.quantity * t0.unitprice from RDR1 t0.
Result:
T0.quantity T0.unitprice
1 10.35
So decimal place in query will affect when do perform calculation through query.
Condition 3:
Set Price decimal places to 2 and only set decimal place for query= 0
Run below query:
select t0.quantity , t0.unitprice from RDR1 t0.
Result:
T0.quantity T0.unitprice
1 10.35
Final conclusions:
1. When you perform calculation in query (condition 2), the decimal place in query will take effect, regardless of decimal place in all other field
2. When you retrieve data directly from field (condition 3), the decimal place in query will not take effect. But decimal place set for price will take effect.
3. In your case, your query directly retrieve the data from JDT1 table. So that decimal in query (2 place) no effect on query result. Query result shows 10 because, the decimal for price field 0.
4. To get correct result (10.35), you have to set two decimal places for price field.
5. Please ignore the SAP note.
Hope it will be helpful.
Thanks & Regards,
Nagarajan
Hello Kaori San,
Would it be possible for you to post a screen shot of General Settings--> Display from the db in which you are facing this issue?
Thanks,
Joseph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.