Average daily requirements in MD04

Hi gurus,
Can anybody please help me in understanding in how the system is calcualting the average daily requirements for the following settings of the coverage profile.
Period indicator - Weeks (W)
Number of periods - 12
Type of period length - 1 (work days -factory calendar)
Range of coverage in the first period:
Min - 17, Target - 20, Max - 30.
and rest of all the fields are empty in the coverage profile and also there for some materials which have this coverage profile attached have the service level at 99.9% on the materila master, I do not know if this informaiton might help us in debugging the calculation.
Now here 17, 20 and 30 do they mean days or weeks?
The requiremetns for the next 12 weeks are as follows (including this week)
W 50/2010 (this week ends today) - 4360
W 51/2010 (week of 20dec - only working days as per factory calendar are, 20, 21 and 22)-1248
W 52/2010 (no requiremetns) - 0
W 01/2011 - 2354
W 02/2011 - 1542
W 03/2011 - 5038
W 04/2011 - 1520
W 05/2011 - 4000
W 06/2011 - 1856
W 07/2011 - 2950
W 08/2011 - 3150
W 09/2011 - 5110
W 10/2011 - 2550
But the system is coming up with average daily requirements as follows in the same order as above
W 50/2010 - 676.082
W 51/2010 - 590.906
W 01/2011 - 578.033
W 02/2011 - 600.400
W 03/2011 - 617.367
W 04/2011 - 586.200
W 05/211 - 607.467
W 06/2011 - 588.475
W 07/2011 - 594.441
W 08/2011 - 576.983
W 09/2011 - 569.356
W 10/2011 - 513.288
There are no holidays in the year 2011 weeks except saturday and sunday. Which are already accounted for in the calendar. Replies are greatly appreciated. PLease help and exaplain how the system is coming with abvoe average daily reqs in MD04
Thanks
Anusha

Average daily requirements
since you have given weeks it will first sum the next 12 weeks requirements.
Now next it will calculate how many days are there in the next 12 weeks based on  your Type of per lenght and day per period setting as per your range of coverage profile.( Config OMiA)
Now system will do the maths ( total requirements/Total days) - which will give you the per day average daily requirement .
This is how the system calculates.
Once it calcuates this then based on the number of days of stock you need to maintain it will increase the stock at the end of the period.
kindly check with the above and let us know your feedback
reg
dsk

