Caliculate Variance Actual Vs Plan data

Hello Friends,
I have a requirement like below in BPS
I have Char Material, fiscal year and version and Keyfig as Amount and i want to display Actual 2008 vs Plan 2009 data
Ex
Mat......Actual Amt2008........Plan Amt 2009......Variance
AA.........100...........................150....................... 50
BB.........235...........................250.......................15
CC.........150...........................140......................-10
I know -  variance can be done by using planning fuctions, but i cant figure out exactly how can i achive
Please provide some inputs on above reqmnt
Thanks

This can be done in 2ways. If you need variance only for display in the layout, can go with macros. If variance needs to be stored in the cube, use FOX formula.
Macro:
Go to tools-> macro-> SAPAfterDataPut ->Edit
write the code to calculate variance as difference of plan and actual. In the third screen of the layout builder, click on MSExcel Settings tab, check the box for SAPAfterDataPut so that macro will run automatically when you execute the layout.
FOX:
Keep keyfigure name in fields to be changed.
{Variance KF} = {Plan KF} - {Actual KF}

Similar Messages

  • Copa actual and planning data

    Hi,
    May I know if I am correct for the below where
    1)
    KE26 or KE21N is meant for correction of actual data in copa and
    KE13N or KEPM is to load copa planning to copa
    2) we have many planning tcode like kpf6, kp06, kp26.
    what is the difference between them and ke13n/kepm?
    thanks

    KE13N is for mass upload of Plan data into COPA, COPA planning os for operating margin planning this is different from cost planning in controlling
    KEPM is for input of planning data by the users in the system
    Thanks
    Naveen

  • CO- Actual and Plan data

    Hi gurus,
    I am creating a query with actual and plan column and restricting each column with the value type object of actual and plan respectively,but the plan data is not been shown in the columns.
    I checked the value type master data and it has the plan and actual inside but when I am trying to restrict with the value type object, it only gives me the actual option and I have to force the plan option to restrict for the plan column.Don't know why it is not showing, cos I am showing it in the master data object for value type.Any help?
    Thanks in advance

    Hi Ravi,
    Thanks for ur quick answer. I already tried that and the problem I have is that no data is coming for the plan column. I checked the Value type master data infoobject and saw both 10 and 20  in there,but when I am trying to restrict with the value type 20 in the query, it does not give me the 20 option.
    I also checked the extractor in R/3 and could only see data for value type 10 and not 20, cos am using the datasource 0CO_OM_CCA9.Does that mean my datasource is not extraction data for value type 20 or how can I check for that?
    Thanks

  • Can we use actual and plan data for same cube?

    hi friends,
    can we use actual data and plan data in same cube in bps.
    Thanking u
    suneel.

    Hi,
    Let us take std cube 0SD_C03 where we store billing info,sales order info and delivery info. But still in reporting we can get values without any mismatch in their respective KF. It is possible because of a cahracterstic called Documnet category which gets values in update rule by constant .
    Similarly we can have 2 types of data (plan and actual) in a single cube by having different value for a characterstic. Most frequently used characterstics for this are 0VERSION and Value type.
    With rgds,
    Anil Kumar Sharma .P

  • Use Plan data if actual data is not available(By month)

    Hello All,
    We have a cube which stores the actual and plan data by month. There will be plan data for all the months of the year in the cube whereas the actual data is only populated for that month at the end of the month. So, there will not be any data for the rest of the months of the year.
    QUESTION : Is it possible to create a bex query to show data by month with one key figure which should be Actual data if available in the cube or else the Plan data. I would be able to provide the last month where the data is available to the query in a form of a variable.
    Example
    Data In the Cube
    Month    Type     Sales
    JAN       Actual   1000
    JAN       Plan       750
    FEB       Actual   1500 
    FEB       Actual   2000
    MAR      Plan      1200
    Query Output
    Month    Type     Sales
    JAN       Actual   1000
    FEB       Actual   1500 
    MAR      Plan      1200
    Thanks in Advance!
    -Vinod Swarnapuri
    SAP EPM/BW/BI

    Hi,
    in the row you put the month.
    in column you have three keyfigures:
    - restricted keyfigure r1 : amount with selection actual
    - restricted keyfigure r2: amount with selection plan
    - calculated keyfigure c1: (r1 ne 0) * r1 +  (r1 eq 0) * r2
    please test it. It's should be work.
    Sven
    Edited by: Sven Mader on Mar 5, 2010 10:51 AM

  • How can i check the planned data vs actual data

    How can i check the planned data vs actual data with the infocubes?

    Hi Srinivas,
    You create one cube for plan data and create another cube for actual data.
    Create a multiprovider and give comparision report. this is betterway.
    Or you can also load actual and plan data in one cube but you need to maintain one character like version to seperate atual and plan data.This is not a good work.
    Regards,
    Vijay.

  • 0vtype =20 (plan data)  not populating to cube but present in psa

    Hello Experts,
    I have a requirement in BW 3.5 where in I need to create a report on multiprovider which should give the actual data,plan data and the difference between actual and plan data for some key figures.
    The data flow is like this
    There are two cubes one for actual and the other for plan ,I am able to get the actual data (10) for actual cube from R/3 .
    But the problem is with plan cube,I am not able to get the plan data (20) to the plan cube (to the field 0vtype) ,but the data is coming till psa from R/3,there is no routine present in update rule also,but still data is not showing up for this 0vtype in plan cube...
    I have tried loading selectively (020) by giving 020 as constant in the update rule..but still no luck
    The datasource that is fetching plan data is 1_CO_PA_PLN1000.
    Could you please suggest how to proceed further
    Thanks,

    HI Sashi,
    Checking the mapping between the 0vtype and the source fiedls.
    Check in transfer rules first if it is mapped or not.
    Transfer rules are not mapped to source fields then correct it .
    Hope this helps.
    Regards,
    Reddy

  • Regarding planning data not available in reports

    HI SdN,
    In my reports I'm populating actual data and planning data.But as of now we have only actual data display's in our report.what we are doing is we are populating data in BW and analysing on the base of the product cutomer (compounded) combination which is coming from r/3.(groups and sub-groups which we are entering at r/3 )
    So our report shows us on the base of groups and sub groups which we are entering at r/3 level.That all is working  fine but our customer wants that planning data is also displays in the reports as of now it is showing not assigned values in report.
    so my question is ,To display planning data for group and sub groups provided by r/3 on the basis of product and customer (though other reports are showing planning data)  , I know that I need to include this compounded infoobject in bps cubes but shall I also need to consider this in the BPS functions?I'm confused here and not sure about this.
    And is that mandatory to have that componded infoobject mapped from underlying ods for customer.Because as of now planning cube is only updated with BPS functions?
    Could you pls advice?
    R

    Hi Rubane
    If the actuals and planning data are in seperate cubes then you will need to create a multi over both cubes to report on them together. However your BPS planning must be done against the same infoobject for you to be able to report on them together. If you are planning against the same IO the groupings from R3 will apply.
    Also include the infoobject 0REQUID as a characteristic restriction and restrict it to variable 0S_RQMRC (Most Current Data)
    Josh

  • Profit center - actual data and plan data question -?

    Hi Gurus
    Please clear my doubts in profit cneter accounting.
    1) what is PLAN data  -? (What is planning in a bigger picture)
    why do we need plan data -?
    2)ACTAUL data will be posted in the profit center from other SAP moduldes.
    So with out PLAN data  prrofits can not be figured -?
    OR
    Plant data is for some other purpose -?
    Please can some help me on these -? Alos any examples are really good for me to understand
    Really appreciate.
    Thanks
    Kris

    Hi,
    Profit centers captures actual revenues & expenses of the business transaction.  The company arrives the
    net of income over expenses and analyses whether the Profit center is making Profit or not.  Now they
    want to control the expenses and have a target set to expand the revenue base to optimize profit.
    For this they have to plan each costs and revenues over a period for a Profit Center.  When they
    plan values for these profit centers they have to take into consideration the business trend over
    next 12 months and the plan is set for each period.  Actuals are posted in normal day to day transactions.
    During period end, the analysis is being done to see the variance between plan and actual and measures
    are taken to control the areas to reduce these variance which may affect Profit.
    Regards,
    Sadashivan

  • Variance report for planned vs actual 261

    Hi Experts,
    Is there a variance report for planned v/s actual raw material consumption for an order when the order is still running? I mean when only the partial quantities are confirmed (PCNF, PDLV)?
    Regards,
    Sachin

    Hi,
    Always the plannig is done for ordered quantity and the actual quantity is what actually used.
    Pl. use T code CO02/CO03 - Goto - Cost Analysysis, you will get the details which you are looking for. If the layout doesn't suits your requirement, change layout with change options.
    Madhava

  • How Distinguish planning data and Actual data in a Planning cube

    Hi,
    I want to dispaly planning data & actaul data in a query how can i do it?
    in my query it is showing all the requests it is not distinguishing.

    Well use infoobject 0VTYPE for actual and plan differentiation
    and 0VERSION to categorise which version of Plan data it is,typically you might have different planning versions .
    Example
    0VTYPE = 10 actual
    0VTYPE = 20  plan
    0VERSION = 001
    0VERSION = 002
    0VERSION = 003
    Business decides which 0version value to be taken as final planning version once freezed.0VTYPE = 10 for actuals is always one ,it do not have 0VERSION to be taken in to account.
    Hope it Helps
    Chetan
    @CP..

  • Fieldes planned delivery date and actual good recipt date for SAP QUERY

    Hi Gurus
    I am changing sap query. I need to find two fieldes  : planned delivery date and actual goods recipt date
    I dont know MM tables, do you know wrhere are?
    in table EKPO i don't find the fieldes.
    Thanks in advance

    Thank a lot!
    Regards

  • Fox formula for actual/plan data  - Planning function

    Hello,
    I am working on the following scenarios for developing a  planning functions for a monthly forecast.
    It is rolling montly forcast where user starts the planning in Jan and he has to show the actaul value for the month of Jan and blank values for the remaining 11 months of the year and then the user post his new forecast values for the remain 11 of the year(to replace initial balnk values) so that the data will be saved to real time cube with version v108
    In Feb, Jan & Feb months has to show the act values and remaining 10 months has to show last month forecast data. The the user may revise the forecast for the 10 months and then we have to write the data to the real time cube with version v208
    In Mar, Jan, Feb and Mar has to show the actual values and the reamining 9 months has to show the last month forecast and then users may revise the forecast data and then i have to write back to the cube with version v308.
    I want to automate this process for all the months and all years without manual intervention. So, i decideed to write a fox formula for this scenario with following draft code.
    I will get the fy period & year as a variable values and then take the system date into the variable
    for each fy period
    if the fy perio <= sys date.
      {version, infoprovider,value type,amount} = {0,act cube, 10, 0amount)
    else
    {version, infoprovider,value type,amount} = {result,plan cube, 20, 0amount)
    endif.
    result will be calculated on the separe routine and populated here
    case (fy per)
    when 01.
    concatenate v1 with fy+2(2) into y
    result = v1+y
    when 02.
    concatenate v2 with fy+2(2) into y
    result = v2+y
    when 03.
    concatenate v3 with fy+2(2) into y
    result = v3+y
    when 04.
    concatenate v4 with fy+2(2) into y
    result = v4+y
    when 05.
    concatenate v5 with fy+2(2) into y
    result = v5+y
    when 06.
    concatenate v6 with fy+2(2) into y
    result = v6+y
    when 07.
    concatenate v7 with fy+2(2) into y
    result = v7+y
    etc...for all months
    So, can you please let me know the best way to implement this (either by fox formuls or exits)...your inputs are really appreciated
    Thanks,
    Srini
    Edited by: srini on Mar 28, 2008 12:05 PM

    Hi Srini,
    If I 've understood u r problem clearly ,You have to write two Fox Functions and you can call exit variable in both to check the system date.
    I think first you should create exit varriable which would return the system date,use the same variable in data slice to lock the data till current period.
    After that create one fox restricted with any one version where you can copy the data for planning .for example:-
    1)First Fox:-
    DATA TIM_FISCPER TYPE 0FISCPER.
    TIM_REF_FISCPER = VARV(ZEXIT_FPER).
    Get the last month
    version using modlue or any another logic .(v108)
    FOREACH TIM_FISCPER.
        IF TIM_FISCPER <= TIM_REF_FISCPER.
      {0amount,version(001) ,tim_fiscper} = {0amount,version(000) ,tim_fiscper}.
    else.
      {0amount,version(001) ,tim_fiscper} = {0amount,version(v108) ,tim_fiscper}.
         endfor.
    Its just n example use the granularity according to the requirement.
    2)Second fox would save the changed plan data:-
    DATA TIM_FISCPER TYPE 0FISCPER.
    TIM_REF_FISCPER = VARV(ZEXIT_FPER).
    Get the last month
    version using modlue or any another logic .(v208)
    FOREACH TIM_FISCPER.
        IF TIM_FISCPER > TIM_REF_FISCPER.
      {0amount,version(v208) ,tim_fiscper} = {0amount,version(001) ,tim_fiscper}.
         endfor.
    Here ZEXIT_FPER is an exit variable created using cmod and populated with system date.
    Hope it will helpful for u.
    Rgds,
    Indu

  • Actual goods issue date required to be equal to planned goods issue date

    Hi All,
    Can anybody tell me on what basis does the actual goods issue date get determined and what needs to be done if we want to restrict the actuall goods issue date to be equal to the planned goods issue date?
    Avinash

    Avinash,
    Can anybody tell me on what basis does the actual goods issue date get determined
    ???? It is the date that the goods are actually issued from stock, e.g. whatever the date was when the delivery was actually issued, that is the date that is normally written to this field in the delivery.
    what needs to be done if we want to restrict the actual goods issue date to be equal to the planned goods issue date
    That's a pretty restrictive criteria.  Basically, you are telling the warehouse that they are not able to issue the goods early or late.  In companies I have seen, that would constitute a lot of deliveries.  Hope your customers don't need the parts....
    Anyhow, the restriction would have to be against the goods issue transactions being used by the warehouse.  I don't believe there is any standard configuration that creates such a restriction, so it would require custom development.  If you pursue this restriction, make sure you leave yourself some kind of override.
    In many companies, this problem is handled through policy and procedure.  Warehouse manager simply creates a policy about early and late goods issues.  The system will track discrepancies in the case the policy is not followed.
    Best Regards,
    DB49

  • Diff between Actual & Planned data.

    Hi
    Diff between Actual & Planned data.
    Thanks
    Kawal

    Hi,
    You can do it with help Transaction cube. Create a basic cube and transaction cube.Go to the transaaction cube Rght click on the cube select the Switch on the traction cube you get 2 radio buttons where u can load and planning on the cube .
    When u select on planing u can't load the data but wen u select the Load Radio button u load the data and compare with basic cube.To be presice it is the concept of BPS(Business Planning Simulation) part of SEM.

