Days Of Supply (DOS)

All,
One of the SAP's xApps Analytics Composite Applications for SCM included in 2004s is the Global Inventory View. One of the metrics offered within the application is the actual Days of Supply (DOS).  From documentation I see that it is displayed by query 0APO_C12_Q0001 that reads from InfoCube 0APO_C12. I don’t have access to the live 2004s system.
Who knows how 2004s determines the DOS value. In release 3.5 the DOS was available in two objects in Business Content:
MultiProvider 0IC_MC02 - Material Range of Coverage Components
The MultiProvider 0IC_MC02 is a union of Material Stocks/Movements (0IC_C03) and Plan/Actual Comparison Material Consumption (0PP_C05).
You can display the number of days during which the current stock of materials will cover future requirements based on the current requirement from production. When calculating the material range of coverage, it is assumed that the average future requirements for production components will be the same as those in the past (constant model). The key figure is determined on the basis of the average production requirements in the last 365 days calculated from the current calendar day.
(0IC_C03) - Material Stocks/Movements (Inventory InfoCube)
You can use this InfoCube to show on the basis of the stock and issue values the number of days during which the current stock will cover future stock issues.  When calculating the material range of coverage, it is assumed that the average future stock issues will be the same as those in the past (constant model).  The key figure is determined on the basis of the average stock issues in the last 365 days calculated from the calendar day selected. 
What I would like to know is whether the Days Of Supply offered by the  2004s is the actual DOS that takes into account the impact the demand and supply have on the inventory on-hand?
Thanks in advance,
Stan

Hi David,
Thanks for the tip on Code Tags. 
The logic for Days of Supply is to take the ending inventory (Stock on Hand) for the month then looking forward at the forecast for future months determine the Days of Inventory on Hand (Days of Supply).
In the example Stock on Hand for May is -23 and Days of Supply is 0
However for June 2011, Stock on Hand is 442 so it has coverage for all the days in July (31) and then it can cover an additional day in August so Days of Supply is 32.
The code I placed in original question is just an example of how it could be calculated in Excel.
We would like to create the report in WEBI but we know longer can use Macro's in the version we are rolling out.
Here is the Excel Function I created for Days of Supply:  This will give you the code to acheive the narrative I stated above.
It passes Stock on Hand then two arrays.  The forecast for future periods and the number of days in each respective period.
Private Function DOS(EndInventory As Single, Forecast As Variant, Days As Variant) As Single
    DOS = 0
    TotalDays = 0
    InventoryVar = EndInventory
    For x = 1 To Days.Count
    TotalDays = TotalDays + Days(x)
    Next
    For i = 1 To Days.Count
    If InventoryVar > 0 Then
        If Forecast(i) = 0 Then
            DOS = DOS + Days(i)
        Else
            If InventoryVar < Forecast(i) Then
                DOS = DOS + ((InventoryVar / Forecast(i)) * Days(i))
            Else
                DOS = DOS + Days(i)
            End If
        End If
    Else
        Exit For
    End If
    InventoryVar = InventoryVar - Forecast(i)
    Next
If InventoryVar > 0 Then
    DOS = 9999
End If
End Function

