Displaying Actual & Planned Data

Hello,
I need to create a query which is built on a MultiProvider. This m/p looks at 2 Infocubes for it's data - one i/c containing actual data the other containing planned data.
The query I need to create should have account numbers in the rows, but the more complicated requirement relates to the columns.
In the columns I need to display the periods of the year. Within each period, I need to display the credit & debit posting values.
The above can be created easily enough, but the issue I have is how to display the actual data for the periods that have actual data and then just display the planned data for the remaining periods.
The problem relates to the Planned data InfoCube as this contains "old" planned data for periods where we now have Actual values.
Can anyone suggest anyway of doing this?

Hi Mark,
Dont you have any characteristics to differentiate the planning numbers from last month any current month. Say, how do you differentiate the plan numbers April, planned in Feb & Mar?
Anyways, the solution I can think of is to create the Actuals as selection in the Key Figure structure and restrict the period by the 1st of Jan, (Entered Year by User) to Either Current Date or if year entered is last year then 31st Dec, (Enetered Year by user).
Say, user enters 2007, in that case Actuals will be restricted by 001/2007 to 012/2007. If user enters 2009, in that case restrict the period by 001/2009 to 003/2009. For the same cases, Plan can be restricted by 001/1000 to 001/1000 if 2007 is entered (any previous year) or if current year is entered, restrict by current period (004/2009) to end of the year (012/2009).
I know this customer exit will be tricky, but that will solve your problem.
Thanks,
Danny.

