02-01-2008 4:57 AM
Hi All,
The line item vlaue in sales order (KONV-KBETR) has been maintatined as 35.00 USD.
Now our customer is requesting to get the facility of storing this value as 35.12345 USD.
The decimals should be in 5 digits.
But the field KONV-KBETR is having 2 decimals.
How to resolve this issue, so that we can provide user to store condition values with 5 decimals values...
Its lilttle urgent........
Your help will be apprciated...
Regards
Pavan
02-01-2008 5:05 AM
Hi Pavan,
I Checked the same with SD consultant he said it is not possible, even if you convert finally the field will have only rounded value
otherwise you need to change the field by getting the access key for the same
Regards
Shiva
02-01-2008 5:01 AM
You can create another Z table & maintain the values.
Since the payment is alwyz going to be in 2 decimal places, the significance of 5 digits is only for storing purpose & not for payment purpose.
02-01-2008 5:05 AM
Hi Pavan,
I Checked the same with SD consultant he said it is not possible, even if you convert finally the field will have only rounded value
otherwise you need to change the field by getting the access key for the same
Regards
Shiva
02-01-2008 5:10 AM
Hi,
Try like this,
Move the value in KONV-KBETR into a variable of type p decimal 5.
just look at the below code, copy paste and test the below code..
tables: konv.
data: amt type p decimals 5.
konv-kbetr = 35.
amt = konv-kbetr.
write:/ amt.
Hope this helps.