Maybe you are looking for

  • The Microsoft Exchange Administrator has made a change that requires you quit and restart Outlook

    Hi We have 2 separate Exchange 2013 organisations in Our Company. All mail comes in on the first server registered With domain1.com and if it is mail Connected to the second server it is forwarded to server 2 which is registered With domain2.com. Whe

  • Which memory would you perfer

    ok i was reading alot of messages about memory for the k7n2 delta l board and i cant stop thinking which memory i should get i understand cheap memory is cheap and good is good all i have is $110 to spend on memory since i m low on cash because of co

  • IPhone 4S : Yellow pictures with the camera ?

    Have you the same problem ? I take some photos with the iPhone 4S and the iPhone 4. On the iPhone 4S, all pictures are yellow You can see my test here : http://gallery.me.com/julien.dufrenne#100286&view=carouseljs&sel=0

  • Is it possible to download a previous version of an app via itunes?

    Hi, when i try to download the app in my iphone it let me download the previous version but the wifi fails and the download gets cancelled. i cant download it with my data plan. the app is the elements: a visual exploration. thanks.

  • Nesting stages without new stages appear as a popup?

    Hi! I would like to load different stage inside current when I press the specific button to load stage. But what is happening it is loading as a popup instead. How can I load the stage I specified in functions to load winthin current stage and not as