Similar Messages

  • Average Daily Requirement for a Material

    I'm looking for a function module or BAPI that will calculate the average daily requirement for a material.  Please point me in the right direction where I can obtain this calculation.
    Thanks

    I found this thread while performing a search.  While it is old, I thought it a good idea to provide the solution in case others are looking for the answer in the future.  Use FM MD_STOCK_REQUIREMENTS_LIST_API.  Table MDSUX will contain the average daily requirement as well as other useful data like target stock.

  • Problem in calculating the Average Daily Requirement

    Hello all,
    I didn't understand how the system calculates the average daily requirement in Dynamic Safety Stock process. The following process flow in given in SAP notes to find how the system calculates the average daily requirement:
    1. The system uses the defined parameters to determine the number of days used for calculating the average daily requirements. If the period is defined as a week, the period length as standard days (5 days) and the number of periods as 2, the system divides the total of the requirements by 10 days.
    2. The system then calculates the total of the requirements for this period.
    The system takes into account all requirements in the current period, even requirements that lie in the past but are still in the current period. For example, if the planning run is carried out in the middle of the month, then those requirements that were planned at the beginning of the month are also included in the calculation of the average daily requirements.
    3. The average daily requirement is calculated using the formula:
    Requirements in the specified number of periods / Number of days within the total period length
    I have run MRP on 02/23/2009 and the following results are generated in stock requirement list of the component part:
    Date     Dependent Requirement     MMSA Schedule Lines Quantity
    3/3/2009     10     31
    3/11/2009     20     20
    3/31/2009     30     30
    4/14/2009     40     49
    4/22/2009     50     50
    4/29/2009     60     60
    5/11/2009     70     55
    5/21/2009     80     80

    Hi,
    In addition to my previous reply,
    If you did following setting -
    Range of coverage in first period -
    min - blank
    tgt - 7
    max - blank
    number of periods - blank
    The system will calculate the safety stock for 7 days for each period; i.e., 7*3=21 and it will generate plnd orders as
    week1 = 51
    week2 = 14+21 = 35
    week3 = 10+21 = 31
    week4 = 30+21 = 51
    If you want to restrict your calculation till 2 periods then make following settings -
    Range of coverage in first period -
    min - blank
    tgt - 7
    max - blank
    number of periods - 2
    Range of coverage in second period -
    Make all blank
    Range of coverage in the rest of the horizon -
    min - blank
    tgt - 3
    max - blank
    It means for first two weeks the safety stock will be 21 (equivalent to 7 days) and for rest of the horizon it will be 3*3 = 9 (equivalent to 3 days)
    The Plnd orders will be -
    week 1 = 51
    week 2 = 35
    week 3 = 14+9 = 23
    week 4 = 30+9 = 39
    and so on.
    Regards,
    Amol

  • Daily Requirements--MRP Segment- Sales order

    Dear all,
                   In MRP3 view of Material Master  i am using the availability check as 01 -daily requirements ?
    When i create  2 sales order(make to stock) with the same delivery date , the system grouped the requirement and shown as one requirement in md04.
    Here  When i click the mep element i am not able to see the 2 sales orders ?
    Is there any setting required........
    In the same case when i create the  2 production order it was shown as 2 mrp segments ...
    When  i check the raw material it is  showning  as individual dependant requirements (though i set the availability check as 01)
    Please reply me your comments and suggestions..........
    Best Regards ,
    Kumar

    Hi,
    There is no relation between them as ind/coll indicator use to requirements are allowed for the dependent requirements of the material
    Individual requirements
    Requirement quantities of the dependent material are stated individually.
    Collective requirements
    Requirement quantities of the dependent material are grouped together.
    Availability check 01 and 02,
    01 and 02 are the checking group. Availability check is carried out with the help of these checking group and checking rule. Checking group 01 and 02 are maintained on the material master. 
    01 - Individual requirement -For this system generates transfers the requirement for each  order to the MRP .So that MM can either produce or procure.
    02- Collective requirement.-In this all the requirements in a day or in a week are processed at a time.  System stores all req and passes on to the MRP in MRP run.In this system performance is high however you can not do the backorder processing whereas in other you can do.
    Hope clear to you.
    Regards,
    R.Brahmankar

  • Average Daily Balancing

    I have a requirement for a business unit to run on average daily balancing in GL. I have several other business units which do not require this. They can share chart of accounts and are all in the one currency. What is the recommendation in moving forward in r11 and r12, should I be looking at a different ledger for the average daily balancing business unit, or should I have just one? I presume having just one would cause much grief in performance due to not really requiring daily balances for 75% of my whole business.

    I have a requirement for a business unit to run on average daily balancing in GL. I have several other business units which do not require this. They can share chart of accounts and are all in the one currency. What is the recommendation in moving forward in r11 and r12, should I be looking at a different ledger for the average daily balancing business unit, or should I have just one? I presume having just one would cause much grief in performance due to not really requiring daily balances for 75% of my whole business.

  • Acrobat Pro 6 Average Daily Production and Math.round problem

    Acrobat Pro 6 Average Daily Production and Math.round problem
    (Production.0) (154) (whole units) . (Production.1) (90) (fractional) / (divided by) 31 (days) results in (Average.0) (4)(whole units) . (Average.1) (10) (fractional) using :Math.round.� Noticed that 154 (whole units) . 85 through 99 (fractional) also show 4.10. (without Math.round : 5.00)
    Method:
    �Production.0� (whole units) . �Production .1� (fractional) / Days = (Average Daily Production) (�Average.0� (whole units) . (Average.1) (fractional)
    � Production.0 (value not calculated)�, � Production 1 (calculated) (event.value = util.printx("0099", (event.value)).substr(-2,2); � �Average.0 (value not calculate)�, and �Average.1 has following calculation:
    var punits = this.getField("Production.0");
    var pfrac = this.getField("Production.1");
    var average = 0.0;
    average = (punits.value + pfrac.value / 100) / this.getField("Days").value;
    this.getField("Average.0").value = average - average % 1;
    this.getField("Average.1").value = util.printx("0099", Math.round((average % 1 * 100))).substr(-2,2);
    �Math.round� appears to be a problem. Also, could you explain the purpose of �0099� . Anyway, why would 154.85 through 154.90 divided by 31 give 4,10. Also, their must be a better way, to find the average daily production. All you have to do is divided the production (whole. fractional) by the days, and display the average daily production as (whole. fractional). Any suggestions??

    There are a many loose ends in your question.
    First, I have never seen before a variable type called 'var'. Is it a java primitive or a class?
    Next, I cannot seem to find any class that has the printx method.
    When it comes to substr(-2,2), I get confused. First, I thought that it was a method of the String class, but I only got as far as substring(beginIndex, endIndex).
    If you really must break the production and average into pieces, try this:
    float average = (punits + pfrac/100) / days;
    int avg_units = (int)average;
    int avg_frac = (int)( (average - avg_units) * 100 );My guess is that util.printx("0099", x) formats x having two optional digits and two mandatory digits, showing 0-99 as 00-99, but allows to show numbers with three and four digits.
    154.85/31 = 4,9951612903225806451612903225806
    154.99/31= 4,9996774193548387096774193548387
    If you round the fraction of theese numbers multiplied by 100 ( = 99.51.. and 99.968...) you get 100, and this will be the output of printx. My guess for "4.10" is that substr(-2,2) returns the two first characters of the string, because the start index should not be zero. (According to java docs, substring throws an exception on a negative index, so what kind of class are you really using ??????)

  • Goods receipt for subcontract does not erase requirement in MD04

    Hi,
    I have a subcontract material for example X which is built of 3 components - A,B & C.
    Initially the BOM in the Purchase Order of X did not have any component. I mistakenly posted a goods receipt and realized that the requirement were not getting deleted from MD04 of the components. There after to correct this, I reversed the goods receipt and populated the BOM with components A, B & C and again posted goods receipt for the subcontract material X.
    When I receive material X, the requirement still exists in the stock requirement list (MD04) of A, B & C.  I also went to Transaction ME2O and saw that the stock at the vendor did not get reduced.
    I have checked the Goods Receipt material document and the components A, B & C have a movement type of 543 O. In MB51 Goods movement for the components, I can see the deduction from the vendor.
    Why are the requirements not getting deleted from MD04 of A, B & C and why is not  the component stock at the vendor getting reduced?
    For all other orders, the requirements get erased in MD04 of A, B & C when I receive X
    Please help me out with this issue.
    Sincerely,
    Ketan

    thread closed

  • MD04 - How to create a requirement in MD04 for a scheduling agreement

    Hi,
    Pls advice How to create a requirement in MD04 for a scheduling agreement. pls mention the steps and t codes.
    thanks in advance.

    Hi Prajit,
    Sales people will create sales scheduling greements through VA31 T-Code (normally for finished products).In that they define forecast schedules as well as JIT schedules.After creation, these will be appeared in MD04 screen as requirement for that finish material.
    In MRP run,system will create procurement elements (planned orders for example) for these requirements.
    Regards,
    Raja.

  • Average Daily Balance Report

    Hi Guru,
    My SAP version is 4.5B. I would like to check is there any standard SAP program I can use to generate Average Daily Balance(ADB) in this version ?
    Hope to hear from you.
    Regards
    Andrew Tay

    Hi,
    Average Daily Balance Report is not available in SAP standard. If you want to create one more new report then
    create a Function Specification for the selection screen and output screen. Collect all the fields details with table name and mention the logic of the report and give it to ABAPER so that he/she can write a Technical Specification on the basis of
    your Functional Specification.
    Thanks & Regards
    R.K

  • Average Daily Sales-Calc

    I am trying to create a member calc on an account. The account is Average daily sales. I want to average my sales for Level zero of time only for 42 days. The calendar day is my lev 0 of time. The problem I am running into is my calc is dynamic and takes forever to pull in Excel. CalcAvgsales=IF (@ISLEV(Time, 0))     @AVGRANGE (Skipnone,Sales, @CURRMBRRANGE (Time,Lev,0,-41,0));     ELSE     #Missing; ENDIFI would like to make this account stored but not sum up the lev 0 of time to lev 1 for the average daily sales account.

    This calc could be stored but if you did so, it would be easier to do it in a calc script as you have to consider calculation order problems.Something like this should work although is not tested (hoping essbase.com won't mess up formatting too much)... Calc All; (or whatever calc to ensure Sales is calculated at all levels)Set updatecalc off;"Average Sales"(if(@islev(Period,0))@AVGRANGE (Skipnone,Sales, @CURRMBRRANGE (Period,Lev,0,-5,0));else#missing;endif)Hope this helps.

  • Average daily database growth

    Hi All,
    How can I find the average daily growth of a database for the last one year?
    Database version:11.2.0.2
    OS:HP-UX

    We generally use this query in our environment - Try this
    select tsname as "Tablespace", 
           tsize as "Curr Size(Mb)",
           tused as "Used (Mb)",
           tfree as "Free (Mb)",
           TMax as "Max Size (Mb)",
           val1 as "Delta 1hr",
           val2 as "Delta 1dy",
           val3 as "Delta 1wk",
           val4 as "Delta 1mnt",
           round((tused / tMax)*100,2) as "%Used of Max",
           round(((tused+val3) / tMax)*100,2) as "%UsedMax_+1wk",
           round(((tused+val4) / tMax)*100,2) as "%UsedMax_+1mnt",       
    case when ( (   (tused+val3)/tMax)*100 < 80) then 'NORMAL'
         when ( (   (tused+val3)/tMax)*100 between 80 and 90) then 'WARNING'
    else 'CRITICAL' end "Status +1Wk",
    case when ( (   (tused+val4)/tMax)*100 < 80) then 'NORMAL'
         when ( (   (tused+val4)/tMax)*100 between 80 and 90) then 'WARNING'
    else 'CRITICAL' end "Status +1Mnth"    
    from
    select tsname,
    round(tablespace_size*t2.block_size/ 1024/1024,2) TSize,
    round(tablespace_usedsize*t2.block_size/1024/1024,2) TUsed,
    round((tablespace_size-tablespace_usedsize)*t2.block_size/1024/1024,2) TFree,
    (select sum(decode(b.autoextensible,'YES',b.maxbytes, b.bytes))/1024/1024
      from dba_data_files b
      where b.tablespace_name = t2.tablespace_name
      group by b.tablespace_name) TMax,
    round(val1*t2.block_size/1024/1024,2) val1,
    round(val2*t2.block_size/1024/1024,2) val2,
    round(val3*t2.block_size/1024/1024,2) val3,
    round(val4*t2.block_size/1024/1024,2) val4
    from
    (select distinct tsname,
    t1.snap_id,
    rtime,
    tablespace_size,
    tablespace_usedsize,
    tablespace_usedsize-first_value(tablespace_usedsize) 
    over (partition by tablespace_id order by t1.snap_id rows 1 preceding) val1,
    tablespace_usedsize-first_value(tablespace_usedsize) 
    over (partition by tablespace_id order by t1.snap_id rows 24 preceding) val2,
    tablespace_usedsize-first_value(tablespace_usedsize) 
    over (partition by tablespace_id order by t1.snap_id rows 168 preceding) val3,
    tablespace_usedsize-first_value(tablespace_usedsize) 
    over (partition by tablespace_id order by t1.snap_id rows 720 preceding) val4
    from (select t1.tablespace_size, t1.snap_id, t1.rtime,t1.tablespace_id, 
                 t1.tablespace_usedsize-nvl(t3.space,0) tablespace_usedsize
         from dba_hist_tbspc_space_usage t1,
              dba_hist_tablespace_stat t2,
              (select ts_name,sum(space) space 
               from recyclebin group by ts_name) t3
         where t1.tablespace_id = t2.ts#
          and  t1.snap_id = t2.snap_id
          and  t2.tsname = t3.ts_name (+)) t1,
    dba_hist_tablespace_stat t2
    where t1.tablespace_id = t2.ts#
    and t1.snap_id = t2.snap_id) t1,
    dba_tablespaces t2
    where t1.tsname = t2.tablespace_name
    and t1.snap_id = (select max(snap_id) from dba_hist_snapshot)
    and t2.contents = 'PERMANENT');

  • Why does old sale order (The deliver date before current date) show VSF (independent requirement) in MD04?

    Dear All,
    I face one issue, the old sales order (the delivery date before current date) has became VSF (independent requirement) in MD04, could someone let me know why and how to fix it?
    Take 01.09.2014 as example, we have one 50PC's sales order with delivery date as 25.08.2014, in MD04, the system will show two independent requirements, one is 50PC's customer order and another is 50PC's VSF.
    We are looking forward to your kind help and answer, thanks in advance!
    Best Regards,
    Gavin

    Hi Gavin
    If I understood the issue correctly, system is showing both the sales order and the PIR on the same date, right?
    If this is the case, it's probably a PIR consumption issue. Take a look on the following note, especially question 10:
    772856
    FAQ: Consumption of planned independent requirements
    BR
    Caetano

  • Average Weekly Consumption in MD04

    HI All,
    The requirement of the client goes like this
    -  A pushbutton to be displayed in MD04 screen which shows the average weekly consumption for the last 13 weeks
    -  System should not consider the consumption for the current week but for the last 13 weeks when calculating the average consumption
    - The frequency of the report should be dynamic i.e., whenever the user access it it latest figure should appear
    Please give me your ideas
    Thanks
    Sravan

    Hi,
    Please check with ABAPER for the provision of addition of tab in standard screen of MD04 or copy of MD04
    to trigger the developed program for the weekly consumption data of the material.
    According to the material type we need to consider the movement type for developing the consuption
    data in the report that would trigget with the pressing of the tab as per your requirement.
    Mate Type - Raw, halb - 261 & 262 movement.
    Mate Type - Fert - 561 & 562 movement.
    You also need to consider the critical case like one material is consume in 1st week let say 50 quantity & also
    reverse in next week. So in this case that quantity should consider for average or not.
    In above case there could be reference or not. For eg in repetative manufacturing we can reverse on the basis
    of material doc that can be treate for establish link with posing date belong to which week. But in production
    order, we can do the reversal with production order reference so it's become difficult.-
    Rgd,
    Chetan

  • Stock Requirement List - MD04 - adding columns in this list

    Dear All,
    I am working on the Stock Requirement list ( transactioncode MD04) and the customer wants to add columns with the fields STPO-DATUV ,date of change of a drawing, and the drawing number with revision level STPO-YY_DZEINR.
    There is a badi MD_ADD_COL_EZPS which provides in adding columns, but according the structures MDPSX , MDEZX and MDSUX there are no fields in thoser structures, which directly match with the required fields; somebody has a clue to help me out and get it working.
    For instance: Vendor- and Customer data  can be added by using the pushbuttons and those fields are available from above mentioned structures.
    Thanks in advance and kindest regards,
    Rene.

    Hi Utpal Mishra
    You guessed correctly. I missed to inform our Strategy. We are using Strategy group  11  Make-to-stock prod./gross reqmts plnning.
    User is not able to do PGI or create delivery. He says I have enough stock in MMBE but why system is not allowing.
    Here there are some pending document like -
    1. Pending sales order
    2. Pending deliveries (picking not done)
    2. Delivery created & Picking Done but PGI not done. These things will have a commitment against the stock. But we are interested in getting these document numbers, so that we can take come action against them.
    MD04 simply shows the mrp element as order / delivery but the document number is not available. How to find these documents.
    Please help. Is there any table or a standard transaction ??
    Thanks

  • Requirements in MD04

    Hello all,
    In MD04,there are many requirements for a material in the name of customer order and Delivery etc(i.e Requirements from Sales).
    in a report,I need to get the open sales order quantity for a material(OPen sales order is equal to the sales orders for which there are no PGI done).
    The sum of the MD04 elements(Cust ord,Del) is what we mean by open sales order quantity.
    So can anybody tell me ,from where (tables) I can fetch these requirements as seen in MD04..
    Please help me out..

    Hi Karthick,
    As other friends are telling is right, it is difficult to take Stock requirements list data from one table.
    However , I am giving list of some tables which may help you :
    MRP Records
    MDKP        MRP Document Header Data
    MDTB         MRP Table Structure (no data)
    PLSC          Planning Scenario (Long-term Planning)
    MDFD        MRP Firming Dates
    MDVM       Planning File Entries
    S094           LIS -- Stock/Requirements Analysis
    Also you can check in SE37 in search help F4 for PP component under MRP various other function modules as well which can fulfill your requirement.
    Hope this helps.
    Regards,
    Tejas

Maybe you are looking for

  • WHAT IS THE BEST WAY TO CREATE AN XSD FILE (TO BE USED BY SOAP ADAPTER)

    Dear friends I have a simple scenario. OUTBOUND DATA  -->  SOAP ADAPTER  --> ( XI )  -->  RFC ADAPTER  --> INBOUND DATA The XML file that I got from mapping area of IR (Design) is as follows <?xml version="1.0" encoding="UTF-8"?> <ns0:MT_NAME_SOURCE

  • Unable to see pdf files with Lion upgrade

    Since upgarding to Lion I've been unable to see my bank e-statements in Safari or Firefox. When the pdf file appears to load the result is a black statement in Safari and a white screen in Firefox. A right click does not allow me to download the file

  • How can i save a large pdf document in two parts

    how can i save a large pdf document in two parts

  • PUBLISH EXCHANGE PORTLET ERROR

    I have success deployed the exchange 2000 portlet with its 'installation.html',and I also can see my message in the portlet. But when I click the message subject to see its detail data ,it display a new blank page ,the url like "javascript:submitURL2

  • Help installation error

    Please help. I bought a new treo pro 4 days ago.  When I try to install the sync software to my PC the following message appears - 'an unexpected error has occurred during downloading.  Please check your internet connection or wait and try again late