Stock Coverage Calculation

Hello
I would like to know if an essbase function calculation to calculate month stock coverage exists in Essbase ?
I know this type of function on other system:  SAP (SNP) but nothing in Essbase in my knowledge
COVER_CALC()
COVER_CALC(rows for stock on hand ; area for demand from the next period to the end of the time period ; area containing the number of workdays ; demand from the next period to the end of the time period) returns the days’ supply of a product by considering the current stock on hand, the total demand of subsequent time periods, and the number of workdays in this time period.
For example:
Time span  w11  w12  w13  m04  m05
Total demand:  0  20,0  0  25,0  27,5
Stock level  68,7  48,7  48,7  23,7  0
Days’ supply  70  63  57  26  0
Workdays  7  7  7  30  31
Result at the end of m04:
Total demand is 23.7
Total demand in the future is 27.5
Total number of work days in the next period is 31.
Thus, (23.7/27.5) x 31  ~ 26 (only 26 days can be covered)
Using the above value (26)
for w12: Days’ supply is 63 = 7 (from w13) + 30 (from m04) + 26 (from m05).
for w11: Days’ supply is 70 = 7 (from w12) + 30 (from m13) + 26 (from m04) + 26 (from m05).
THanks of your help
Regards

There is no built-in function to do this calculation, although since you have the logic defined (and can see that it's fairly straightforward) you can build it yourself.  I added "Days of Supply" to a sales analysis system I maintain recently.

Similar Messages

  • Calculating Stock Coverage

    We have  arpeort that outputs the number of days stock coverage for a particular material.  This is calcualted using the FM BAPI_MATERIAL_STOCK_REQ_LIST.  However this BAPI includes Q stock in the calculation, and we want to exclude it.
    Has anyone got any ideas on how I mght get to the number of days excluding Q stock from the calculation?

    Hello Satwik,
        Iam also developing reports for Coverage Days of Inventory. Could you let me know,
    1. How to calculate this KPI
    2.Which tables need to be used for quering?
    Thanks in advance!
    Vittali

  • Stock coverage, Stock average coverage and stock turnover

    Hi Guys,
    I need your help.
    I have just implemented the Inventory Management module in BW. It is working perfecly.
    Now my client want me to calculate Stock coverage, Stock average coverage and stock turnover.
    The standard module doesn't give me that.
    As this may be a normal requirement in Industrial businesses, do you know a intelligent way to calculate this?
    Thanks in advance,

    Dear João;
    In here we use the stock coverage in report like this: the Quantity of Total Stock (0TOTALSTCK) divided by the Quantity of Goods Issued.
    This one is a Calculated Key Figure based on all the GI types relevant defined by the customer.
    We also use the Stock average coverage but by quarters: Quantity of total stock / (Qty GI from that quarter (example first quarter 3)  / 3).
    Sorry... we don't use stock turnover.
    Hope it helps;
    Regards;
    Ricardo

  • MD07 ( collective MD04 ) and stock coverage in days

    Hello,
    in MD07, for each material of my plant there are 3 columns concerning stock coverage.
    I do not understand how the calculation of these stock coverage is done ( I have found the customization which indicates that inbound deliveries are taken in consideration ).
    Is there some documentation abour this for a dummy SAP man ?
    Thanks a lot.
    Romeo.

    There are three columns:
    1 - Coverage based only in available stock
    2 and 3 : Coverage based on different receipts elements. It is advisable to customize the # 2 using some fixed (i.e. almost confirmed) receipts, such as process production orders, purchase orders, etc.  and #3 adding the rest of elements, so you can have three differents coverages, #1 is critical, if all receipt fail then I have to cover my requirements using stock only, and so on.
    Tipically the sequence would be, for this criteria,
    Coverage 1 < Coverage 2 < Coverage 3

  • How is actual coverage calculated in MD04?

    Hi Experts,
    Can you please explain how is the actual coverage calculated in transaction MD04?  What are the tables involved?  From which tables the quantities are retrieved?
    Thanks,
    Vitz.

    HI ,
    I generally perform ST05 if I have no clue about the tables ...
    Example :
                     1. Execute MD04 Transaction
                     2 . Go to ST05 and Activate trace , Check box should only be in SQL Trace
                     3. Input Material / MRP area etc and press enter
                     4. Deactivate Trace
                     5. Display Trace
    Now see the second column >>   Obj. name This is name of table refereed by transaction MD04
                                   4th Column>>   Recs. >> Number of records fetched  >> Non Zero means record fetched from this table
    There will be several tables which are not relevant from Application point like authorization table etc etc ..But if you are able to filter or identify Application table this is good way to find the tables involved ....
    Rgs
    SB

  • Enough stock coverage

    hi,
    for item purchased based on moving average price,
    when there is a variance between migo and miro, it will debit or credit stock account and update map of material accordingly if enough stock coverage is there.
    1 may i know what does it mean by enough stock coverage? means at least there is 1 quantity in the total stock in mm03 when purchase? can have example?
    2 if 0 quantity in the total stock what will happen?
    thanks

    hi Hari,
    thanks and point given.
    1) enough stock coverage is only happening during MIRO? will MIGO happen?
    2) can clarify this if the meaning of enough stock coverage is correct.
    item is moving average price.
    say this is a new purchase or maybe item with 0 stock in warehouse.
    now i purchase 10 unit at the price of $1. the total value is $10
    during MIGO, the map will change when debit the inventory.
    DR inventory 10
    CR grc 10
    so now the
    map 1
    total stock 10 = 10
    total value $10
    when MIRO, somehow due to some reason stock only 2 and map is 1.20.
    map 1.10
    total stock 2
    total value $2.20
    may i know how is the accounting entry and the map, total stock, total value would be after MIRO?
    thanks

  • Stock coverage 2

    hi all,
    in relation to my previous post, i need to know the sufficient stock coverage relevant matter.
    1) stock coverage only happen on moving average price material?
    2) need advice on below scenario.
    initial stock value 1000usd , stock qty 100pc, map 10usd
    new order of 100pc @ 10usd
    before miro, issue inventory out of 160pc
    so during miro
    stock qty is 40pc, value is 400usd and map is 10usd.
    the balance of 60pc or 600usd will go to prd.
    correct?
    thanks

    Answer for Question 1:
    Stock coverage is only applicable to material with moving average price control. Unplanned cost are directly posted to price difference account in Material with Standard price Control irrespective of the stock level in the system
    Answer for Question 2:
    Initial Stock Quantity: 100 PC  Intial Stock Value: 1000 USD  Moving Avearge Price: 10 USD
    Ordered Quantity: 100 PC at the rate of 10 USD/PC
    Accounting entry duing Goods Receipt:
    Stock Account: 1000 USD
    GR/IR Clearing Account: 1000 USD
    total Stock in the plant = 100 (inital ) + 100 (Recent GR) = 200 PC
    total stcok value = 1000 (iniital) + 1000 (Recent GR) = 1000 USD
    Moving Average Price = 2000/200 = 10 USD/PC
    160 Pieces has been issued
    Stock in the Plant: 40 PC Only
    Accouting entry during Invoice Posing:
    Assumption 1: You are posting invoice for 100 PC of material at 10 USD/PC. No difference in PO price and Invoice Price
    GR/IR Clearing  Account: 1000 USD
    Vendor Sub-leger Account: 1000 USD
    Assumption 2: You are posing invoice for 100 PC of material at 11 USD/PC. PO price is 10 USD/PC. In this case stock coverage comes into picture
    GR/IR Clearing Account: 1000 USD
    Vendor Subledge Account: 1100 USD
    STock Account: 40 USD (because only 40 PC are available in the stock)
    Price Difference Account: 60 USD
    Assumption 2: You are posing invoice for 100 PC of material at 9 USD/PC. PO price is 10 USD/PC. In this case stock coverage comes into picture
    GR/IR Clearing Account: 1000 USD
    Vendor Subledge Account: 9 USD
    STock Account: 40 USD (because only 40 PC are available in the stock)
    Price Difference Account: 60 USD

  • Insufficient trading stock coverage

    Hi,
    I would like to clarify the calculation for the trading stock that out of coverage.
    When GR, unit price $2 , quantity 100 and total value is $200.
    Dr stock  200
    Cr grc     200
    1)
    During invoice time, the quantity now only have 40 and total value is $80.
    So when IR, how is the accounting entry as sufficient coverage only 80 and 120 should go to price difference?
    2) after IR, in MM03, the total quantity and value is both 0. correct?
    thanks

    Hi,
    I don't think so, according to your mention, the stock quantity still is 40 and stock value is $80 also. Because the GR price is equal to IR price, system doesn't adjust the stock account, that's to say:
    Do GR:
    Dr: Stock account $200
    Cr: GR/IR account $200
    Do IR:
    Dr: GR/IR account $200
    Cr: Vendor account $200
    If the GR and IR price are not equal, the result is different.
    Good day
    Tao

  • MCBZ report how to get total stock qty calculation?

    Dear Guru,
            if i checking one material in Tcode:MMBE having unrestricted stock is 356 & reserved qty is 56. After this when i am executing report MCBZ-- Current stock reqmt list & get Total stock qty is 120 for same material.
    can any one tell me how it is calculated (i.e. Total Stock).
    My requirement is we want to see a report which shows diffrence bewtwwen satfey stock & total stock. so i am using this report, if any othere suggestion then please reply me.
    Best Regards,
    Dev

    Dear,
           You can see in MD04 t-code here u can find safety stock and inventory stock.
    Regards
    Ravi

  • Historical Stock Balance Calculation

    Dear All,
      I've followed the "How to" paper and setup the stock balance for 2LIS_03_BX(compressed & no marker update "unchecked").
      The Opening balance was loaded to the keyfigure 0RECTOTSTCK which would add automatially to 0TOTALSTCK by it's nature.
      I've also loaded 2LIS_03_BF(compressed & no marker update "checked").
      It's done for 2008.03.01 as the reference point(Qty 50) but while looking up the stock quantity before 2008.03.01
      say 2008.02,  I got 0 stock balance although Qty 50 is expected.
      Other stock movements are giving -ve values to 0TOTALSTCK for previous months
      The problem is caused by the 0RECTOTSTCK already taken the stock Qty 50 and calculating atuomatically backwards giving 0 stock for previous month.
      Did I miss out any step?? plz advise~
      Thanks a lot !!!
    Here is what displayed in the report
    2008.03 In -- 50 out -- 0 tot -- 50
    2008.02 in -- 0   out -- 0 tot -- 0
    (in = 0RECTOTSTCK, tot = 0TOTALSTCK)
    PiPi

    Did you build the stock history by filling setup tables?
    Usually when we initialize inventory, we do the opening stock (BX) and then build the history for certain time. This depends on your requirements and data volume. historical movements should be compressed without marker update.

  • Safety stock coverage by Planned order

    Dear all,
    when I set the static safety stock for material w/o any other requirement in the MD04 and run MRP, system will generate Planned order to cover the safety stock. Safety stock availability for MRP is set to 0 (that´s correct in this case)
    It´s expected by my customer, when there are no requirements (reservations, sales orders etc.) system will not generate any Planned order even if there is a "shortage" caused by the safety stock.
    Does anybody have an experience with this?
    Example in MD04:
    Stock 100
    Safety stock -101
    Available stock -1.
    No requirement.
    => System should not create any Planned order.
    Thanks for answers.
    Regards,
    Martin Valcik

    Hi,
    You may try by defining safety stock availabilty ( in terms %) for a plant + Mrp group in IMG setting.
    menu path for ur reference :
    Material Requirement Planning
       |_ Planning
             |_ MRP Calculation
                      |_ Stocks
                              |_  Define Safety Stock Availability
    Here you define the percentage of the safety stock to be available for planning. This function is used to avoid a situation where order proposals are created unnecessarily by the system to cover small shortage quantities.
    Hope this is useful,
    Regards
    Partha

  • Stock Coverage profile with more tha 100 days (dynamic Safety Stock)

    Hello,
    My customer is using dynamic safety stock using coverage profiles up to 95 days.
    Now a new requierment emerged which states that they need to extend the coverage to 100, 120 and 150 days of safety stock.
    I looked into the config buy as far  as I understand it, I can only configurate up to 99 days of coverage in each period!
    Anyone had has this requierment form their Customers before and how did they resolve it?
    Thanks for any clue.
    Bye
    Aart

    Not in front of system, working from memory here...
    In OMIA, there must be a field called No. of periods (or something like that) maintain a value 2 there & for no. of days in a given period maintain 50. This should address the need for 100 days, likewise you can workout for the remaining.
    Do a test with the above in your sandbox & let me know if you face any specific issues.

  • How plant average stock is calculated in LTP

    Hi
    Can anybody tell me how system calculates plant average stock for a material in Long Term Planning. I tried to crack the formula behind the calculation,but no clue on that.

    To calculate the average stock pl do the following
    MS29...enter the scenario plant and MRP controller and execute with test mode with say 3 months say from 101007 to 310307
    Take a material number from there
    go to MB5b
    execute the report for the material and plant...take the opening stock for each month and average it..
    opening stock as on 010107 = X1
    opening stock as on 010207 = X2
    opening stock as on 010207 = X3
    then the average stock = (X1X2X3)/3
    this is equal to what you get in MS29

  • Material on-order stock quantity calculation

    Can anyone tell me the function module or method used by SAP to determine the amount of a material on an open purchase order (not yet received)?  I need to document a BW functional spec but cannot seem to be able to document how SAP does this.
    Examples of what i am looking for are:
    MMBE, on-Order stock quantity (Per material/Plant/Storage Locaiton)
    ME2K, Selection parameters WE103 - Still to be delivered (per PO)
    Thanks.

    Ram
    I have found that function module previously but cannot seem to be able to execute it.
    Import Parameters:
    X_ELIKZ = Blank
    X_LOEKZ = Blank
    X_MATNR = my material number
    X_MEINS = Unit of Measure
    Tables:
    XTAB = <B><U><I>What do I use here?</B></U></I><BR>
    XWERKS = my plant
    No matter what I enter in XTAB (I have tried Blank, EQ, NB so far) I get an ABAP Dump:
    <I><B>The IN itab operator is used with internal tables which have the following structure:
      SIGN(1)   OPTION(2)   LOW LIKE db_field   HIGH LIKE db_field
      The OPTION column should contain only one of the following values:
       "EQ LE GE CP BT NE LT GT NP NB"
    The value 00 is not allowed here.</I></B>
    <BR><BR>
    When analyzing the error, I found table MDBS that conatians the Order Qty and GR quantity - so I think I may be able to use this instead.

  • Stock coverage

    hi,
    for purchase item base on moving average price.
    during MIGO, the item is $15 per unit for purchase of 10 unit.
    map $15
    total stock 10
    total value $150
    during MIRO, the stock only remained 2 unit, each $15.50
    map $15.50
    total stock 2
    total value $31
    1) so when i post MIRO, the double entry will be no change if IR and GR both same value even stock only 2 unit. correct?
    DR grc 150
    CR vendor 150
    2) lf the invoice price is changed to $20 each, how the double entry will be?
    DR grc 150
    CR vendor 200
    DR ??
    thanks

    2) lf the invoice price is changed to $20 each, how the double entry will be?
    DR grc 150
    CR vendor 200
    DR stock account 50
    The MAP will be changed accordingly:
    map $15.50 --> 81/2=40.5
    total stock 2 --> no change
    total value $31 --> 81
    Why not you do a test in system and let us know the result?

Maybe you are looking for

  • Creative Zen Nano P

    Hello there! I have one mp3 player and I tried to connect him to my Panasonic compact audio system SA-DH30 with the "Line In" Cable but it isn't working. What can I do? ThX.

  • 10.5.3 update and problems with ReadyNAS server

    After updating to 10.5.3, I have had some problems with photoshop files on my Netgear ReadyNAS server • I worked on a couple of photoshop files - files that existed previous to the update. I made some changes and saved them. • Later, when I tried to

  • Need to find the free space on storage server

    Hi, I need to find the free space on storage server through Java code, and even find whether web server has access to the storage server. So please tell me how do i do that.

  • V$session view

    Hello Everyone, We are using oracle 10.2.0.5 database in HP-UX platform., The machine attribute of v$session column displays only 8 character of the machine name and it do not display the another characters. Can anybody can suggest the cause? Regards

  • Capture border, mouse movements and screen area showing incorrectly

    I'm using Captivate4 on Win7 Pro 32bit to record a web demonstration on IE8. Setting the capture area only records a portion of the selected area, and portions outside (and including) the red boundary line. Mouse movements and clicks are also off. I'