Rounding for Percentages
Please advise someone. I have written the logic to calculate certain components in our application based on percentage. For example we take a percentage of Total Net Earnings. When I hard code the percentage in the logic the formula works to the precise number. So as step 2 i created a stat account where they can input the percentage in a specific account and then the calcualtion would be based of that account since our percentages change every month. When i did this the numbers are are off because the sstem does not see the percentage as the number I am entering but I beleive rounds it. The result is higher then what I want it to be. For example I entered 22.9 for the percentage. In the formula it used the exact amount but when I enter in HFM as a stat account it is not using it the way it is being entered. I assume it is rounding it but I don't want it to.
Can someone help how to tackle this issue
Thanks
Hi again,
Yes, you should confirm that the stat account that you have created has as a NumDecimalPlaces attribute the value 1. Based on that you will be able to input data with one decimal.
Regards,
Thanos
One Truth about...: ...Apps 13, London
Similar Messages
-
so my Ipod touch hasn't been connecting to computer, nor charging for a week or two until i turn it off completely and now i try to reset all content and setting,(thinking it may connect to the computer and itunes and also charge) but the circle goes round and round for like hrs(24) and it still does not complete the reset.
pls pls pls pls help .
i have tried alot of solutions, but non of them have worked.Have you tried walking it into the nearest Apple Store and asking for assistance there...?
I'm guessing you don't have Apple Care on it. -
Costing variant , how to config rounding for component quants ?
Hello everyone ,
i am new to CO-PC
my user want to change rounding for component quants.
Current setting is u2018Round up with Nondimensional units of Measureu2019.
This affects too high loss in standard product cost due to rounding up.
For instance, 24 pieces of product are packed in one shipping carton.
Based on standard cost calculation per 100 pieces,
shipping carton usage is computed as roundup of (100/24) which is 5 pieces.
Once in the actual production, production lot size is 10,000 pcs.
Target shipping carton usage would be automatically calculated as (5*24,000/100) = 1,200 pcs
whereas in the reality, 1,000 shipping carton should be used (24,000/24).
As a result, material usage variance is shown too high due to rounding up.
you can see detail in below website (there is only picture in website)
[http://picturepush.com/public/4467052]
thank you in advance.Hi
I dont think this behaviour can be changed....
There is a workaround though, in acordance with SAP recommendations
Increase your costing lot size to 10,000 or 1000 or as much as reasonably possible... Also, increase your Price Unit and keep it same as Costing Lot Size....
For Existing Material Masters: Go to T code MM17 and change MARC-LOSGR (Costing Lot Size) and MBEW-PEINH (Price Unit)....You can change in mass mode
For New Material Masters: Using BADI MATERIAL_REFERENCE, you can default the costing lot size and price unit as 10000 or 1000 as desired
Regards
Ajay M -
Switch Off rounding for BOM Components in Sales Order
Hi all,
We are using a multi-level sales BOM that has finished goods as components. These materials have a rounding profile attached to them. However, we want the rounding profile to be active ONLY when these materials are sold individually and not as a part of the BOM. Is there a way to switch off rounding for child level materials when they are a part of the BOM ?
Appreciate your responses.
Thanks and regards,
Rohit Zalani
Edited by: ROHIT ZALANI on Apr 21, 2008 11:15 PMWe solved the same using the item cat configuration.
-
Cannot perform rounding for invoices with a currency other than the documen
Hi all,
I need some one to help me
I want to process the incoming payment.
The AR Invoice is using USD
In Incoming Payment i want to pay using SGD,
I already set the BP in all currency
I also set the Bank account in Bank transfer payment mean in all currency.
But when i add the document i saw the message like this
"Cannot perform rounding for invoices with a currency other than the document currency. [Message 3524-31]"
What should i do ?
Thanks in advance
Regards
KKHi gordon,
Thanks for your respon.
I still do not understand, what you mean.
I test it in SBO DEMO Au which is the local currency is AUD and the system currency is also AUD.
Is the any special setting for this issue?
Or Do i miss the settings in SBO
My version is 8.81 pl 9
Thanks in advance -
Decimal Value for Percentage distribution on Account Assignement in SES
Dear Experts,
While creating service entry, the qty should be distributed on percentage basis for Account assignment with decimal value.
For Example
Say Service 100% done but value is 10,000..but there is distribution to different cost center say K, L , M, N
K - 21.25% - value 2125
L - 32.70% - value 3270
M - 28.93% - value 2893
N - 17.22% - value 1722
So i need to customize decimal values for Percentage distribution for Service entry sheet creation. Please advice me, if you know the solution for this
Regards
SaravananHi
In Transaction CUNI, as lot is a created Unit of measure wuth no dimensions select No Dimensions & continue
Now change the decimal places for the Unit from3 to 5.
In the service entry sheet you will be able to maintain the lot upto 5 decimals....
But there is again aproblem in that as the standard field Quantity MENGE has only 3 decimal places allowed, so agian you will encounter a problem.
So the best method to follow is advise the user to go for a 3 decimal reounding off the work.
Hope you understand the Problems that arise when decimal places are changed we need to take a lot of things into considertaion before going forward
Thanks & Regards
Kishore -
Hi All,
I have a requirement in BEx .
lets say i have keyfigure A1 having value , A1 - 345.5678. if i will do the rounding for two decimals then the ideal result will be A1 - 345.57.
but, i want to keep the value for A1 - 345.56 after rounding also.
Please suggest.
Regards,
Macwan James.Hi,
Actually the number of the decimal places to which rounding should
be performed for keyfigures are defined in table T006-ANDEC.
Please refer to the following notes and carry out the manual steps which will solve the rounding issue.
442987 - Decimal places/rounding units of measure
866505 - Unwanted rounding of units T006-ANDEC
Please also check the following SDN link.
No Rounding of Key Figure
Regards,
Amit -
Hi,
Where do we change the number of decimal places for percentage? Currently it is set as 3places. (e.g. 1.234% change to 1.2345%)
Thanks,Hi Shiva,
As for the link you gave, we don't want to change the currency decimal place. We only want to change the number of decimals shown in a percentage value. (such 1.2345% instead of 1.234%)
Thanks, -
Is there a function module that does Rounding for Analytical Data?
If I use function module ROUND, 1.25 becomes 1.3 and 1.35 becomes 1.4
But in analytical rounding rules, if the last digit is even round down and last digit is odd round up. So 1.25 becomes 1.2 and 1.35 becomes 1.4.megan,
do one thing.
check the last digit of the number(dec_digit in the code snipet). (1st digit after decimal as per your rule). u can pass it to string and then use split or some other thing to get the 1st digit after decimal.
then use a if block either to floor or ceil.
gv_val = dec_digit mod 2.
if gv_val = 0.
gv_result = floor (amount).
else.
gv_result = ceil (amount)
endif.
i am not givign a executed code here as i dont have sap currently with me. but use this logic. hope this will do your job.
thanks
Somu -
Custom Calculation Script for percentages
Hi everyone,
can someone help me, I am trying to write a script, but I face some unsatisfactory results
I upload the form so you can have a look at it:
http://cjoint.com/?BGrwV2Sq5d2
he re is the scenario:
so after selecting the different module code
the fields: Excellent, Good, Satisfactory and Unsatisfactory have different values (they have a script)
eg. if Y1H3 is selected, excellent will be at 33.33 % etc...
but then I would like that when the Grade is selcted (Grade 1, Grade 2 ....) the fields ( MarksRow1, MarksRow2 ...) take the correspondant value of the fields: Excellent, Good, Satisfactory and Unsatisfactory
I've tried to write for each of the field MarksRow1, MarksRow1 etc... the following script this but it doesn't work
(function () {
var z = getField("Grade 1").value;
if (z === 0) {
event.value = "";
if (z === 3) {
event.value = getField("Excellent").value;
if (z === 4) {
event.value = getField("Good").value;
if (z === 5) {
event.value = getField("Satisfactory").value;
if (z === 6) {
event.value = getField("Unsatisfactory").value;
I would like after that to work out the total in the MarksTotal field by adding the value of ( MarksRow1, MarksRow2 ...)
can you help me please?
thankshi George,
thank you for your interest
I've just realised that I was complety wrong in the differents tests, there is no 5 and 6 but only 0,1,2,3 and 4
and now it's working, thanks
yes for the total, basically after selecting the different grade, it will display a percentage on the marks column fields ( "MarksRow1"- "MarksRow11" )
I would like to add this percentages and display the total in the MarksTotale field
also I would like to leave this field (MarksTotal) empty if nothing has been selected
I've tried to to do this, but there is a zero when nothing has been selected and it doesn't display the % sign next the total
here is the form: http://cjoint.com/?BGstXulF9PX -
Commercial rounding for capital goods
Commercial rounding off of all duties
All the Duties are rounded up in PO & MIGO with some routing development through ABAP.
Now client requirement is that in case of capital goods
1. If suppose that in Capital Goods Cenvat is Rs. 45.00, in same year only 50% credit is available hence Rs. 22.50 i.e. after rounding off it is available to us 23.00 and in on hold account only Rs. 22.00 should be available, but present SAP system does not propose the same
2. If Value of Secondary Education Cess is Rs.1/- for capital goods then credit available in current year should be Rs.1/- & on hold account it should be Zero
Business is saying that it is statutory requirement as per Govt. Notification
How much Govt is firm on this rule & how other companies are achieving this using SAP?
Another Question is that While reversing CENVAT credit taken for capital goods without rejecting material (Only Duty reversal because credit wrongly taken)
We have to pass Excise JV through J1iH & reverse 100 % duty. STD procedure is that we have to transfer 50 % duty from Hold account to the RG23 C part 2 then reverse 100 % duty
But business is saying that it is wrong practice & against excise law .In this case how to handle CENVAT on Hold Account.
( I have Already used OB90 & routing Number 17 is working fine but not for above case )
Thanks
Edited by: sachin patil on Mar 10, 2009 7:00 AMDear sachin ,
As far as I see, there is no loss to the company,
1. you paid the vendor for the full excise amount
2. As a manufacturing unit you are liable to take 100% credit
3. IF you classify the material as capital goods as per your needs then take 50% now and 50% in next financial year
4. If Raw material take 100% credit
5. If the material has been mistakenly classified as C and first 50% credit availed, then to correct your operations you will have to take second 50% from J1IH then in that case you will have to clear all credit on hold from your original 50% credit entry & the J1IH entry, hence you will end up taking 100% credit.
In such conditions you can also opt for credit reversal through J1IH against the said part2 entry, & thenj create a fresh ID declaring material as raw material & take fresh 100% credit.Here also that second 50% from the on hold account would be required to be cleared.
Hope this helps,
Regards,
Akhileshwar K -
Need help with creating a formula for percentages
I am creating a fillable form for subcontractors to submit change requests. One of the sections on the form is for materials. Most subs will charge a markup which is a small percentage of the actual cost. Obviously, both amounts are variables. I want the subs to be able to enter the material cost in field 1, the markup percentage in field two, and then have field three calculate the dollar amount for them. Is this possible? Btw, I'm clueless on this, it's my first attempt at an adobe form. Thanks!!!
A more standard way is to use something like the following as the third field's custom Calculate script:
// Custom calculate script
(function () {
// Get the field values, as numbers
var v1 = +getField("price").value;
var v2 = +getField("markup_percentage").value;
// Calculate the value of this field
event.value = v1 * (1 + v2 / 100);
This is assuming that a percentage of 20% is entered by the user as 20, as opposed to 0.2 or something else. Change the field values to match the actual fields in your form.
If the markup field is blank or zero, the total will simply be the same as the price value. -
Changing the Decimal places for Percentage in cost distribution in SC
Hi Gurus,
Is it possible to change the number decimal places for the Percentage field in cost Assignment tab in Shopping cart in cost distribution option?
The user wants 3 decimal places, currently we can enter only 2 decimal places.
I have gone thro' couple of blogs which are talking about changing the price decimal and not the percentage field decimal. (in IMG setting: General settings > Currencies > Set Decimal places)
So, if anyone come acorss this issue, please let me know.
Thanks and Regards,
NowsathDecimal Places Factor of the Receiver Weighting Factors
Specifies the number of valid decimal places with which the given weighting factors are valuated.
Example
You enter 123456 as the weighting factor. Depending on the factor, this number is interpreted as:
Factor Decimal places Weighting factor
1 0 123456
10 1 12345.6
100 2 1234.56
1000 3 123.456
10000 4 12.3456
100000 5 1.23456
1000000 6 0.123456
Please check with your FICO consulant .what settings you have in backend system.
http://help.sap.com/saphelp_nw04/helpdata/en/bb/bdbdc4575911d189240000e8323d3a/frameset.htm
Muthu -
Financial Reporting Studio: Formula for percentages in Dynamic report
Hi,
I have a formula problem in Financial Reporting Studio vers. 9.20.582. I created a dynamic report with four columns:
1. Column: Entities
Entity A, Entity B
2. Column: Accounts
Account A, Account B, Account C
3. Column A: Accounts
Data for a selected period
4. Column B: Formula
Percentage Account B to Account A and Account C to Account A per each Entity
My question is: Could I create a formula in 4th column that shows a percentage of Account B in comparison to Account A for each Entity (everything in one cell)?
Because when I use for example the Formula Percentoftotal([a], [a,1(1)]) it shows for second entity B the wrong percentages.
I hope this was understandable.
Thank you very much for your help.
Chris
Edited by: user8009251 on 14.04.2010 00:45
Edited by: user8009251 on 14.04.2010 00:46Hi
Good question? I think, there is a solution.
You can use the concept of multiple grid here.
Please keep the referred grid at one place and use another grid where you want the formulas.
Please mail me for further info: [email protected] -
Hello -
I have the following calculation for one of the fields in a query:
CASE WHEN CAST(sh.User_DEF1 AS decimal(19,8)) = 0 THEN 0 ELSE (u.Net_Amt-CAST(sh.User_Def1 as decimal(19, 8))/NULLIF(cast(sh.USER_DEF1 AS decimal(19,8)), NULL)) END AS [Percentage]
My boss now wants me to find all of the above that are less than 15%. What is the best way to write that? I am getting a syntax error.
JuniormintHi,
You can put your query in cte like below if it a small set of data.
WITH CTE AS
SELECT CASE
WHEN CAST(sh.User_DEF1 AS decimal(19,8)) = 0
THEN 0
ELSE (u.Net_Amt-CAST(sh.User_Def1 as decimal(19, 8))/NULLIF(cast(sh.USER_DEF1 AS decimal(19,8)), NULL))
END AS [Percentage] FROM table
SELECT * FROM CTE WHERE Percentage<15
But if it is a largeset of data,then put your resultset into a temp table and try accessing it.
SELECT CASE WHEN CAST(sh.User_DEF1 AS decimal(19,8)) = 0
THEN 0
ELSE (u.Net_Amt-CAST(sh.User_Def1 as decimal(19, 8))/NULLIF(cast(sh.USER_DEF1 AS decimal(19,8)), NULL))
END AS [Percentage]
INTO #temp FROM TABLE
SELECT * FROM #temp WHERE Percentage<15
Thanks!!!
Maybe you are looking for
-
Ok here's the deal I have a family computer and 4 Ipods. one 10 gig regular Ipod 2 Ipod Mini's and a new nano. I want to be able to use all these ipod on just my computer. We all have different taste and such so we all don't want to listen to the sam
-
Moving Loops to an External Drive..possible?
Hey there.. Just upgraded to GB3. My previous version included 2 of the Jam Packs and I just bought the World Music pack. But my Powerbook is running a little low on disk space so I want to move all my loops to an external drive. Is there a simple wa
-
HT1918 I update my payment info and it still doesn't let buy stuff
I up dated my info and can not buy anything
-
I purchased Docs to GO Premium as it was suppose to work on IPAD 3. On loading a spreadsheet the columns under the header columns (ABC etc) started to blled into the next column. It does not work on IPad 3. I swithced to Quick Office Pro HD. Absolute
-
Is there a bleep sfx in library?
looking for a "bleep" sfx to lay over dialogue, but can not find it anywhere in the library. Thanks for the help:)