Change actuals to forecast depending on month ?

Hello BW Experts,
Scenario:
1) i have 12 columns in the report. Jan - Dec
2) If the report is run in Jun, it should show Jan to Jun actuals; July - Dec forecast data
     if the report is run in sep, it should show jan to sep actuals; oct - dec forecast data
3) i have a cube1 for actuals; cube2 for forecast
4) i have to change the text of the column along with the data in the column.
challenges:
1) change the actuals or forecast in the text of the columns according to the month the report is run
2) change the actuals or forecast data in the columns according to the month the report is run.
How to do this Bex ? Any suggestions appreciated.
Regards,
BWer

Have 12 columns – each column hardcoded to a month. And have posting period in the filter are with a user entry type variable, for the user to enter the period.
Now in each column selection – you would have month hardcoded and include dataprovider too (As you are not using value type to distinguish the actual and forecast) and further restrict it with a variable of type customer exit. One new customer exit variable for each perid – so 12 variables.
For JAN variable - in the exit, ur logic would be to read the posting period passed by the user. And if the value is greater than equal to 1, the value you would pass back on the dataprovider would be the actuals cube, if not pass back forecast cube as the variable value.
This way, any month is less than equal to user entered period would get the amount value from the actuals cube else from forecast cube.

Similar Messages

  • Input query with dynamic actual & forecast values by month per year

    Hello,
    I am working on a Input ready query for a forecasting application which shows both actuals and forecast numbers and the user will revise the forecast numbers by month
    Requirement: I want to build a Input query for monthly forecasting for the current year. It will be dynamic rolling of months with actuals & forecast data.
    E.g. My report has 12 months for the current year
    and if run the report in May, the months before May has to show the actuals and the months after May has to show the old forecast data so that the user will revise the numbers again in each month and save the data to the real time cube.
    Jan.Feb.Mar.Apr.May.Jun.Jul.Aug.Sept.Nov.Dec
    Act Act  Act Act Act  Old frcst for the remaining months
      user will revise forecast for these months
    So, i am able to create Input query with all restricted key figures( plan kf has change mode set to change, actual kf are not set change) and calculate key figures and all the logic is done on dynamically moving/rolling the data based on the input month of the year.
    But the problem is that i am using cal kf to dynamically roll months, i was not able to set the change option for the cal kf.
    So, how can i make sure that the dynamically changed plan months will open for entering forecast and the actuals months not to change?
    Do you guys have any better solutions in implementing it?
    I really appreciate it your input....:)
    Thanks,
    Srini

    Hi,
    Please look at the following DOC which may be useful to you and if so please grant me point.
    Regards,
    SUbha'
    Input-Ready Query
    Use
    You use input-ready queries to create applications for manual planning. These can range from simple data entry scenarios to complex planning applications.
    Integration
    You define a query that you want to use for manual planning in the BEx Query Designer (see Defining New Queries).
    In the Web Application Designer or the BEx Analyzer, you can combine the input-ready queries with other queries and planning functions to create complex planning applications.
    Prerequisites
    You can define an input-ready query on any of the following InfoProviders:
    ●     Aggregation levels (see Aggregation Levels)
    ●     MultiProviders that include at least one simple aggregation level
    The aggregation levels are created in the planning modeler; MultiProviders are defined in the modeling functional area of the Data Warehousing Workbench.
    Features
    Definition of an Input-Ready Query
    Once you have defined a query on an InfoProvider, you see the Planning tab page under the Properties of structural components (for example, in key figures or restricted key figures). The options provided there allow you to determine which structural components of an input-ready query are to be input ready at runtime and which are not. With structural components that are not input ready, you can also determine whether these components are viewed as reference data or are just protected against manual entry.
    For the structural components, you also have the following options:
    Input readiness of structural components of a query
    Option
    Description
    Not input ready (reference data)
    If they are being used as reference data, the structural components are not protected by data locks to ensure exclusive access for one user because this data serves as a reference for many users.
    This is the default setting.
    Not input ready (no reference data)
    If you want to protect structural components against manual entries but allow changes by planning functions, you can use locks to protect this data for one particular user. In this way you can ensure that the planning function works with the displayed data only and not with data that has been changed by other users.
    Input ready
    You can also determine whether an input ready query is to be started in change mode or in display mode. You find this property in the Query Properties on the Planning tab page. If there is at least one input-ready query component, the query (as long as it has not been determined otherwise) is started in display mode.
    In BI applications that use input ready queries as data providers, you can enter data manually at runtime. For more information, see Performing Manual Planning and Creation of Planning Applications.
    Example
    You want to create an input-ready query for manual planning for a plan-actual comparison of revenues for a set of products. You want the plan data in a real-time-enabled InfoCube and the actual data in a standard InfoCube.
           1.      Create a MultiProvider that includes the InfoCubes for the plan and actual data.
           2.      Define an aggregation level on the MultiProvider which contains the characteristic Product and the key figure Revenue.
           3.      On the aggregation level, create two restricted key figures Plan Revenue and Actual Revenue. For restriction, choose the characteristic 0INFOPROV and restrict it to the plan or actual InfoCube.
           4.      Add the restricted key figures to the key figure structure. Insert Product into the rows. For Plan Revenue, choose Input Ready for the input-readiness option. For Actual Revenue, choose the option Not Input Ready (Reference Data).
           5.      In the query properties, set the indicator that determines whether the queries are started in display or change mode as required.
    Example of an input-ready query
    Product
    Plan Revenue
    Actual Revenue
    P01
    20
    P02
    30
    If you want to keep actual and plan data in a real-time enabled InfoCube, you do not require a MultiProvider for the task described above. Create an aggregation level on the InfoCube and define the input-ready query for the aggregation level. In the example above, a version characteristic acts as the InfoProvider. Create restricted key figures with the plan or actual version and proceed as in the previous example.

  • Month to date Actual vs Forecast

    Hi Experts,
    we have Reporting Requirement like
    we have monthly sales forecast product vise and sales actuals daywise, now we need to design the Report which shows Actual vs forecast Month to date.
    to design a report for actuals month to date we can get straightfarword, when comming to forecast we have a monthly target so when we showing the actual vs forecast month to date, i need to derive the forecast value as of date(1st of month to current date) from monthly forecast.
    for example my month forecast is 180EA,
    lets assume we are in 10th day of the month
                               10th MAy
    Actual                 50  EA              -
    (month to date - 1st May to 10th May)           
    Forecast             60  -
    calculation month target * 10/30
    how can we achive this Requirement.
    Thanks & Regards
    Chandra

    Hi Experts
    Thanks for for quick response,
    Here i need to show the Report month to date  like if we are 10th may(say month target is 270 EA )
                     1st  2nd  3rd  4th  5th  6th  7th  8th 9th 10th
    Actual       10   18    25   30    45  55   65   70   80   85
    Forecast   9     18    27  36    45   54   63   72   81   90
    Here actual, fore cast values needs to aggregate with previous dates value.
    like   3rd may actual = 1st may actual + 2nd may actual + 3rd may actual
          3rd may Forecast = 1st may Forecast + 2nd may Forecast+ 3rd may Forecast
      4th may actual = 1st may actual + 2nd may actual + 3rd may actual + 4th may actual
    4th may Forecast = 1st may Forecast + 2nd may Forecast+ 3rd may Forecast + 4th may Forecast
    can any one suggets me  how can we achive this requirement.
    Thanks & Regards
    Chandra

  • Actuals and Forecast Data

    Hi BI Gurus,
    I have a sales multiprovider(zsd_mc01) which contains the Actual data and forecast data.
    Actual data is coming from my sales cube(0sd_c03) and Forecast data is coming from the Forecast cube,Integrated Planning  (Zsd_for).
    Now I have a keyfigure Actual quantity in Actual cube and   forecast quntity in forcast cube.
    If I create a query actual/forecast quantity on multiprovider I  need to populate the actual and forecast data in a single row in the report.
    Example:
    If the user enters april 2007,
    The data should be populated in a single row like this:
    Jan2007,Feb2007,March2007,April2007 Actual quantity ...from May2007 to December 2007 Forecast quantity.
    How I can Proceed for Populating Actuals and Forecast Data in a Single Row.
    I am getting in Two rows but I need it in one row.
    Please Suggest any solution on this...I will appriciate and rewarded
    Thanks,

    Hi Irwin,
    I was not around for a few days, hence, delay in writing this to you.
    I am going to give to some kind of a pseudo code here. You might need to take help from an ABAPer to close the open ends here (Please excuse me here incase you yourself have an expertise in ABAP, I am just assuming otherwise).
    Going back to my earlier response to your question, I am considering two variables:
              <b>ZC_ACTV: For Actuals
              ZC_FORV: For forecasts</b>
    You would need to create them as <i>Customer-Exit</i> kind of variables. They should be able to hold<b> dates</b>.
    I am assuming that you already have a User Entry variable for entering month on the selection screen. I'll call it <i><b>ZP_MON</b></i> (Please substitute the actual name).
    Now, the code in the include <b>ZXRSRU01</b>, within the <i>CASE-ENDCASE</i> statement, would look something like this.
    * Some data declaration in the beginning, if already not there.
                 DATA: l_s_range TYPE rsr_s_rangesid.
                 DATA: loc_var_range LIKE rrrangeexit.
    * For ZC_ACTV
                   WHEN 'ZC_ACTV'.   " Variable name
                     DATA : v_year(4) TYPE n        ,
                   v_mon(6)  TYPE n        ,  "This is assumed to be in format YYYYMM
                   v_amon(6) TYPE n        ,
                   v_fday    LIKE sy-datum ,
                   v_lday    LIKE sy-datum .
                     IF i_step = 2.
                       LOOP AT i_t_var_range INTO loc_var_range WHERE vnam =  'ZP_MON'.
                         CLEAR l_s_range.
                         v_mon = loc_var_range-low.
                   v_year = v_mon+0(4).
                   CONCATENATE v_year '0101' INTO v_fday.  "This will create 1st Jan for entered year
                   ADD 1 to v_mon.
                   CONCATENATE v_mon '01' INTO v_lday.
                   v_lday = v_lday - 1.                " This will create last day of the entered month
                         l_s_range-low   = v_fday .
                         l_s_range-sign  = 'I'    .
                         l_s_range-opt   = 'EQ'   .
                         l_s_range-high  = v_lday .
                         APPEND l_s_range TO e_t_range.
                         EXIT.
                       ENDLOOP.
                     ENDIF.
    * For ZC_FORV
                   WHEN 'ZC_FORV'.   " Variable name
                     DATA : v_year(4) TYPE n        ,
                   v_mon(6)  TYPE n        ,  "This is assumed to be in format YYYYMM
                   v_amon(6) TYPE n        ,
                   v_fday    LIKE sy-datum ,
                   v_lday    LIKE sy-datum .
                     IF i_step = 2.
                       LOOP AT i_t_var_range INTO loc_var_range WHERE vnam =  'ZP_MON'.
                         CLEAR l_s_range.
                         v_mon = loc_var_range-low.
                   v_year = v_mon+0(4).
                   CONCATENATE v_year '1231' INTO v_lday.  "This will create 31 Dec for entered year
                   ADD 1 to v_mon.
                   CONCATENATE v_mon '01' INTO v_fday.    " This will create last day of the entered month
                         l_s_range-low   = v_fday .
                         l_s_range-sign  = 'I'    .
                         l_s_range-opt   = 'EQ'   .
                         l_s_range-high  = v_lday .
                         APPEND l_s_range TO e_t_range.
                         EXIT.
                       ENDLOOP.
                     ENDIF.
    Once again, if the granularity of your cube is monthly, then this logic would change accordingly.
    This should help. Feedback is awaited.
    Best regards,
    Sanyam

  • Dynamic webform with actual and forecast scenarios data

    Hello,
    How to design a Plannning WebForm having 12 columns for months (Jan to Dec), displaying actual scenario data for past months, and allowing input of forecast scenario data for the current and future months ?
    I guess i could put 12 substitution variables in columns titles : &scen_i = actual or forecast.
    1) Is it OK ?
    2) No way to use Planning variables instead of Essbase variables ?
    3) Your solutions will be appreciated. Thanks
    Philippe Cuisset

    Well the idea of copying the actuals to fcst scenario is a good one. I have a similar issue currently where i have some actual months combined with FCST months. The problem is actual months must be read only and fcst must be writable. So even though i copy these actuals to Fcst, i cannot prevent users from changing actual months data.
    Another solution that i found is to use shared members. Creating a seperate member with chiildrens as months.
    I simply define Childrens of the member in the webform. After every month i add a extra child(month) without touching any of the webforms. I have not studied it entirely yet but sounds to be interesting Let me know your views.
    Thanx
    sam

  • Need to display different colors for Actuals and forecasting values in WAD

    Hi Gurus,
    My requirement in the report is, I need to display different colors for particular values like Actuals(say value type 10) and for forecasting values(say value type 20) , and data will uploaded from flat file.
    Scenario : If I upload the data for March Month, I receive actual values upto March(Jan to March month) and from April to Dec(Forecast values with value type 20),  Every month I will be getting file and similarly for subsequent months, i will get current month actual values and forwarding months forecasting values,
    Now , my requirement is, When ever i execute the Report, Say if i execute for April Month, Upto April( Jan to April for actual values should be displayed in one color) and from May to Dec ( forecast values should be displayed in different color).
    I had tried with following options like exceptions and could not display , as it runs based on key figure values where as my requiremnet is based on the CALMONTH , i need to show different colors for both actual and forecast values.
    Kindly, help me out from this,
    Thanks

    Hi,
    it is not necesseary that you need to do that in WAD , you can do the same in BEx platform, Since WAD is build above the bex reports. so automatially any changes done in Report will be replicated in WAD
    Go for Exceptions in Bex. Give some range for Actuals and Forcasting at the creation of the exception.
    if you do those changes in BEX automatically it will replicate in the WAD.
    for more information please read this link
    http://help.sap.com/saphelp_nw04/helpdata/en/68/253239bd1fa74ee10000000a114084/content.htm
    hope this will solve your problem.
    Santosh

  • Changes in Demand Forecast after its final release.

    Hi
    We are releasing final forecast of next month in the mid of previous month (e.g. on 15th Jan we will release final forecast of Feb ) to SNP. Then in Feb'09 can we make chhanges in Forecast because in Feb'09 the feild is grey out and also it is not fesible to change the forecast of current month. Or this should taken care in SNP.
    Pls suggest.
    Regards
    Vikas

    Hi Vikas,
    Dave is right. If you have defined your periods in months (assuming start date as 1st of every month) and if you wish to change the forecast during the current period, then the purpose / meaning of forecast itself is defeated.
    You may have another key figure say , "Manual Correction to FCST" and the changes entered in this window (which can be kept open - editable until month end of current period) can be absorbed by Safety stock. This safety stock can be brought from SNP and can be made to reflect in DP Plng book. Any adjustment made will create a demand. You may have to alter / write Macros accordingly.
    Key Figures-- Oct-Nov-Dec-Jan-Feb-Mar-Apr-May-Jun-Jul-Aug-Sep-Oct-Nov-Dec
    Sales----
    Forecast -
    800-550-950-750--
    MCtoFCST--100-
    Safety Stk--400-
    Other Key Figs..............................xxx---
    Other Key Figs..............................xxx---
    Net Rlse to SNP.............................xxx...
    In fact , in this process you can set a limit to which the change is permissible (say to the extent of safety stock or a % of safety stock) and raise alerts using Macros.
    Rgds, TRR
    T Raghu Raman

  • Sales order actuals vs forecast

    Hi,
    I would like to have a report showing the difference between the sales order actuals and forecasted amount for a particular inventory item.I guess for the actuals, data can be taken from the oe_order_headers_all and oe_order_lines_all .
    The tables mrp_forecast_updates,mrp_sales_order_updates seem to contain data which gets changed as the sales orders are created.From which table can i get the total forecasted quantity for a particular inventory item over a given period of time?
    Thanks & regds,
    Nithya

    Hi,
    Can you please clarify whether you are looking at consumption within APO or on R/3 side.
    B/R,
    Prem

  • Actuals VS Forecast by Period indicator

    My customers have a current BEX report that shows actuals and forecast data for the income statement for a 12 month time period.  They have asked to have an indicator set to show what is actuals, and what is forecast.  This will roll each month as time progresses.  For example, if I am in period 5, periods 1 - 4 will show as Actuals, and 5 - 12 will show as forecasts.  In period 6, 1 - 5 will show as actuals, and 6 - 12 will show as forecasts.  They would like to color code the data to visually indicate if the values are actuals or forecasts.
    We know we can do this with VB code in the workbook, but that doesn't transfer to the WEB when using the queries in the WEB.  We also know that we could probably use JAVA script and the WAD to create something on the web.  But - then there are two objects to maintain.
    Has anyone else had this challenge, and how did you address it?  Does anyone know if NW2004s has any functionality that would help us in this case?
    We are on BW3.1c.
    Thank you!
    Chris Arthur
    Rockwell Collins, Inc.

    Hi,
    Thanks for your reply.
    Please advise how do I save the excel layout in KP06 for upload?
    I tried on plan data->format to print form. and Then List->export->local file.
    Is this layout correct for upload?
    I uploaded data with this format in .TXT , but I got an error file description ".... does not exist"

  • Hi, I changed my credit card, so my monthly pâyment expired. Now I changed the credit card details online...but I still can't use bridge or photoshop. I tried everything I could do as suggested online...

    Hi, I changed my credit card, so my monthly pâyment expired. Now I changed the credit card details online...but I still can't use bridge or photoshop. I tried everything I could do as suggested online...
    Can you help me asap?

    Unfortunately, only Adobe customer service can assist you with your issue. These are user forums; you are not addressing Adobe here.
    Click on the link below, and after that click on "Still need Help? Contact us."
    Then on the next page, click Chat
    There is also a phone option.
    http://helpx.adobe.com/contact.html?step=PHXS_downloading-installing-setting-up_licensing- activation

  • How to change the image dynamically depend upon the input parameter

    Hi All
    I have one report running depend upon the Organization specific, I have 15 operating unit and 15 different logo for each operating unit.
    How to change the Logo dynamically depend upon the input passed by the user.
    If I have three or four logo i can add in my layout using if else statement and its works fine but i have more that 10 logos so its no possible to keep these in My RTF Template.
    Is it possible to change the logo according to the input without keeping this in Template.
    I have seen this link but its not working fine
    http://erpschools.com/articles/display-and-change-images-dynamically-in-xml-publisher
    Regards
    Srikkanth.M

    Hi,
    I have not completed fully,so sorry i cant able to share the files, could you please give me some tips and steps to do.
    Without having the logo in RTF if it possible to bring the logo depends on the user input (Ie Operating unit).
    Regards
    Srikkanth

  • Depreciation Forecast for 12 months

    Hi,
    Is there any report which gives the depreciation forecast for 12 months rather than 5 periods?
    Regards
    Madhu Vutukuri

    Hi
    You can Check the Report AR13.
    Select the Select Assets CheckBox.
    Under Further settings for Planning , it is must to select Planning on Cost Center CheckBox and Test Run CheckBox as the report is Primary Cost Planning.
    Kindly execute this in Test Run only.
    This report will display the Depreciation Forecast for periods as you require.
    Regards
    Venkat

  • Joining Actual and Forecast Data

    Hi All,
    I have two cubes one for actual and one for forecast data. In the actual cube data comes at 0MATERIAL, 0CUSTOMER, 0DIVISION, 0FISCPER level for for key figure 0AMOUNT (Actual Revenue). In the Forecast Cube the data comes at ZMATERIAL, ZCUSTOMER, ZDIVISION, ZFISCPER for the key figure ZAMOUNT (Forecasted Revenue).
    How can i merge the two providers where in one single row i can show both the actual
    and the forecasted amount for the same material, customer, division and fiscal period.
    Thanks
    Rashmi.

    Create a multiprovider consisting of your actual and forecast cubes.  Within the multiprovider, include the desired info objects (e.g. 0MATERIAL, ZDIVISION, etc.).  Within the multiprovider 'Identification' function, be sure to map the applicable info object(s) from each cube to the multiprovider info object.
    For multiprovider 0MATERIAL: map Actual 0MATERIAL and Forecast ZMATERIAL.
    For multiprovider ZDIVISION: map Actual 0DIVISION and Forecast ZDIVISION
    You then build your query using info objects within multiprovider.

  • Actual and Forecast not visible from Planning App -- VERY CRITICAL ISSUE ,

    this is a very critical issue.. need immediate help..
    my customer cannot see the Actual and Forecast not visible from Planning App. please help me with the same. tell me the possible solns as i cudnt have a web confrerence with the custmer till now.
    thanks/

    John ,
    they are seeing the application in planning. they created a scenario dimension containing , budget, actual and forecast.. but in the planing application they can only see budget. the rest 2 are not visible.
    thanks..

  • BOM changes for the FERTs during a month.

    Hi all ,
    I have a requirement from customer BOM changes for the FERTs during a month.
    Can anyone help me out the following requirement that i.e. customer requires that we wants to see as output the following fields :
    1. Material description.
    2. FERT Number
    3. Change Number
    4. Component Number that has been changed
    5. Component Number reason
    Please guide me how can this report can be developed with whole scenario by keeping which fields as Input selection and how can logically write it.thanks & Regards,
    mani

    Hi
    Please help me on this requirement
    Thanks & Regards,
    Mani

Maybe you are looking for

  • Question re: DNS configuration on 2012 R2 Essentials Server BPA

    Just a basic question here for BPA re: DNS settings on server and workstations. During server installation DNS server role was auto installed, I presume as a subset of ADUC.  We have a small law firm with a single server and 17 users.  I have made no

  • Bursting Invoice Report

    All, We have an invoice report contains all the customer invoices. We need to split them into individual documents per customer. I am using the Busting process to do this. But unable to call the busting api due to the follwoing error (not sure why th

  • Photos and thumbnails not in synch

    I have deleted photos, but their thumbnail still shows up. Also, other deleted photos show up but there is no thumbnail under "Event" for the event. It seems that deleted photos are not in synch with their thumbnails. is there a way to resynchronize

  • Connecting to EM, isql*plus

    hi all, after entering my isql*plus or EM URL, it dos not connnect it always replys CANT CONNECT TO SERVER or sometimes WINSOCK ERROR..... i just installed oracle 10g, i have tried reinstalling it but it is still the same. when i finshed installing i

  • Unknown purchases in iTunes store india

    I received a mail stating that i had made some purchases amounting 7000 rupees. But i did not make those purchases. I removed the billing details from my account now. how can i report this and get a refund for fraudery if possible?