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

Similar Messages

  • 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

  • How to copy actual data into current forecast period

    Hi gurus.
    I need your guidance on how to copy actual data into current forecast period.
    This is my case. Let's say I have the following figures for my actuals:
    January 2007 Actual = $110,000.
    February 2007 Actual = $120,000.
    March 2007 Actual = $80,000.
    April 2007 Actual = $100,000.
    Now, my user want to choose any month as the basis for her forecast for the remaining periods. Let's say, she wanted to choose April 2007 Actual as the basis for the remaining forecast periods, so I should be able to display the following figures in my planning folder:
    May 2007 Forecast = $100,000.
    June 2007 Forecast = $100,000.
    July 2007 Forecast = $100,000.
    August 2007 Forecast = $100,000.
    September 2007 Forecast = $100,000.
    October 2007 Forecast = $100,000.
    November 2007 Forecast = $100,000.
    December 2007 Forecast = $100,000.
    Can someone guide me on how to do that?
    Points will be given to good and best answers.
    Thanks.

    Hi Fulham,
    Technical answer:
    First, you need to allow your user to indicate wich month is the reference for the copy. I suggest you to add a new key figure in your actual layout (a 'customizing' layout) that your user will use as a flag:
    January 2007 Actual = $110,000
    January 2007 Flag = 0
    February 2007 Actual = $120,000
    February 2007 Flag = 0
    March 2007 Actual = $80,000
    March 2007 Flag = 0
    April 2007 Actual = $100,000
    April 2007 <b>Flag = 1</b>
    <i>(Help to a fox or an abap exit you can check that only one month is 'flagged')</i>
    Then, in the corresponding level for the data input, you use a function exit in Abap, which will:
    - read the previous customizing layout help to API_SEMBPS_GETDATA so you can get the flagged month and its actual amount ($100,000)
    - generate the news rows into the table XTH_DATA which will be automatically posted in the level with the actual amount
    Is that clear?
    Regards,

  • 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

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

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

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

  • 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

  • Month-to-Date and Year-to-Date values in Query

    Hello experts,
    One of our BI reports has the following requirement: the user should be asked for the report date. After the user inputs the date, the report shows the key figures in three different "flavors": one is the values for that date, the second one is the cumulate values from the first day of the month of the report date to the report date itself, and the third is the cumulate values from the first day of the year of the report date to the report date itself.
      I created my report date variable based on 0CALDAY. Then I searched for SAP-exit variables that would help me achieve this, but could not really find any, except for 0P_ABO10, 0P_ABO11, 0P_ABO12 variables, all of them have as description "Start of Key Date Year". I tried creating a few selections in which the dates taken were defined as a range from each of these variables to the report date variable (for the year-to-date values), but I got the error "Variable 0P_ABO10 could not be substituted". I also got this error for the other two variables. And I could not find any SAP-exit variables like "Start of Key Date Month", in order to do the Month-to-Date part. My next try was to use the field "Key Date" with a variable in it, instead my own report date variable based on 0CALDAY, but it gave me the same errors.
    I searched the forums and found a few threads that looked useful, like
    First and Last day of month and
    1st day of month / 1st day of week variables
    However, they require some ABAP coding, and I do not know where to place the code (actually, I do not know where to work with ABAP code), and I also believe that I would have to do some changes to it.
    Any suggestions?

    Hi Pedro,
    You have to create customer exit in T_Code: CMOD
    1. Create a Z project
    2. Select RSR00001 as enhancement type.
    3. Go into include ZXRSRU01
    4. create a code like
    Here A is your variable based on 0calmonth with type customer exit and B is variable for 0calday.
    Try to write logic for your case taking this as example.
    WHEN 'A'.
        IF I_Step = 2.
          Loop at I_T_VAR_RANGE into L_T_VAR_RANGE where VNAM = 'B'.
            Concatenate L_T_VAR_RANGE-LOW(4) '001' into D1.
            Concatenate L_T_VAR_RANGE-LOW(4) '012' into D2.
            Clear L_S_Range.
            L_S_Range-low = D1.
            L_S_RANGE-high = D2.
            L_S_RANGE-sign = 'I'.
            L_S_RANGE-opt = 'BT'.
            Append L_S_Range to E_T_Range.
          ENDLOOP.
        ENDIF.
    If you want exact code I can help you in that.
    Thanks,
    Kams

  • Last 6 months of data from current date

    Hi Experts,
    I have a requirement in WebI to display last 6 months of data based on current date.Actually I have a column called "Employee Contract Start date" in my report.Suppose the end user executes the report today,then he should be able to see the Employee's data whose contract started today and in the last 6months from current date.
    Also I have dimension object name "Employee Contract Start Date".
    Please be noted that I am getting the data from Bex Query and I am working on BO 4.1 version.
    I have Objects "Calender day" , "Cal.year/Month" , "Calender month" , "Employee Contract Start Date" in the BEx Query.
    Could anyone please propose me, what are the ways to meet this requirement?

    Hi Cris,
    We can get the 6 Months date in webi.
    Check the below blog , will help you.
    http://scn.sap.com/community/businessobjects-web-intelligence/blog/2014/01/21/time-variablesdimensions
    Regards,
    Javed

  • How to get ONLY month and MONTH within date...

    I have to convert something from sql server to oracle.
    In SQL Server I have:
    SELECT
             TEXT_26 AS CostUnit,
             MILESTONE_DATE AS ContractShipDate,
             ACTUALFINISH AS ActualShipDate FROM PROJ_TASK
    WHERE
              TEXT_29='SHIP'
              AND NAME NOT LIKE 'CMSB%'
              AND NAME NOT LIKE 'CCFB%'
              AND (MONTH(ACTUALFINISH) = MONTH(GETDATE()) - 1)All seems very simple SQL except I don't know how to convert that last line:
    ...         AND (MONTH(ACTUALFINISH) = MONTH(GETDATE()) - 1)Basically Im just extracting the month so that I say the MONTH of the actual finish date is equal to the month of Today - 1. Meaning get the month for today (GETDATE() in sql server) and then subtract ONE month from it.
    How can I do that line in oracle?
    Thanks,
    Jon

    I generally find it simplier if one answers the question I posedYou need to realize that with free advice and help you get what you pay for. If you want people to run the statements for you then you should provide create table and sample data scripts.
    Another alternative is
    trunc(actualfinish,'mm') = add_months(trunc(sysdate,'mm'),-1)http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14200/functions201.htm#i79761
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14200/functions004.htm#i76717

  • SharePoint 2013 Workflow Email Reminder 3 month, 1 month, due date email reminders

    Hello, 
    I am trying to create a list workflow in SharePoint Designer 2013. 
    Basically, there's a column called "Revision Date" that will trigger the workflow to send a 3 month (before), 1 month (before) and day of email reminder (based on the date entered in the column "Revision Date").
    I step up the workflow using stages for the 3 month before, 1 month before and actual revision date.
    Example, if I change the item's revision date to today (4/8/2014), it will trigger the last part of the workflow and send an email saying that the Procedure is due today (and logs in the history that "3 Month Reminder NOT Sent" and "1 Month
    Reminder NOT Sent").
    If I enter the item's revision date as 3 months before (ex. 7/8/2014), it will start the workflow and send an email saying that the Procedure is due in 3 months (and logs in the history "3 Month Reminder Sent" and waits for the 1 month reminder
    date to push forward with the rest of the workflow...)
    However, if I set the item's revision date to 1 month before (ex. 5/8/2014), it will send the 3 month reminder email then the 1 one reminder email. I can't get it to skip the sending of the 3 month email and use the "Else" is Stage: 3 Month-- <Wait
    for 1 month date (Vairable:Date4) then log "3 Month Reminder NOT Sent">.
    Any ideas on what I am missing to trigger the Stage: 1 Month without sending Stage: 3 Month first?

    In case anyone is looking for the same information...
    I was able to simply "fix" the workflow by adding a loop and a 30 day pause.
    So the workflow will now "pause" until the variable date then send out the email reminder which then then repeat every 30 days until the actual revision date.
    Seems to be working in test.
    Thanks!

  • 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

  • Regarding month to date balance sheet or income statement

    Hi all,
         We are using T-Code S_PL0_86000028 for viewing balance sheet and income statements. In the selection variants for the period, if we select same value for the from period and to period it should actually show month to date statement. But we are not able to view month to date statement. We are getting only year to date statement. 
          And there is also profit center variant on this screen which if selected gives statement by profit center.
    But we are not able to view by profit center. If we give some profit center no data is being pulled up. But if we leave it blank it is giving the total statement.
         Is there any where in configuration that we should change to get this issues resolved.
    Can anyone help me out with this. Let me know if I am not clear with anything.
    Thank you in advance
    Ravi Boppana

    Hi,
    Go to FGi1 code this for creating new report.Give copy from report name as 0SAPBSPL-01.Press create button.
    Here you check profit center field, if it is deactivated then activate that one.Check whether profit center field is used in your form.If it is used then you will not get it for selection e.g. if in my form I had restricted one column for one specific profit center then system won't allow me to give profit center from selection screen.
    Your second problem is known as YTD (year till date) FTM (for the month) selection problem.
    For this you define additional column in your form for YTD in that define field from period as 1 & to period as variable set for to period (means input you provide while executingthe report).
    This will give YTD figure.
    Regards,
    Abhijit

  • Syntax to export 18 months of data at any given time using variables?

    I have written a calculation script for exporting data from an application using DATAEXPORT. I want to get 18 months of data in my exported text files at any point of time. So, I want to specify the range using variables for Period and Year but I am kind of stuck on how should I be writing it in my script.
    Please let me know the correct syntax using variables or if you could share some link that would help me know that would be a help.
    Can I use @XRANGE Function???
    Thanks !

    Srinivas --> Thanks for clarifying that. After I read your post I did go through the @XRANGE again and noticed that they had use cross dimensional operators so it put me in a confusion. But you cleared it by being more specific this time. Thanks a lot !
    If I follow what Robb suggested then like you mentioned when 3 years will be involved its going to be difficult I guess. Not sure at this point which way would be the best to get this work.
    I agree with CL - 18 months rolling forecast can be annoying seriously.
    Can one of you please suggest me a permanent and most efficient solution for this out of all the ideas that would not require manual work and can be automated completely?
    Thank you all for your inputs. I really appreciate it.
    Edited by: 892254 on Nov 3, 2011 6:30 AM