Similar Messages

  • Day's Supply

    Hi All,
    I have one query on day's supply calculations.
    Suppose stock as on date( 05-12-08) for a material is 1
    1st Requirement which is on (09-12-08) for the material is 4
    Then what should be the day's supply.
    As per the help 'The range of coverage is then the number of workdays between todays date and the date of the requirement that causes the shortage minus one day. The value after the decimal point is the ratio between the opening stock on the day of the shortage and the requirement on the day of the shortage'. According to it the day's supply should be 4-1+(1/4) = 3.25
    But actually system is displying the value of 0.25

    Dear
    The days' supply for a period is the stock level divided by the average requirements, where average requirements = sales/number of workdays.
    Days' supplies are calculated by the system. You cannot overwrite them.
    In ur case
    DS = 1/4 = 0.25
    Ur stock level is 1. & average requirement is 4
    Regards
    Samunder Singh

  • Days of Supply

    We got daily, weekly and monthly buckets in our SNP Planning Book.  We use Day’s supply standard macro, it’s calculating correctly for weekly and monthly but not daily.  The values are little bit off. 
    If u select the data for multiple locations and drill down by location, by location the day’s of supply values are OK.  But if u checks the total of days of supply, it doesn’t make sense.  The total values are neither average nor sum.  How to read this total No.
    Any advise is greately appreciated.
    thx
    Jeff

    Firstly, the days of supply relationship is not linear in nature (it is not additive). The days of supply (check the macro in the workbench and double click on the macro) macro is designed to work only at Details All level. You can try to swtich that to All Planning Objects to see if it works.
    Please check the calculation at Total level anyways - is it that the sum of forecasts during the days of supply = projected stock level in that bucket ?
    You may want to check
    Hide row Total in Interactive Planning when drilldowned
    to see if it is possible to hide the total row.
    You may want to try with different data patterns to make sure the calculation is indeed happening correctly at weekly or monthly levels.

  • Target Days of Supply in PPDS

    Hi All,
    I am trying to use the Target Days of supply with PPDS.
    The documentation says it works but on my tests
    it does not.
    IN SNP it does work.
    Any ideas ?
    Thanks,
    T

    Hi Mike,
    I have setup the Target days supply settings in the material
    master and I am using the planning of standard lots heuristic.
    It works perfectly in SNP ... just not in PPDS.
    Any other ideas ?
    Thanks,
    T
    Edited by: TonyG on Dec 21, 2007 11:03 AM

  • Reg-Alert Macro-Day's supply not working

    Hi,
        We are using Data base alert macros for day's supply of SNP.But it seems macros are not working.Planning book day's supply key figures value not refelcting in alert monitor(amon1).
    our setting is 0-30 days-Information;
                         31-50-Warning;
                         above 51-Error
    Thanks&Regards
    Venkadesh

    Hi Venkadesh,
    I think you put your indicator upside down.
    0 to 30 should be error and avobe 51 information.
    Another comments: to check if the macro is working: after running it, in interactive or background, check table /SAPAPO/AM_ALERT to see if you can see the alert or not.
    If you can see the alert in the table but not in the profile, then the issue is your profile; if you can't see your alert in the table neither, then the issue is the alert creation in the macro...
    I hope it helps
    Julien

  • 1st and 2nd Receipt days of supply calcluation

    HI,
    i was wondering how the first and second receipt days of supply are calcuted when viewing in MD06. I went into the configuration 'Define Receipt Elements for Receipt Days' Supply' via menu Consumption Based Planning --> Evaluation --> Define Receip Elements Days' Supply.
    However, in this config activity i'm not sure how it differentiates between 1st and 2nd receipt days of supply? Does anyone know where the difference is located in configuration.
    Many Thanks, Erik

    Erik,
    The receipt days' supply indicates how many days a material will last. The system takes current plant stock and specific, predefined receipts into account when calculating the receipt days' supply.
    You can define two receipt days' supplies.This enables you to instruct the system to take the less binding receipt elements into account for the first receipt days' supply, and to take only the binding receipt elements (such as production orders and shipping notifications) into account for the second days' supply.
    In the IMG node you can define which mrp elements contributes or should be considered during calculation of days of supply.
    Typically for most clients, I advise taking firm MRP elements like Production orders & purchase orders into 1st Reciept days of supply as well as 2nd reciept days of supply.
    So in IMG node they get X =Take both receipt days' supply into account
    For Firmed PR & Firmed planned order they should be considered under 2nd reciept days of supply only.
    So in IMG node they get 2 = Only take receipt days' supply 2 into account
    Hope this clarifies your question around this concept. More questions please feel free to ask.
    thanks,
    Ram

  • Formula for Days of Supply, 1st RDS, 2nd RDS in MD06

    Dear Guru,
    Can you share formulas for Stock DS, 1st RDS and 2nd RDS in MD06?

    Erik,
    The receipt days' supply indicates how many days a material will last. The system takes current plant stock and specific, predefined receipts into account when calculating the receipt days' supply.
    You can define two receipt days' supplies.This enables you to instruct the system to take the less binding receipt elements into account for the first receipt days' supply, and to take only the binding receipt elements (such as production orders and shipping notifications) into account for the second days' supply.
    In the IMG node you can define which mrp elements contributes or should be considered during calculation of days of supply.
    Typically for most clients, I advise taking firm MRP elements like Production orders & purchase orders into 1st Reciept days of supply as well as 2nd reciept days of supply.
    So in IMG node they get X =Take both receipt days' supply into account
    For Firmed PR & Firmed planned order they should be considered under 2nd reciept days of supply only.
    So in IMG node they get 2 = Only take receipt days' supply 2 into account
    Hope this clarifies your question around this concept. More questions please feel free to ask.
    thanks,
    Ram

  • Inventory days of supply bex report

    Hi experts,
    I am working on inventory days of supply bex report which i would like some help on. I do know that we have a standard query for this,however i feel standard wont fit the requirement completely. We have around 3-4 plants. Each plant will have list of material codes which will be maintained in its inventory. These material code are not unique to a plant i.e one material can be stocked for multiple place at various storage locations.
    Now where this gets tricky is that material have been classified based on their criticality. for Ex M1001 is classified non critical for plant1001,however this same material code  m1001 can be classified as non critical for plant 1002.
    I was wondering if any one could help me in the changes i would need to do in my standard inventory flow to incorporate this requirement. The user requirement is that he should have plant and material classification in the drilldown .
    Any help would be highly appreciated.
    Thanking you in advance.

    Hi Rahul
    Since you have your classifications in MARC then use material plant infoobject (0mat_plant) if you can find in the std ds your field then activate as navigational and use it in your report.
    Thank you

  • Day's Supply, Stock On Hand, Safety Penalty and Delay Penalty

    Hi All,
    1. Day's Supply and Stock Hand at the Distribution Center
    Checking the planning book, does the stock on hand KF represent also the day's supply? or only the receipts?
    ex. of what i see in the planning book:
       receipt = 100, stock on hand = 100, day's supply = 7
    There is also a case where I see 128 days as my day's supply but i have no stock on hand.
    How is the day's supply determined?  How do I know the number of stocks it represent?
    2. Safety Penalty and Delay Penalty
    If my safety penalty is higher than my delay penalty, will it be true that it will prioritize to meet the required safety stock rather than the demand?
    Hope someone can help me on this. 
    Thanks a lot.

    Thanks PATHAN Mahadalikhan.
    Additional Question.
    What if,
    D1
    Demand           300  
    SOH                500  
    Day's Supply     7      
    D2
    Demand           300  
    SOH                200
    Day's Supply     7     
    D3
    Demand           200
    SOH               
    Day's Supply     7     
    D4
    Demand            0
    SOH                 0
    Day's Supply     7    
    D5
    Demand            0
    SOH                 0
    Day's Supply     7 
    D6
    Demand            0
    SOH                 0
    Day's Supply     7 
    *this will be like this until the end of the plan.
    What can be the reason behind the day's supply reflected even if there is no more demand and Stock on hand?
    Thanks.

  • Traffic lights Vs day's supply

    Hi,
    In MRP collective lists, system is showing red signal lights to all the materials and showing the message "3.0- days is less than limiting value of 0.1-"
    In the day's supply,1stRDS and 2nd columns system is showing the value 3.0-.
    In this case, how to change the signal light from red to green?
    Can any body please explain the concept behind this?
    Thanks in advance.
    Sekhar.

    hi
    traffic light depends upon the day's supply and exception messages.
    in md04 collective access , display all materials with MRP controller wise. Press the Tab " define traffic lights" there u can put ur own criterion of days supply and R days supply.
    Example how system calculates days supply.
    Calculation of the range of coverage: Starting from the current plant stock, the requirements are deducted one after the other along the time axis. This is done until there is a shortage (requirement > stock). The range of coverage is then the number of workdays between todays date and the date of the requirement that causes the shortage minus one day. The value after the decimal point is the ratio between the opening stock on the day of the shortage and the requirement on the day of the shortage.
    Stock = 240 pcs
    1st day: Requirement for 90  pcs => Stock = 150 pcs
    2nd day: Requirement for 70  pcs => Stock = 80  pcs
    3rd day: Requirement for 100 pcs => Shortage
    Range of coverage = 3 workdays minus 1 + 80/100
                      = 2 + 0,8
                      = 2,8
    Reward if useful
    Amit

  • Target day's supply vs day's supply

    Hello all,
    Can anyone help me explain the exact diff between target day's supply and day's supply? I would appreciate the help.
    Thanks,
    Neha

    Hi Neha,
    Day's supply:is to determine for how long the available stocks and receipts will cover your requirements.
    http://help.sap.com/saphelp_ewm70/helpdata/en/39/24a037f11cff7fe10000009b38f889/content.htm
    Target days' supply: is maintained in product master to determine the safety stock that has to be produced to cover the number of target days demand.
    http://help.sap.com/saphelp_46c/helpdata/en/35/b58ff68f0e05e4e10000009b38f983/content.htm
    Regards,
    Manimaran M.

  • MRP & Days of Supply without receipts on MD07

    I have found this configuration for DOS "with" receipts and the two columns on MD07 in ECC 5.0.  Does anyone know of anyway to modify the DOS "without" receipts as it currently shows only unrestricted inventory (excludes QI and Blocked) and our management wishes it to include QI.  Any guidance is appreciated as my research indicates it is not configurable and system determined.
    Tim

    Hi,
    I guess you're referring to the column StckDS - Stock Days' Supply Without Receipts in MD07, if yes, then wish to keep you informed, SAP does consider QC stock. I just carried out a small test at my end & the results support my statement.
    Kindly do check again & if for any reason you're not able to resolve it, then do upload a screen shot of MD04 & MD07 for the specific mtl for me to have a look.
    Regards,
    Vivek

  • Target Days of Supply

    Hi,
    Is there any method in APO of smoothing out a
    supply plan similar to the range of coverage profile in R/3.
    What we would like is that:
    APO looks out say 100 days in the future.
    Adds all demand.
    Divides by 100 to get an average daily demand.
    Creates a supply plan based on this average.
    Thanks,
    L

    Hi Liam.
    I believe that you could acheive this in SNP with the use of macros manipulating the target stock level key figure.
    You could include a TS key figure to capture average daily demand and include it how you require in the calculation of the target stock level.
    Under normal conditions, Heuristic run aims to reach the target stock level in each bucket.
    Haven't tried it, but would suggest caution when moving away from standard SNP macros and lots and lots of testing.
    Hope this helps.
    M

  • CTM - Safety days Supply

    Hello all,
    I'm working with CTM and I found a problem that I can't solve. If I set the profile to consider for example 8 safety days supply  (I tested with all settings) the system do not consider the safety days of supply for the first 9 days. The system creates the supply with no difference between demand and supply and at the 10th day it start to create supply with 8 days difference from demand. Did anyone know what is happening? I tryed with fixed and time-dependent safety days of supply and I'm working with the SCM 5.0.
    Thanks in advance,
    Marcelo

    Thanks a lot for your help.
    This setting seems to be a very good suggestion. The early demand fulfillment specifies the time that the system have to build up safety stock, but I tested it and this setting seems that doesn't work for safety days of supply. Do you know if there is another setting like this for the days of supply?

  • Use of Calendar in Days Supply Calculation in APO

    The Days Supply is R/3 is defined as - The range of coverage is then the number of workdays between todayu2019s date and the date of the requirement that causes the shortage minus one day
    The Days of Supply in APO defined as - The days' supply tells the planner how many calendar days the receipts and stocks will cover the current requirements for.
    In our case we have a factory defined in R/3 as 5 days working, so R/3 display Days Supply it displays only number of Working days till stock/receipt last while APO displays number of Calendar Days ( including non working days)
    Is there any way..i can make these 2 number same in R/3 and APO. Both System has same configuration for considering stock, receipt 7 requirement elements.
    Thanks in advance !!!

    Hi,
    Normally APO should consider the working days.
    could you check that the macro "Determine workdays" is properly executed; and that "Days' supply " is based on the workdays key figure.
    Please note that by default the relevant calendar is the shipping calendar; please ensure that it is maintained in the location master.
    If you want to based it on another calendar, you need to adapt the macro.
    Thanks and Regards
    Julien