Similar Messages

  • 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.

  • 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

  • Excel 2007 error when displaying GL Planning Data (GP12NA)

    Dear All,
    T-code:GP12NA
    When i display the GL Planning Data using the integration with office excel 2007, the cell automatically becomes to date and time format on the value field.
    But when i display using integration with office excel 2003, the GL Planning data is displayed correctly.
    Appreciate if someone could address me on this issue.
    Many thanks.

    Hi Jason,
    I did not able to solve the problem.
    Alternatively, I created 2 planning layout assigned to one planning profile.
    1. Layout 1 - Integrated with excel (tick)
    I used this layout for for uploading GL planning figures using the t-code GLPLUP.
    2. Layout 2 - Integrated with excel (do not  tick)
    To display the GL Planning figures, i used this profile in t-code GP12NA. By this way, the figures are correctly displayed without any formatting error.
    I assume this due to patches that needs to be upgraded in order display excel 2007 correctly.
    Please reply me if you need further clarification.

  • OBIEE - (Actual - Plan) Calculation

    HI,
    I have a simple question on OBIEE.
    I am using Obiee with Essbase and have a simple calculation to calculate (Actual - Plan) Data.
    FILTER("SalesFlat"."Sales" USING "Scenario"."Gen2,Scenario" = 'Actual') - FILTER("SalesFlat"."Sales" USING "Scenario"."Gen2,Scenario" = 'Plan')
    This works fine if i have Actual and Plan Data. However, if one of the value (Actual or Plan) is missing, obiee gives null.
    It works if i use CASE statement or direct essbase formula.
    Any suggestion is highly appreciated.
    Thanks
    Sam.

    Something like
    (ifnull(A,0)/ifnull(B,0) - ifnull(C,0)/ifnull(D,0)) * ifnull(B,0)
    btw: Generally fact metrics should be 0 try to handle it in db or using etl

  • KP97 - Planning data flow to SPL

    Hi,
    I need some clarity on the process I am doing.
    I created a planning version and copied all actual/plan data from version - 0.
    Business user maintained values against SKF in KP46.
    When I tried to do KP97 the values got copied over, however with negative sign.
    I am not sure why it is copying with negative sign.
    Any suggestion.
    Thanks

    Hi,
    The link below provides examples as to why negative values are possible under transaction kp97:
    854413 KP97ff.: Copying a percentage share
    Thanks,
    Robin

  • Report to display (actuals data from one cube and plan from another)

    Hi Gurus,
             I have a requirement in reporting to display actual data from one cube and plan data from a different one.
            The example below might give a clear picture of the requirement.
    rows has key figures and columns = months
    Jan |  Feb |  Mar |  Apr |  May |  Jun  ...   ....
    GrossSales
    Net Sales   
    Now if I run the report for Current month (Apr), then for the months of (Jan, Feb and Mar) i need to get the data from CUBE1   and for the remaining months (Apr thru Dec) from CUBE2.
    Similarly when i run the report next month(may), 
    then (data for Jan, Feb, Mar, Apr  from CUBE1)
    and ( May thru Dec from CUBE2)
    Any suggestions.
    Thanks in Advance
    Kumar

    Hi Henry,
         We alreadey have a multi provider which includes
    FinDat Cube(CUBE1) for actuals and Comm.Goals cube (CUBE2) for plan.
    So you suggest that we have two versions of key figure for actual and plan.
    ie. each KF will have two versions.
    actuals = (version 10, FiscPer<curr.mnth, key figure, acutals cube)
    Plan = (version 20, FiscPer>=curr.mnth, key figure, comm.goals cube)
    eg:
    Jan | Feb | Mar | Apr | May | Jun ...
    GrossSales(Act)
    GrossSlaes(Plan)
    Net Sales(Acutal)
    Net Sales(Plan)
    Correct me if I am wrong.
    the report has a lot of key figures, having two versions for each kf will be confusing.
    the user would like to see
    Jan.....| ...Feb  |..Mar |..Apr.....|  May  | 
    GrossSales   Act Value|Act.V |Act.V| PlanVal|PlanVal|
    Net Sales
    where Act.Value is from CUBE1
             Plan Value is from CUBE2
    Thanks
    Kumar

  • How to display planned movement date and actual movement date together?

    Hi, Professionals,
    My purpose is to list delayed outbound deliveries.
    Anyone could tell me how to display planned movement date and actual movement date?
    Appreciate your help.

    Thanks Shiva.
    I tried another way to do it. It works only for a short period of time.
    By using VL06O, I list all outbound deliveries by limiting both planned goods movement dates and actual goods movements dates to the same week I would like to inspect. Say both from 7th/11 to 14th/11.
    then I list outbound delivery list with planned goods movement date to 7th/11 but left out actual goods movements dates this time.
    In excel, I compare those two lists and filter out those unique ones because those unique documents means delayed deliveries which cannot delivery according to planned date.
    However, the "delayed" list generated by this method has some noises. Not all of documents are really delayed although most of them do.
    I'm also looking for a way to list sales documents number of these delayed delivery documents so i can retrieve order details from it such as order value.
    Help still needed.

  • Data from two cubes to display in same grid - Actual/planned comparison

    Hi All,
    I want to show planned and actual data in the same grid. For example,
    qty-2011001     qty-2011002     qty-2011012
    actual   plan      actual    plan     actual     plan
    Here quantity is shown for fiscal year periods. For each fiscal year period actual and planned quantity should be shown in adjacent columns in bex analyzer. But in my model actual and planned data are in two different cubes. So how can I show in the same grid.
    I thought of creating a multiprovider or infoset and by combining them we can pull data from both of them to show in the same grid. But it resulted in errors.
    I was wondering if there are any interesting workaround for this.
    Thanks and Regards,
    Jerry

    Hi,
    this is a standard requirement and very easy to model. To key figures (actual and plan) are not need.
    1. Create a cube for actuals A and one for plan data P. Both contain the same key figure.
    2. Create a multiprovider with both cubes and use the default mapping for key figures and characteristics
    3. Create an aggregation level on top of the multiprovider with the characteristics and key figures you need
    4. Create a query with two restricted key figures, e.g.
    Quan actual: restrict by 0INFOPROV = A
    Quan plan: restrict by 0INFOPROV = P, make this element input-ready.
    Drill-down 0FISCPER on columns.
    Thats all.
    Regards,
    Gregor

  • Planned Delivery Date and Actual Delivery date.

    Hi,
    Is there a report in SAP which shows the delivery date of a PO line item and actual GR posting date from PO history in one report?
    I need to display the planned delivery date and actual delivery date in one report, preferably in columns next to each other.
    Thanks in advance.

    Hi
    To my knowledge there is no such report. You will have to develop this report through ABAP help. You need to pick the planned delivery date from the PO and GR posting date from material document. Both this fields (EEIND & BUDAT) can be viewed in the PO history.
    However, challenge will be when you have multiple delivery dates and receipt posting dates are for part quantities.
    Regards,
    Jagadeesh

  • 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}

  • After closing request plan data are not longer displayed

    Hello all,
    guess it's a standard problem but can't find a solution in the forum.
    Scenario:
    I created a planning cube and an aggregation level with two key figures, a workbook
    based on the planning cube and a cube with actual data. The workbook showed the
    the actual data and the so far entered plan data, so everything worked fine, but after closing the request
    in the plan cube manually by switching to loading and back, the workbook doesn't show the plan data anymore.
    Planning is not finished, so its necessary to see the already planned values.
    Thanks
    jg

    Hi,
    I think this is an inconsistency of the OLAP cache used in the plan buffer. Clear the cache of the plan buffer query via RSRT or RSR_CACHE. The plan buffer query has the following technical name
    - IC/!!1IC if the input ready query is defined on an aggregation level on the InfoCube or on a multiprovder that contains an aggregation level as partprovider that is defined on InfoCube IC
    - MPRO/!!1MPRO if the input ready query is defined on an aggregation level on the multiprovider MPRO
    For a final solution earch for notes in the area of OLAP and OLAP cache in connection with planning.
    Regards
    Gregor

  • Is there standard report for planned and actual devlivery date?

    Hi Guru,
    Could you help me to find standard report to compare planned delivery date in PO and actual delivery date (GR Posting date)?
    I wonder, Is there standard report for planned and actual delivery date?
    or I have to create a customizing report.
    Thank you very much.

    hi
    i dont think it is possible to see both in one pan so try to create some Z report
    u try ME80fn here u have to change the views ,in del shedule view u can see the delivery dtae and in PO histry view u can see the posting date
    regards
    kunal

  • 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..

  • 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

Maybe you are looking for

  • Transport of Transformation failed with RC= 12 and job: RDDEXECL cancelled in Target sytem

    Gurus, When i am importing the workbench request from dev to qty. I am getting error : Program terminated (job: RDDEXECL, no.: 22321300). Transformation contains only Endroutine. Job log: Job started Step 001 started (program RDDEXECL, variant , user

  • Send Using: option not available when replying to emails

    I have multiple e-mail accounts setup on my flip. Yahoo, Gmail, Hotmail, work account on BES. When I reply to any message I got to my Hotmail account, at the top there is a 'Send Using:' and it is set to the account I am currently replying from, in t

  • Prefixing sequence with schema name in generated sql on oracle

    Hi, We use kodo 3.4 with an oracle database in a J2EE environment. When we put on the kodo tracing during on of our testcases we see statements being generated like : select LOOPBAANPERIODESEQUENCE.NEXTVAL from DUAL When we check the rest of the stat

  • Listen for Events from anywhere

    Hello! I have an application with a rather complicated component hierarchy. How can I have it so that I can listen for events from any component in any component, regardless of who is who's child? Thank you!

  • Script or Action to convert the .Indd File into PDF???

    Hello All, I am in need of a Action or Script to convert the InDesign CS4 Files to PDF Format. I already experiment some action in Illustrator which helps me a lot to reduce my process time. so i need a same kind of action or script to convert the Ba