Percentage Variance calculation problem

Hi experts,
I have report with following scenarios:
<h3>Account Name---ActualBudget---Variance --Variance Percentage </h3>
Account Level 1______3400_______5200____-1800______________X
-Account Level 2______2200_______4200_____-2000______________XX
--Account Level 3______1000_______2000_____-1000_______________-50
--Account Level 3______1200_______2200_____-1000_______________-45.45454545
-Account Level 2______1200_______1000_____200________________XX
This is how the report is now displayed. I have done a Hierarchical Grouping of database field (Field Account). Here the Actual and Budget columsn are the summary fields with "sum" and the Summarize across hierarchy checked.. The formula for Variance Percentage is
if Budget =0 then 0
else  ((Variance/Budget)*100)
Now, all the output is displayed in Group Header. The problem here is the calculation of Variance Percentage of Levels above Level3 i.e. Level 2 and Level 1. Level 2 percentage should be the calculation of (Variance / Budget ) *100 of that Level only i.e. Level2 and same should be the case for Level 1. When I apply the summary field on this column, the percentage calculation is all wrong as the Level 2 will be sum of Level 2 variance percentages which is not correct output.
I need a solution to this quickly.. if some more clarification is required please reply to this post..
Thanks

Don't use a summarized field. Instead create a formula field
Right Click on the formula field which will be there in your Field Explorer --> Select New --> Provide the name for your formula field in the text box shown
and put the condition there like
if {test.Budget} =0 then 0
else  (({test.Variance}/{test.Budget})*100)
Once formula field is created place in the desired location where you need to show the Variance Percentage.
Hope this helps!