Maybe you are looking for

  • How can i change a xmltype column's xml schema?

    i create a table that have a xmltype column.this column is schema-based. my problem is , now i want to this column's schema will be redefined to a global schema? [b]how can i change the column's schema which already have a schema?

  • Assigning a Numeric Value in a Cell Based on Text in Another Cell

    In advance, thanks for your assistance. I'm trying, in vain, to assign a numeric value in a cell based on text (from a dropdown menu) in another cell. For example, in cell A5 I have a dropdown list that includes the options "blue", "red", "white", an

  • N 73 problem

    I have updated my Nokia N73.It was sucessful. After that some functions are not working like:- 1. In music player if selection is on the 1st song and I want last song through up side key , then its not working. 2. When I do a call or receive a call w

  • A Bug I haven;t Seen Mentioned

    Also, I reported it to Adobe. Here it is: I run F-Secure Firewall and Anti-virus s/w. When you use the LR Upload in the Web Module and the F-Secure is running, the photos and other files get truncated [at least some of them, not consistent]. I was tu

  • Service Manager 2012 R2 and NDF file sizes

    Just mapped out a SM 2012 R2 architecture for a client using the sizing tool. Confirmed with MSFT that the sizes were correct. After the install there were a ton of NDF files in the DW that caused the storage sizes to be double. Was something done wr