Maybe you are looking for

  • Using 32 LCD as montior

    Any practical words of wisdom as far as my wanting to use (in my case) a Sharp 32/1080p LCD as ,my monitor? I know many mac mini users hook LCDs of various shapes and sizes as monitors, but these seem to be utilized as media centers and not as primar

  • Conversion Agent ?

    Hi experts, Our scenario is EDI-X12 data to XI  to R/3  (both side) For Converison Purpose, We want to use Conversion Agent by Itemfield, but there are some other options also in the market like  Seeburger and Iway adapters. We have approx 50-60 EDI

  • Publishing Problems -- Errors Galore

    Here we go again... I am yet again having repeated and contiunuous error messages when I publish any changes. I have spent a couple of hours of my life this past week on hold with calls to Apple (and many, many more at the keyboard) and finally was p

  • Interaction between Qout scheduler and Integration engine

    Hello, I would like to understand more about the XI 3 architecture regarding the place of qRFC. If I understood right, depending on the QOS, the qOUT scheduler is used to send XML documents comming from the Integration Engine. The qOUT scheduler is a

  • GSX API SSL Certificate

    How do we get a Client certificate as mentioned below; Security Client Certificate Each client should have an individual certificate, and the certificate should be issued/provided by iOS Systems. Authentication (2-way SSL) The client shall provide it