Similar Messages

  • Top 10 - calcluation of percentage variance

    I'm building query presented TOP 10 and comparing it with the same period in previous year.
    TOP 10 is calculated in one of defining selection in structure by using condition "Top N".
    I set properties of the compared selections "Calculate Result As.." -> "Summation", and get result for TOP 10.
    But the problem is to calculate change for TOP 10 as total.
    Using formula "percentage variance", each line is calculate correct, but I don't know how to calculate change of top 10 summation.
    How can I solved this problem? I use BEx 3.5.
    Thanks for your help

    Hi Pawel,
    I am running into the same problem. Were you able to find a solution for this issue.
    Any help will be highly appreciated.
    Thanks,
    PV

  • Production variances calculation when using assessment to PP orders

    Hi,
    I managed to activate assessment to Production orders in BS12.
    I activated business transactiun RKIU for PP orders object.
    Now it's possible to allocate OH costs from Cost centers to production orders.
    However, I have some problem of other nature.
    When I do the standard price calculation - the Overhead costs from Production Departament CC are calculated as % overhead using costing sheet. It is done by cost element with cost element ctg 41.
    The actual OH costs from Cost centers are allocated using assessment. Other cost elements with cost element category 42 are being used here.
    How will the system calculate production variances in this case?
    Do u think it is possible to match these two different cost elements?
    Will this CE with 41 ctg be considered during variances calculation and if yes - which variance category will it be.
    I am uncertain about that, cause in normal cases - activitity CE or materials consumption CE are the same in actual and target. In my case overhead CE are different in actual and in target.
    Can u help me with that?
    Best wishes,
    Karol

    It's looks like you are right. I've made production version for configured material and production order created. Thanks.
    Due to such a behavior we have to make two different integration models - the first for KMATs and its PDSs and the second for configured variants. And we have to make production versions for all variants.
    Am I right?

  • Variance Calculation for Prod order

    Deal All
    I have problem when run prod order variance calculation (KKS2) for period 8 why the order for period 9 is also calculated ?
    why this happen ?
    Thanks and regards

    Hi Aditya
    The program is designed in a way that all open prod orders are considered in it.. however, variance will not be calculated on it
    For eg: You calculate Var in 009 for period 008.. Prod order created in fag end of 008 and processing started in 009... During var cal, system will give an error for this prod order saying "Only rem variances can be calculated for it" or some error of that sort
    you can ignore this error... I got a note released from SAP for this error.... however, that note is under reconstruction now and hence not available
    You can raise an OSS msg mentioning note no 1320759 and ask them when it will be available again
    Regards
    Ajay M

  • Actual cost  is not  seen in the  variance calculation KKS2

    Hi
    I   did  variance calculation of  a Production order  ( after  telco)  .  Its a co - product.   The  target cost , actual cost and  allocated cost   fields are present  after  execution.   Now  the  actual cost  field is   blank  and  so   the  variance is not  correct.
    Pl  advise on  why  the  actual cost field is not  populated with  the cost.
    Thanks
    kamala

    Hi
    KOB1  shows the actual cost .  I do  TECO  for the PO and  calculate  Variance for co-product material,  and  the  actual cost is showing at  zero.  But   then i  do  settlement  KO88,  and  the   variance amount  gets posted CORRECTLY and FI document is generated.
    So  why is the  ACTUAL COST  field   ' ZERO'    in  KKS2,  but    KO88   settlement  shows the  variance amount.
    It  there some different logic  to  do variance calculation  for   PO   involving  main product  which have  co-products  in it.
    Thanks for  any inputs
    kamala

  • Variance calculation repport (KKS2) different to variance line items (KOB3)

    Hi, need your help.
    I´ve run variance calculation (KKS2) for one production order, one target cost version and it has calculated correctly all cost element variances. However, when I display variance line items (KOB3) for this order with the same target cost version used in KKS2, calculation is´t correct for all cost element and if I compare it with KKS2 repport, it displays different values. Does anyone know why?
    some details that may help:
    WIP is customize
    The company I´am working for had activated "write line Items" (OKV1) after the golive,
    Scrap check box is activate in variance key,
    All variance categories are activate,
    etcetera
    Thank you for your help.
    Regards,
    André

    Hi
    I would suggest raise an OSS msg then.. Because i dont see any possible reason why this could happen
    In my case, the only discrepancy I found was variance doc was posted to FI and not to COPA because the user did not execute variance calculation in update mode.. So, variance got posted in FI, but not in COPA...
    But the posted values always matched in my case,,,
    Do update us incase you find solution
    Regards
    Ajay M

  • Variance Calculation In Process order

    Dear All Gurus,
    We have produt cost by order.
    In process order variance calculation I am gatting variance  being calculated on Input v/s output costs.
    While settlement also same variance is being posted.
    I want variance to be calculated target v/s Actual
    Please advice
    Thanks in advance
    Bhushan

    I think in production order the variance is calculated between actual costs vs planned costs which is nothing but the input costs minus the gr coss of material produced at std costs.
    Is that happenning or not??

  • Process order variance calculation not taking the GI+Activity confirmation Cost

    Hi,
    Process oder was settled in the Month of June,2014. Accounting document was generated,but system only considered the GR cost. System was not considered  the GI as well as activity cost on variance calculation. Variance posted GR= Variance.
    22nd June,2014 Variance calculated, on 30th WIP entery also reversed with the same amount.
    1st July,Order done untecho and no transactions are posted in the Month of July.
    Now they would like to settle the Process in the Month of July. system is throwing the error " Status DLV/TECHO reversed after settlement period 006.2014"
    Order status was TECO PRT  CNF  PRC  CSER BASC BCRQ CRF No variance calculation status.
    Any one faced any similar issue , please suggest me how to proceed.

    Hi,
    Please check SAP Note 386816 for error KV181.
    In general it is recommended to use the Cost estimate of the Process Order (Planned Cost Estimate) for the WIP at target calculation. In additional please pay attention to SAP Note 386816 which explains this procedure and which prerequisites must be met to calculate WIP at targets or the scrap variance. Even if the group counter of the routing is different you can still calculate WIP at targets but only if the message type of message KV181 is set to SPACE by Customizing settings.
    Hope this will a bit help to you.
    Best regards, Takashi

  • Target cost calculation in Process Order based on Variance Calculation

    Hi all,
    I have a question on Target cost calculation in Process Order. My understanding is, the Target Costs gets calculated when the confirmation and GR is made for the Process Order.
    But if the confirmation/GR is not done, whether the target costs gets calculated for only the activity types after the Variance Calculation (KKS2).
    I have two scenarios. In one, the target costs got calculated for the activity types without the confirmation/GR after the Variance calculation.
    In another scenario, the target costs are not getting calculated for the activity types without the confirmation/GR if I try to do the variance calculation in KKS2.
    SO i want to know which scenario is correct?
    Can anyone answer this question?
    Thanks and Regards,
    Brijesh

    Hi,
    In general, the target costs are calculated once you deliver the order.
    Target costs for the components and the activities are updated only once you deliver the order and the target cost for the finished product gets updated when you do the variance calculation.
    Consider your scenario number 1 - you said the target costs got calculated for activity types without confirmation / GR after variance calculation.
    Now, if the order is not having any status like PDLV, DLV or TECO it will not calculate the variances in the first place.
    Your second scenario is correct - without GR the system does not calculate any target costs. Also it will not calculate any variances because the order status is still not DLV.
    Best Regards,
    Sameer

  • How to see Summarized Hierarchy for Variances after variance calculation

    Hi,
    How to see Summarized Hierarchy for Variances after variance calculation.
    Thanks
    Sunitha

    hi Sunitha,
    KOB3 is the t.code. assign me kindly.
    regards
    Sirisha

  • Avoid variance calculation on product order

    Hi experts,
    i have a question. We have a material with cost estimate with quantity structure, cost estimate is release. All cost components in cost component structure are in inventory valuation. On the product order are then target costs. When material is producing, one component of BOM (cost element XXX) is not consumption on product order. When i start variance calculation, SAP calculate variance to this one component (cost element XXX) and by settlemnet of order, posting variance to FI. But this thing i don´t want. It is possible prohibit calculation of variance for this component of BOM - cost element XXX on product order? It is possible prohibit settlement this variance to FI? What i can do for it?
    Thanks a lot,
    Gustavo

    Hi,
    i must settlement product order, so i need variance calculation. So can i settlement variances to FI only for some components of BOM and one variances of one component leave on procuct order? Or can i settlement variances of one component of BOM to other cost centrum than others components (alternatively under other cost elements)? Maybe substition.... If yes, how?
    Thanks a lot,
    Gustavo

  • Output price variance calculation

    Hello,
    I have a question on output price variance calculation in SAP.
    The help reads:
    "Output price variances are reported in the following situations:
    If the standard price has changed between the time point of delivery to stock and the time point when the variances are calculated "
    I do not quite understand this as when I have a standard price change between the delivery to stock and the variance calculation, I will already have a CO-PA entry for the price change. So why do I need another CO-PA posting for the variance?
    Looking at the simple example of having costs of 150 USD when producing a material of 150 USD. If nothing changes I have a variance of 0 USD.
    However if I receive the finished product to stock with a value of 150 USD and then revaluate to 165 USD before the variance calculation happens, I understand SAP would post an output price variance of 15 USD? But I also get 15 USD price variance from the stock revaluation into my books, so isnt that a double count?
    Thanks a lot for your help
    Kai

    Hi Kai Hoffmann ,
    As the SAP Help says...
    Output price variances are reported in the following situations:
    If the standard price has changed between the time point of delivery to stock and the time point when the variances are calculated
    With respect to the above point,  pls follow the example and let me know if you agree or not...
    Let us say, we have Standard Cost of Product X for the month of Feb as $100 per tonne.
    One Production Order is created for 100 Tonnes and you made Goods Receipt for 50 tonnes during Febrauray. (50 Tonnes posted to Inventory a @$100). Now, at the month-end, you estimated the Standard Cost once again and the new Standard Cost effective for the month of March is $110 per tonne.
    Revaluation of inventory is done for 50 tonnes (for GR posted alread and in stock) and $10 * 50 tonnes is posted to Price Difference Account.
    Now, during the month of March, you made the GR for balance 50 Tonnes on the Production Order. Inventory is posted @ $110. Once you do TECO and do the variance calculation, the system will post $10 * 50 tonnes as output price variance, which will flow to COPA and Price Difference Account.
    So, I dont feel there is a double count or duplication...
    waiting for your comments
    Srikanth Munnaluri

  • Exclusion of target cost in Variance calculation

    Hi,
    While calculating variance in period end closing for a process order we are getting the errors.
    1)     “No standard cost estimate for material 400000020 in plant TSIL on 26.12.2006          Target Costs: Determine Valuation Basis”
    2)     “Only remaining var. in version 0 - no target costs for 000001000109          Variances”
    We do not want to include the Target cost in variance calculation.
    Please advise.
    Regards
    Aniruddha

    Hello Anirudh,
    If you choose costing version in variance calculation 0, then system calculates variance based on std. cost est. and actual cost. if you select 1, then system calculates variance based on planned cost and actual cost.
    Go to customization settings in variance analysis calculation and change the costing version from 0 to 1.
    Please let me know if you require any more clarifications.
    Reward points if helpful.
    Regards,
    Santosh

  • User defined error management in variance calculation

    Dear Expert,
    I would like to change the message type for some messages in variance calculation. Path:  IMG/product cost controlling/cost object controlling/product by order/manufacturing order/periodic processing.  According to IMG documentation, the message type can be changed here. But I failed to edit the message and it seems not modifiable.  Can anyone reply on this? Thanks!
    BEST REGARDS
    Maggie
    Edited by: Qin Ou on Oct 27, 2009 6:36 AM

    Hi,
    I am able to change the message is the IMG Path:
    IMG/product cost controlling/cost object controlling/product by order/manufacturing order/ User defined Error Management /
    1, Specify User-Def. Msg Types for Preliminary Costing of Manufacture
    2, Assign Message to Responsible Area
    Regards,
    Sridhar Sha

  • Query regarding the variance calculation

    Hi all,
    Hope all are doing well. i have an query regarding the VARIANCE CALCULATION IN Production planning module.
    here i could see KKS1,KKS2,KKA1 etc,. codes they are using in sap. can any one kindly clarify these codes and uses. pls
    regs,
    siva-v

    Hi Siva,
    To understand the basics of variance calculation in SAP, read below threads which will provide detail information on the same,
    Basics of variance calculation-Understanding Period End activities, WIP and Variances
    Variance Calculation -KKS1
    How production order variance get calculated
    Regards,
    Narresh

Maybe you are looking for

  • SSO from portal to Java based web application not happening

    Hi, We are trying to configure SSO from SAP Enterprise portal with Java based web application(Solaris on SPARC 64 bit). Then we downloaded library files for "Solaris on SPARC 64 bit" from service market place from the path "Support Packages and Patch

  • Itunes tells me their is no Wall Street available for rental... why?

    itunes tells me their is no Wall Street available for rental... why?

  • Photo problems and can i drag and drop files using windows explorer?

    i can only sync photos frm my com to my touch but i cant choose which photos i want and i tried searching for the files in itunes and i cant find them, thus cant delete them... on top of that, i can access the files in my touch but cant find any opti

  • Can't drag and drop files

    All of a sudden, my icons on my desktop won't let me drag and drop them. Also can't drag and drop images into files. Help!!!

  • VPN & BBC iPlayer

    Dear all, I'm looking for a free VPN client I can use for watching BBC iPlayer and other UK channels when I'm out of the contry. I'm not sure how to set it up or even which VPN clint I should get. I'm assuming that the best UI you will get from payed