FORECAST QUANTITY

Hi
I am using Oracle Apps 11.5.10.2.
I am developing an interface for sending forecast details to some external system.
Here I want to send forecast quantity plus some other information. Forecast quantity is stored in the MRP_FORECAST_DATES table.
Here comes the problem. single record in this table corresponds to multiple forecast entries. A single record in this table is created with following column values.
FORECAST_DATE --forecast start date     26-APR-99
RATE_END_DATE --end date of the forecast       19-JULY-99
ORIGIONAL_FORECAST_QUANTITY --per bucket quantity    1000
CURRENT_FORECAST_QUANTITY --Remaining forecast quantity after consumption      1000
Now This record shows a total forecast quantity of 13000.
If I want to fetch data for specific date range for this entry then it will create problem.
Please give me some suggestion for fetching total quantity for desired period.

please make it more clear. put some example data as in a single record and multiple entries belonging to that particular entry.

Similar Messages

  • FM : For reduction of PIR forecast quantity

    Hi.
    Is there any FM for reduction of PIR <Forecast> quantity for consumption mode forward/backward>

    Dear,
    Please note that with stg 70, PIR will get reduced when you get dependent requirementa nd not on issue of material.
    I hope you must have changed the std setting.
    example
    PIR for 100 for assembly
    After running MRP
    PIR -100
    Planned order +100
    Now you have run MRP for final product, which gave the dependent requirement to assembly of say 75.
    Then in MD04 you will see following entry
    PIR    -25
    Dep req from final assembly -75
    Planned order +100
    This is nothing to do with consumption with 261/201.
    pl simulate the above scenario and come back

  • Actual sales qty forecast quantity in a single period calculation

    hi experts,
    i have a report requirement to display the report in below format in bex.
    Jan-05     Feb-05     Mar-05     Apr-05     May-05     Jun-05     Jul-05     Aug-05     Sep-05     Oct-05               
    ACT     ACT+FC     FC     FC     FC     FC     FC     FC     FC     FC               
    3,361       3,807       4,833       4,069       4,491       5,935       4,776       4,926       6,386       6,898            
    312       342       457       381       393       544       439       445       634       676                                                          4,340       5,029       5,132            4,890           5,011             4,910             4,111            2,367             4,432
    say for example we are february
    in the bex report it has to display Actual sales qty for jan and act+forecast for feb and remaining months till december it has to display forecast quantities.
    how can i achieve that in bex?
    NOTE: ACTUAL SALES QTY, FORECAST QTY are two different keyfigures.
    regards

    ******Actuals
      when 'ACC_SAL'.
          if i_step = 2.
            loop at i_t_var_range into st_var_range where
                                        vnam = 'UV_CAL'.
              st_range-sign = 'I'.
              st_range-opt  = 'BT'.
              st_range-low  = st_var_range-low. "cper.
    **** Get Current Week.
    *DT = DT - 27.
              CALL FUNCTION 'DATE_GET_WEEK'
                EXPORTING
                  DATE         = DT     "SY-DATUM
                IMPORTING
                  WEEK         = week
                EXCEPTIONS
                  DATE_INVALID = 1
                  OTHERS       = 2.
    **** Get previous week
              DT = DT - 7.
              CALL FUNCTION 'DATE_GET_WEEK'
                EXPORTING
                  DATE         = DT   "SY-DATUM - 7.
                IMPORTING
                  WEEK         = PRV_WK
                EXCEPTIONS
                  DATE_INVALID = 1
                  OTHERS       = 2.
              if  week+4(2) = 01.
                st_range-low  = PRV_WK.
                st_range-high = PRV_WK.
              else.
                st_range-high = PRV_WK.
              endif.
              append st_range to e_t_range.
            endloop.
          endif.
    *******Forecast
        when 'UNCONDDP'.
          if i_step = 2.
            clear: st_range, st_var_range.
            loop at i_t_var_range into st_var_range where vnam = 'UV_CAL'.
              st_range-sign = 'I'.
              st_range-opt  = 'BT'.
              CALL FUNCTION 'DATE_GET_WEEK'
                EXPORTING
                  DATE         = SY-DATUM
                IMPORTING
                  WEEK         = week
                EXCEPTIONS
                  DATE_INVALID = 1
                  OTHERS       = 2.
              st_range-low  = week.
              st_range-high = st_var_range-high.
              append st_range to e_t_range.
            endloop.
          endif.

  • Forecast Quantity Reduced to 0 by ASCP

    Hi,
    I'm running a Un-Constrained ASCP plan in 11.5.10 version.I have a forecast defined at Source for qty-300 in bucket-october-2010.I'm able to see this forecast entry in Collection workbench for 300 nos.
    After running ASCP plan , the plan has shifted the sugg due date to plan start date.This is expected as the customer runs a customization to back-off the forecast date by Leadtimes.
    But the qty is changed to 0 from 300.I'm not able to see any consumption details for this forecast entry.And even the 'Consumed Forecast' field in the PWB doesnot show any value , it is blank.But I have a SO , for qty-300 on the same date.if this SO has consumed the forecast , this should be visible in the consumption details.
    Is there any other method to check the consumption in ASCP plan, other that the PWB-UI.
    Even forecast expiration is not happening as it is a un-Constrained plan( ASCP userguide states that Forecast Expiration happens in a Optimized ECC plan , and again i dont see any value in the 'Expired Forecast' field in the PWB.
    What are the other functionalities , that would reduce the Forecast qty.
    Has anybody faced this similar issue earlier.
    Thanks in Advance
    Edited by: Bhubalan Mani on Aug 16, 2010 8:59 PM

    Hi Partha,
    Pls find the detrails below.
    The Hook runs after Data collection and before Plan.SO the due date of the foreast is over written in the collected data.
    In source the Due date of the forecast was in October'10.Due to the Intransit LT of 42 days , the due date was pulled in to August-10.
    And the MRP parameters,
    Include MDS Days
    Include Past Due Forecast ,
    both are blank.If its blank , what i understand is, there is no restriction to the Past Due forecast that is considered in the plan.
    Please let me know , If You need any additional information.
    Thanks

  • Forecast delivery schedules incorrect cumulative release quantity.

    Hi Gurus,
    We implemented the standard LZM - Scheduling agreement with delivery orders solution for component suppliers.
    The entire SAP standard configuration activated and the functionality is working correct.
    u2022     Scheduling agreement type LZM  / Item category LZMA / Schedule line category  L2
    u2022     Order Type TAM  / / Item category TAMA / Schedule line category  CP
    Example:
    Scheduling agreement forecast delivery schedule for 1000 units./ Md04 show SchAgr of 1000 units
    Delivery order for 250 units (MD04 Shows Order for 250 units and SchAgr for 750 Units)
    Created delivery for the order (MD04 shows Deliv. For 250 units SchAgr for 750 Units)
    Goods issue the delivery / MD04 shows the SchAgr for 750 units.
    *Issue:*
    When we update the Cumulative quantity received by the customer it is summing up with the forecast quantity (double counting the shipped quantity).
    When the Cumulative quantity received by the customer updated to remove the in-transit quantity, the forecast is adding by 250 units and   MD04 shows SchAgr for 1000 units.
    Thanks & Regards
    Suresh

    Hi Suresh
    The *** issued qty gets updated when the PGI for the delivery happens. There is a field called *** received by customer and it gets updated when customer sends the *** back in the 830 or 862 as the case may be.
    The difference between the *** issued and the *** recieved is always shown in transit.
    If you do not want the schedule line to be opened up, then in *** recd change it to the *** issued or ideal option is populate the last delivery PGI'd on the delivery number field next to *** recd field. Hope this helps and let me know if you need any more informataion
    Regards

  • Forecast Consumption Reduces Planned Quantity

    All, I would appreciate the Community's feedback with regards to why we are seeing the forecast (Planned Qty in RRP3) reduced.
    A number of examples have been identified where the forecast quantity has been reduced by the withdrawn quantity and the Remaining Quantity reflects the Planned Quantity.
    We are more used to seeing the forecast remain as per the DP forecast but Remaining Quantity reducing by the sum of allocated quantity and withdrawal quantity.
    Columns represent From and To dates, Plan Qty (Forecast from DP), Withdrawals, Allocated, Remaining Plan Qty.
    Row 1 is the reduced forecast which when released to SNP = 516 for the w/c 04.08.2014
    04.08.2014
    10.08.2014
    342
    174
    0
    342
    11.08.2014
    17.08.2014
    26
    0
    0
    26
    18.08.2014
    24.08.2014
    1,209
    0
    0
    1,209
    25.08.2014
    31.08.2014
    184
    0
    0
    184
    01.09.2014
    07.09.2014
    561
    0
    0
    561
    08.09.2014
    14.09.2014
    1,499
    0
    0
    1,499
    15.09.2014
    21.09.2014
    956
    0
    0
    956
    We have a number of examples like this but the more conventional reduction of Remaining Planned Quanity is the norm'.
    Thanks for any feedback.

    Hi Chris,
    Take a look of this old SAP note (it for R/3, but maybe you can find the reason):
    772857
    - FAQ: Independent requirements reduction/withdrawal quantity
    Question 9: What are common reasons for the reduction not  occurring?
    Response:
    For planning strategies with planned independent requirements consumption: Have the prerequisites for the consumption been fulfilled (see Note 772856)? Were there independent requirements quantities to be reduced at the time of the goods movement in the forward/backward consumption periods (planning quantity > 0)?
    For goods movements from inventory management (MM): Is the 'Independent requirements reduction' (PABKZ) indicator set for the movement type (transaction OMJJ)?
    For goods movements from SD (for example, transaction VL02) for reducing the make-to-stock production (requirements type LSF): Is the 'Requirement reduction' (PABKZ) indicator set in the requirements class of the customer requirement (transaction OVZG)?
    For stock transfers/transfer postings: A reduction does not occur for stock transfers in a planning segment. Only stock transfers between different plants, MRP areas and planning segments can reduce planned independent requirements.
    Is an MRP type that provides 'Reorder point planning', 'Forecast-based planning' or 'No material requirements planning' set for the material? See the modification of Note 68641 if you want to allow the reduction for these materials.
    Hope this helps,
    Kind Regards,
    Mariano

  • Forecasting Based planning, consider incoming Sales orders, Consume PIR's

    Hello Guys:
    I am in real Problem about this one: I am implementing forecast-based MRP for our client which is a trading company: buys, keeps in storage and sells goods (R/3 ECC 6). We are using material forecast on a monthly period, and run MRP on a weekly period since POs are to be created weekly (therefore we also use the "Splitting indicator" to split monthly forecast values to weekly requirements)
    The way MRP calculates future stocks in this situation (MRP type VV) is like this:
    Current stock
    + Open POs to arrive
    - Forecast Requirement
    = Future stock
    The problem with that one is that if there is an SD order or delivery in the future, SAP does not count in that one as well. It is a real problem, just imagine that in two weeks we have a forecast of 10 pieces of a material. SAP will propose Preqs based on this 10 piece consumption, even if we have an SD sales order for that week on 30 pieces. (by the way the SD order is in the list of MD05 but SAP does not count in that one for future stock reductions).
    If I modify the MRP type in customizing OMDQ, I can make SAP to count in real consumptions (sales orders) in the future stocks: I set "MRP procedure" to PD (MRP) or "R1" (Time-phased materials planning). In this case MRP calculates like this:
    Current stock
    + Open POs to arrive
    - Forecast Requirement
    - Real future requirements (sales orders)
    = Future stock
    So in this case SAP will recommend double quantities to purchase: once for the forecast reqs and on the other hand for the real sales orders.
    It is a trap, SAP should reduce the forecast requirements with the real requirements. The really bad news is that there is a switch for this in OMDQ for the MRP types called "Reduce forecast" but it is not working: I have tried all the combinations of codes in the frame "Use forecast for MRP" but it can only decrease req for the current month and only on a timely basis code "2" for MRP procedure "PD" or "R1".
    Thanks for Help.
    Sweth123

    Hi Mario:
    I am using MRP type PD , Running the forecast using MP30 which generate the forecast requirement.
    I go to MD61 , I Slected Material Forecast option and Copied the forecast requirements as planned independent requirement,
    AFter that when i run MD02 and go to MD04 Screen.
    System Displays MRP Element: UnPlrq----Forecast quantity  --1000
                                MRP Element VSF for Planned Independent requirement -1000.
    Based upon historical consumption data , if there ia requirement of 1000pc , system is proposing 2000 pcs to buy.
    Is there any config setting i need to change so that system won't double the requirement quanitities?
    Please clarify
    Sweth.

  • Forecast Consumption in APO- No Data Available in Product View

    Hi Experts
    I facing some problem in Forecast Consumption in APO. The APO system is connected to a R/3 system. So data relevant for Forecast consumption comes from R/3.
    The allocation indicator in the requirement class assigned to the strategy maintained in the product master is set as " no consumption with customer requirement". and the same is transfered to APO.
    I have the changed the settings in APO and here are the setting maintained in APO to enable Forecast Consumption.
    Product Master Setting:
    a) Consumption Mode: 2 ( forward and backward)
    b) Consumption Period: ( 30 days both backward and forward)
    c) Strategy Group : 20 and assignment mode is set to "Assign customer requirement to planning with final assembly" and category group has sales order - BM
    d) The check mode setting in the ATP tab is set to "Assign customer requirement to planning with final assembly"
    I have a forecast for today's date and a sales order transferred from R/3 for the same date. But I do not see any data in the Forecast tab in the product view ( /sapapo/rrp3 Tcode)
    Please let me know if I am missing any setting in APO. Or the SAles order carries the strategy information from R/3 and influencing the consumption any way.

    Hi,
    What is your Forecast & Sales order quantity? If these are same then sales order consumed forecast, so you can not able to see in the rrp3.
      Second thing try to increse the forecast quantity than sales order quantity & then check it.
    Regards
    Sujay

  • What are theSNP Settings required for Forecast Consumption with Sales Order

    Hello APO Folks,
    I have one SNP scenario:  (We don't have GATP)
    Forecast for Finsihed Product - "PNG_Fert" in Location "1000".
    I have forecast quantity of 500, now our requirement is - when SNP heuristic run will take place (without any sales order quantity) then there should not be any planned orders creation.
    Planned order creation should happen Only if any one places sales order from ECC , which comes to APO then against that sales order forecast quantity should consume and should create the planned orders equal to the nos. of sales order quantity.
    So if I have forecast of 500 qtys and sales order of 90 qtys then heuristic run should yield/create the planned order of 90 qtys and there should be 500-90 = 410 forecast quantities remaning.
    Please let me know which strategy will be used and other setting in ECC and APO for SNP. I
    The setting with strategy 50 in ECC and 30 in APO worked properly with PPDS - RRP3 view but from interactive planning /sapapo/sdp94 it is not working, so there will be different setting for SNP.
    Thanks in Advance,
    Regards,
    Vishal
    Edited by: Vishal24a on Oct 13, 2011 9:15 AM

    Vishal
    Can you please explain what issue you are facing when you load the product in planning book. First thing is do you see 410 against forecast and 90 against sales order key figure ? If yes then it means the forecast is getting consumed properly by SO.
    As far as your other requirement  goes (planned order should only be created for sale order quantity) you have to change your total demand macro calclation logic. Your total demand key figure should show 90 instead of 500 - so just include sales order in your total demand calculation (stock balance macro) and run heuristic. Your requirement will be satisfied
    Thanks
    Aparna

  • Forecast consumption not working when using BAPI_SLSRVAPS_SAVEMULTI2

    HI SAP APO experts,
    I have a problem. We are sourcing our transactional data from non-SAP system so we had to develop an interface that will post transactional data to APO. We developed a program that will post data from flat file to APO LC. We  used BAPI_SLSRVAPS_SAVEMULTI2  in posting sales order but my problem is that its not consuming my forecast. I am using strategy 20 and backward consumption of 28 days in my product master.
    Using CIF, forecast consumption is working but not for our abap. Hope you can help me. Thanks.
    Mylene

    Hi Sarvesh,
    No, I was not able to find what is that internal request type 52. But I did some more research and you need to have check mode populated in your BAPI. In our case, we can not hard code check mode in the BAPI since we are using more than one check mode. My abaper just parsed then change the program that it will parse check mode from material master to the BAPI. Now, forecast consumption is alreayd working. But I am still facing 2 issues:
    1. After this change in the code, our program is now running longer than usual. This used to run only for 20 minuutes but now its running for more than 3 hours.
    2. For materials using demand strategy 20, sales order is consuming forecast which is correct. But when I delete this sales order, forecast quantity does not go back to original quantity in the planning book.
    Mylene

  • Inventory Management - Current and forecasted Inventory/Stock

    Hello,
    I just wanted to know the tables in Material Management related to Inventory, where I can get the inventory detials.
    Any table names, any field details will be appreciated and rewarded.
    I have to build a report for all materials in the system where I have to display the
    Safety Stock
    Onhand Inventory
    $ value of On Hand Inventory
    Forecast Quantity
    Any BAPI's/RFC's for this?
    Thank you for your help.
    Sumit.

    Hey Nitin,
    Thanks for following up.
    The report i have to develop looks like this
              Apr-05 May-05 Jun-05 Jul-05 Aug-05 .....
    Plant1:
    Material 1:
    Safety Stock
    Onhand Inventory
    $ value of On Hand
    Forecast Quantity
    Material 2:
    Safety Stock
    Onhand Inventory
    $ value of On Hand
    Forecast Quantity
    Material 3:
    Safety Stock
    Onhand Inventory
    $ value of On Hand
    Forecast Quantity
    Plant2:
    My main problem is getting periodic data. When we run MCBZ Current Requirements/Stocks: Basic List, we get the data for a particular time period, But the report that needs to be developed needs this in a matrix for all the time periods between two days.
    MVER has a yearly indicator, but there is there a way for me to know periodic values smaller than that - like monthly.
    MARD is much better. There is the year and the month in consideration in the fields Year current period, and current period.
    MARC, with this table, I have the same problem as MVER. I dont even have the year in the table.
    EKBE, I have no idea now a purchase order is related to determining Stock and OnHand inventory, although I know that goods delivered as a result of purchase order are the stock/inventory. There is the Year, Posting Date, Document Date entries here. I dont know how these will tie into the periodic stock determination.
    MSEG, There is the fiscal year here. MKPF has the document date, posting date, and entry date. I can use this as  a starting point by putting the material posting date in "buckets" each representing one periodic summary.
    Any more hints on how I can tie it all together.
    Thanks
    Sumit.

  • Planning for Sales orders for quantities greater than forecast in APO SNP

    Hi All,
    We have a requirement in which planning in SNP is done based on the forecast  quantity transferred from DP . Demand from Sales orders is not taken into consideration for planning . The PO's are created based on the forecast quantity only SO's consume forecast  . Now a situation arises where we have the sales orders quantity  ( say 400) is more than that of the forecast( say 300 ) , this means  for quantity of 100 no planning is being done by SNP. 
    We want to know are there any ways of getting the remaining quantity being planned by SNP
    The planning strategy used is 40 in ECC
    Thanks in advance
    Regards
    Surendra

    Hi Surendra,
    For better control, the forecast quantity should match the sales order quantity for plg strategy 40.  If there are cases when sales order quantity is greater than forecast, you can create a control check in ECC to inform the users who creates the sales orders to get a popup message to create a sales order with rush order type or any other type to track the excess sales orders received against forecast.
    In SNP, once this rush order is entered, upon subsequent net change heuristic plan which runs day night, it considers those excess quantities and puts up purchase requisitions and procurement & production can be planned based using those PRs in SNP.
    Please confirm
    Regards
    R. Senthil Mareeswaran.

  • 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

  • Setup of reorder point planning and forecasts

    Can someone please tell me the setup steps of reorder point planning and forecast sets..
    I hav seen the documentation but am complete lost
    Need ur help!
    Emm

    Hi Emm,
    1. Create an item for which the inventory planning method should be reorder point planning along with that provide the minmum order quantity & maximu ordered quantity and the Source type should be supplier.
    2. Navigate to > planning > forecasts > Sets: to define the Forecast Quantity. ( First Forecast Set, then Forecast Line, then Forecast Items > inside this define the forecast quantity.
    3. Define the safety stock by navigating to Planning > Safety Stocks .
    4. Then submit the reorder point planning with parameters as restock – yes and name of your forecast.
    Regards,
    Jyoti

  • Forecasting Spreading NOT rounding the Qty(We DONT want DECIMALS) in Foreca

    Hi ,
    I want oracle will "round" the forcast Qty.Is there any Profile Option? Or setup ?
    Please help me
    Lokesh

    You can try to use the round order quantities item attribute.
    The ASCP UG says :
    For items under rounding control, the planning engine rounds a spread forecast quantity up and applies its cumulative remainder to the next bucket. It uses the item-organization item attribute.
    However, ASCP dev did say recently that they do not support rounding during spreading of forecast.
    Inline forecasting engine rounds the forecast quantities based on item attribute. The issue here is that forecast spreading is done after inline forecasting has completed and rounding control attribute is not respected during forecast spreading.
    It's a bit contradictory to what development says and as to what is in the UG. They will probably say is a Doc bug.
    Best regards
    Geert

Maybe you are looking for

  • Doubt about VA01 transaction.

    Good Afternoon Gurus. I am a abap and I need understand what button i must click to call screen POSICION in VA01 . In debug appears POSI like command but I need execute the transaction to debug the popup but I don ´ t know how call the popup. See ima

  • How do I edit this script (newbie)

    Editing a script I found a script that creates a reminder event based upon the birthdays of my contacts in Address Book. It looks forward one week at a time. I'm not familiar with creating scripts. How would I edit this to do the following (if possib

  • Server 2008 R2 DNS Server can not open active directory erro 4000

    The DNS server was unable to open Active Directory.  This DNS server is configured to obtain and use information from the directory for this zone and is unable to load the zone without it.  Check that the Active Directory is functioning properly and

  • .prel to Blu-ray

    At last I've got my project 1½ hrs as m2t file on my hard drive.  All 6 days' videos together come in at 19.5 GB.  So far every segment of the whole I've done (PAL system of course, for the UK) has been at 1920x1080 25 fps (this is the main natural f

  • Physical Inventory by Area

    I have a simple business scenario that for physical inventory counting.  Raw Materials are store in 1 storage location.  They are required to count them 1 time a month.  The warehouse personnel split up the storage location into 4 areas (lanes) and c