Decimal Places in RRP3 and MD04
When we release the fcst to R3 and SNP , we release in daily buckets. The No's in Product view and MD04 showing in decimal places. Business wanted rounded No. instead of a number with decimal. I want to fix it by changing the Unit of measure EA to zero decimal place, in Tcode: CUNI. Is there any better way to fix the problem, instead of changing a global setting.
thx
Jeff
Hi,
You can alternatively use another keyfigure and have a macro that round using a particular logic and enter the numbers in this KF. THen release this KF to SNP and R/3.
Eg:
KF1: 10.1...........9.9.........10
your new KF after macro run with rounding logic is something like this
KF2: 10.............19.............10
Similar Messages
-
Difference between Decimal places for Quatities and Units
Can anyone please explain the difference between the followings -
1. Number of Decimal places for Quantities, and
2. Number of Decimal places for Units
In SAP B1 2007B General Settings.Hi,
The Decimal places in the general setting indicates
Amounts:Display of row and document details
Prices:Display for price fields in documents,item data,price lists
Rates:Display of decimals in currency calculation
Quantity:Display of quantity in documents and item data
Percent:Display used in calculation of tax amounts and discounts
Units:Display used in units(UoM) of items.
Also refer these note:[737880|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E¬e_numm=0000737880]
Hope this is helpful -
Update decimal places in sales and use tax percentage rate [FTXP]
i need to update the decimal places in the tax percentage rate. i've gone through all of the tax configuration in the img several times and it is not there. have searched the internet for an answer to this, and am not finding it. need to update from four digits to the right of the decimal to five digits to the right of the decimal point.
for example, adjusting a tax rate field of 5.1234 to 5.12345, where the field will allow 5 digits.Hi,
SAP has hardcoded in the program MF82TI00 to pick only the three places after decimal. Rest will be ignored.
In case this is your legal requirement, I will suggest to rather create an OSS message with SAP.
Regards,
Gaurav -
Round to two decimal places...and keeping trailing 0
Ok, I have done a search on rounding. So I made this function:
private double round(double number){
double d = Math.pow(10, 2);
return Math.round(number * d) / d;
}However, if I use a number like 3.59999, it returns 3.6. For what I am using it for, I need it to return 3.60. Any ideas? Thanks.You normally only format for display! You seem to be wanting the default format to show 2 decimal places. This makes no sense. Internally a number(double or float) doesn't know about decimal places so how can the default format know you want 2 decimal places?
For the most part you only need to worry about decimal places when you print a number using the DecimalFormat class.
There are times when you might want to round values to 2 decimal places before doing more calculation. I have only met this when adding monetary values when it is important that a column total equals the sum of a displayed column values. In this case one uses something like the technique you originally proposed to round values before summing them. You then use DecimalFormat to display the values. -
Increase decimal places in the PO quantity and Price
Hi All,
Can the decimal places in the PO( ME21N) creation be increased more than 3 decimal places in quantity and price?
I did changes in UOM's in CUNI, I increased the decimal places upto 14 but still it does not take more than three i-e., 0.001 maximum.
Is there any other way to handle this?
Request inputs on this.
Note 569326 - ME9F: Customized decimal places are not taken into account........ found this OSS but this correction instruction is not for our pack level ECC 6.0
Best regards,
Sridharhi
In case if you are already working in production remember that decimal places should not change. It will affect all previous data.
For your problem best solution is make order unit as 1000. So that your problem will solve
e.g. instead of 2.009 inr for 1 Unit use 2009 inr for 1000 unit. -
Yielding the desired number of decimal places using the AVG function in t-sql
Hello again. Confused retired hobby coder having trouble setting up a scalar-valued function to return the desired number of decimal places from a AVG query.
Whenever I run the following script I get the number of decimals I desire:
Using the above I created a scalar-valued function as follows:
Running this function as: SELECT [dbo].[TestHCIPartial] (1,3) my return is -7.
Can you help me with the function causing it to yield the answer to 6 decimal places?
Thanks and regards, Minuend.You've not specified precision and scale in UDF return type. So you're leaving it to server to interpret it based on default settings
If you want exactly up to four decimal places tweak udf as below
ALTER FUNCTION..
RETURNS decimal(20,4)
AS
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
Displaying results with a decimal place of two. Forcing decimal place.
Hi there,
Im writing a simple calculation device.
You input one digit and press one of two buttons to multiply it by a certain number and then the result is displayed. The result is displyed hiding the result of the button you didn't press and visa versa.
I am having a problem displaying the result with a constant two decimal place.
I am using strings and thus don't know how to do this.
Here is my code:
import flash.events.MouseEvent;
//restrict the input textfield to only numbers
txtinput.restrict = "0-9";
//restrict the input textfield to only two characters
txtinput.maxChars = 6;
// event listeners
btnW.addEventListener(MouseEvent.CLICK, WHandler);
btnC.addEventListener(MouseEvent.CLICK, CHandler);
btnW.addEventListener(MouseEvent.CLICK, hideC);
btnC.addEventListener(MouseEvent.CLICK, hideW);
//functions
function WHandler (e:MouseEvent):void
//white calculation
var answerW:Number = Number(txtinput.text) * Number(0.90);
txtWResult.text = answerW.toString();
function CHandler (e:MouseEvent):void
//colour calculation
var answerC:Number = Number(txtinput.text) * Number(0.99);
txtCResult.text = answerC.toString();
function hideC (e:MouseEvent):void
//Hide colour result
txtCResult.visible = false;
txtWResult.visible = true;
function hideW (e:MouseEvent):void
//Hide white result
txtWResult.visible = false;
txtCResult.visible = true;
After having a look online I have found these two resources:
http://helpx.adobe.com/flash/kb/rounding-specific-decimal-places-flash.html
and
http://stackoverflow.com/questions/11469321/decimals-to-one-decimal-place-in-as3
But I am confused when combining these techniques with strings.
Any help would be greatly appreciated,
Thanks in advance
Mr BUse the toFixed() method of the Number class instead of the toString() method. The result of it is a String with the number of decimal places you specify.
var answerW:Number = Number(txtinput.text) * Number(0.90);
txtWResult.text = answerW.toFixed(2);
var answerC:Number = Number(txtinput.text) * Number(0.99);
txtCResult.text = answerC.toFixed(2); -
Decimal Places are not permitted
Hello,
The Vendor Invoice amount in Rs 25920.72 and the currency is INR, When i am entering in T.code FB60 i am getting an error "Decimal Places not permiited". i made changes in T.code SU01 (Maintained User) and T.code OY01 (Defining Countries in SAP Systems) respectively but still getting the same error as "Decimal Places not permitted". After that i checked in T.code OY04 (Set Decimal Places for Currencies) and there Currency INR is reflected and "no decimal places" field is assigned to it. What should be done. Please Help!
Regards
AshwinYes. you are right, once done the transaction for INR
Your are not suppose the change decimal settings.
So it will effect old transaction.
Please check the note mentioned. below. Hope it helps.
Note 172410 - Percentages of completion with decimal places
regards
vamsi -
Hello,
We have created one materail , their Base unit of measure is "BOX" Checked the CUNI transaction, in that Decimal places field is "0' and Decimal place rounding filed "0"
With reff to this material while creation of Purchase order system will allow me to enter Decimal places..Means i can enter 102.132 BOX in qty filed in Purchase order.
But with ref to same material while creation of process order, system will not allow me to enter decimal places. why? system should not allow decimal places for BOX unit of measure in Process order.
sapman manyou cannot restrict this behaviour with CUNI customizing, you can only check and stop this in a user exit.
SAP inventory managment allows and stores 3 decimals for any unit of measure. You can only define how it will show the value to the users and how it will round the decimals if it calculates the conversion. But if you enter manually with decimals, then SAP will not round this.
please read OSS Note 931971 - Decimal places in stocks and stock postings -
Percentages Incorrect - Not accurate to decimal place
Hi Experts,
I have a report that will generate sales quantities split by company and the associated % of total sales.
The sales % displays to 2 decimal places but the % is the integer before rounding. i.e. if the % should be 6.99723% it would display 6.00%
How do I get it to round correctly to display correct % splits?
The QTY for each company is calculated via a filter on the total sales qty by company name and the % worked out by dividing the filtered column by the total column.
Please help!
Edited by: user11240727 on 10-Jun-2009 08:51Hi
in rpd only, apply cast( measure as real).
here measure is your functionality to calculate % value.
If you are not getting then apply cast( column as real) for each column that you are using to build the % formula..
Also try this,
and again apply round( whole functionality , 6) and now in answers data format of column properties, select decimal places to 5
And what is the query BI Server is generating for this column, seee.. so that you can easily debug. -
Hi, My client modified the price decimal places to 6 and now the system
doesn't let me to change back to two. I knowed about the message
saying that this type of change is irreversible, but I needed back to 2 again. What is
the best way to do that if any?Hi Martin,
If you have backup ,then restore your previous back up because Once you increase the decimal , you cannot decrease .
This is how system is designed .
Thank you
Bishal -
Managing decimal places in MD04
Hi,
We have our system set in transaction CUNI that the decimal places are 0 for UOM LBS.
However we want to see decimals some times in MD04. Is this possible through some user parameters or so with out changing the system customizing in CUNI?
Thanks.I don't think so. I also fail to understand why you would change the standard settings, and limit the decimal places of a physical UOM like LBS.
-
Problems with decimal places and formatting
Hi , we are having problems with an add on running on different localization companies. Decimal places separatd by "," differ from other localizations. We dont know if this is a SQL collation setting or somethng related to code or requirements to run add ons on different servers and languages.
Any ideas??
ThanksHello
Follow up with this thread:
[Re: How to get the numeric value of DocTotal from UI API]
Regards,
J. -
How do I get 2 decimal places when using a formula for a quotient? It only gives me whole integers. Most of the results will be less than 1 so I need 2 decimal places
the quotient function returns only whole number portion of the dividing two numbers. If you want the actual decimal value use the divide operator. you enter this as:
A/B
if the numerator is in A1 and the denominator is in B1 you can enter the formula like this:
=A1/B1 -
Difference of decimal place in SAP R/3 and BW
Hello SAP experts,
I am extracting purchasing data from SAP R/3 using datasource 2LIS_02_SCL.
In BW I see a difference of one decimal place.
In RSA3 amount is shown as 17.350,00
Whereas in PSA above value is displayed as 1.735,000
Decimal notations are same in both R/3 and BW.
Please help me to understand the reason behind difference in values.
Thanks and Regards
ShilpaHello All,
The issue is resolved. The difference in Amount is due to different decimal configuration settings in TCURX table in both R/3 and BW. Ideally these settings should be same in R/3 and BW. If decimal settings doesn't match misalignment has to be taken care of either in ETL or during query design.
Thanks and Regards
Shilpa
Maybe you are looking for
-
trying to get to itunes via my pc as i have before in order to download an app... i recently bought my wive a newly refurbished HP minidesktop and took her old computer... I installed my 2 1TB drives and was off and running. I renamed her computer.
-
Hi all. I am new to this forum so I hope I don't repeat an old topic (I have looked for this problem and don't see it specifically). Basically, I built a system for a brother 2 yrs ago using this MoBo with an Intel Quad 6550 and DDR2 800. It worked
-
Remove first line in the XML Document
Hi Friends, In my File to File scenario when ever new mesg is appending to file at receiver side,it should remove <?xml version="1.0" encoding="ISO-8859-1"?> tag from the XML Document.This means <?xml version="1.0" encoding="ISO-8859-1"?> tag should
-
Bose Bluetooth wave III won't sinc with my MacBook Pro. What should I do?
I purchased a Wave III with Doc & Bluetooth adapters. How do I connect to my MacBook Pro & iPhone 5?
-
Getting image from Microsoft Access database to display in browser
Hey! anybody please help me I've been trying with no success to get an image from a microsoft access database so far this is what i have: package Servlets; import java.io.*; import java.net.*; import utils.*; import javax.servlet.*; import javax.serv