Stock Ageing  (Qty & Value)

Hi,
We required Stock ageing like 
Mtrl.Desc      0-30     31-60     61-90    >90    Total
               Days     Days      Days    Days  
For this I had made a one query for Stock Ageing, In my cube we have calday,material,recqty,issqty,totalstk
In my query I have crate a restricted key figures i.e. 0-30 days, 31-60 days. This key figures restricted on keydate (variable) & Clos Stock (Calculated key figures).
Clos Stock key figures is base on  op.stockrecqtyissqty
Now when I run this report, below o/p will appear
Mtrl.Desc      0-30     31-60     61-90    >90   
               Days     Days      Days    Days  
  ACB           17       17        125     133 
  ZYX           30       30         30      30
regarding ABC didnot appear in 0-30 days because 17 nos is lying with us from 31-60 days
regarding ZYX material is lying with us more than 90 Days.
If I change my clos.stock formula  i.e. rec.qty - iss.qty Then only transation figures will appear. op.stock is not calculated. If only issue in perticular period qty comes in negative.
Pl. advice what I have to do for taking a correct report.
Manoj
09370667714

thanx for reply, But sir I have standard key figures  rec.qty & iss.qty, I have make one calculated key figures base on standarad key figures  rec.qty-iss.qty.
In this formula also added one calculated key figures op.stk. Now the cls.stk key figures is  op.stk+rec.qty-iss.qty.
This cls.stk key figures used in 0-30 days restricted keyfigures.
I hope you understood.
manoj

Similar Messages

  • Stock Aging report in SAP Business One

    Greetings,
    I don't think this issue has been raised successfully on the forums (i checked, there's no real resolution at the moment).
    The end user requires some form of stock aging that their auditors deem important but there's no such feature within SAP B1.
    Their basic requirements would be:
    Stock Code | Description | Date of Purchase | Current Month (qty) | 30-90 Days (qty) | 91-120 Days (qty) | 120 days and above (qty)
    I'm wondering if this is even possible with the end user using multiple warehouses to stock their inventory, and some items are marked as serial items and others are marked as batch.
    Any ideas?

    Thank you for pointing me in the right direction. Amended your query a little so the user input square brackets are there.
    SELECT T0.ITEMCODE , T0.ONHAND as 'Total Qty', CASE WHEN Datediff(day, T1.LASTPURDAT,GETDATE())<45 THEN T0.ONHAND END '<45 Days(Qty)', CASE WHEN Datediff(day, T1.LASTPURDAT,GETDATE())<45 THEN T0.ONHAND*T0.AVGPRICE END '<45 Days(Value)', CASE WHEN DateDiff(day, T1.LASTPURDAT,GETDATE()) >= 45 AND DateDiff(day, T1.LASTPURDAT,GETDATE()) < 90 THEN T0.ONHAND END '45 to 90 Days(Qty)'  , CASE WHEN DateDiff(day, T1.LASTPURDAT,GETDATE()) >= 45 AND DateDiff(day, T1.LASTPURDAT,GETDATE()) < 90 THEN T0.ONHAND*T0.AVGPRICE END '45 to 90 Days(Value)', CASE WHEN Datediff(day, T1.LASTPURDAT,GETDATE()) >= 90 THEN T0.ONHAND END '>90 Days(Qty)', CASE WHEN Datediff(day, T1.LASTPURDAT,GETDATE()) >= 90 THEN T0.ONHAND*T0.AVGPRICE END '>90 Days(Value)'
    FROM OITW T0 INNER JOIN OITM T1 ON T0.ITEMCODE = T1.ITEMCODE INNER JOIN OITB T2 ON T1.ITMSGRPCOD=T2.ITMSGRPCOD WHERE T0.ONHAND>0 AND T0.WhsCode ='[%0]'
    AND T2.ITMSGRPNAM = [%2]
    Will continue to review the aging issue and maybe even update the forums with the results.
    I can understand why in the query you've provided above its not really feaseable to have the Date of Purchase because its showing the stock quantity in total (which would make more sense instead of each item row by row)
    Edited by: Davinder Singh on Apr 18, 2008 4:38 PM

  • Inventory Stock Aging Report

    Hi All.
    I need Inventory Stock Quantity wise aging report from sap b1 sp 00 pl 47 .
    0-30, 31-60,61-90 and above 90
    Regards,
    Haider

    Check below link tooo
    Re: Stock Aging report in SAP Business One
    Re: Inventory Aging Report
    Stock Aging Report
    and this toooo
    SELECT distinct T0.ITEMCODE, T1.itemName,T0.ONHAND as 'Total Qty', T1.ManBtchNum,T1.ManSerNum,
    CASE WHEN Datediff (day,T1.LastPurDat, Getdate ()) <45 THEN T0.ONHAND END '<45 Days (Qty)',
    CASE WHEN Datediff (day,T1.LastPurDat, Getdate ()) <45 THEN T0.ONHAND * T0.Avgprice END  '<45 Days (Value)',
    CASE WHEN Datediff (day,T1.LastPurDat, Getdate ())>45 AND Datediff (day,T1.LastPurDat, Getdate ()) <90 THEN T0.ONHAND END '<45 T0 90 Days (Qty)',
    CASE WHEN Datediff (day,T1.LastPurDat, Getdate ())>45 AND Datediff (day,T1.LastPurDat, Getdate ()) <90 THEN T0.ONHAND * T0.Avgprice END  '<45 T0 90 Days (Value)',
    CASE WHEN Datediff (day,T1.LastPurDat, Getdate ()) >90 THEN T0.ONHAND END '>90 Days (Qty)',
    CASE WHEN Datediff (day,T1.LastPurDat, Getdate ())>90 THEN T0.ONHAND * T0.Avgprice END  '>90 Days (Value)'
    FROM OITW T0 INNER JOIN OITM T1 ON T0.ITEMCODE = T1.ITEMCODE
    INNER JOIN OITB T2 ON T1.ITMSGRPCOD=T2.ITMSGRPCOD
    left join ibt1 t3 on t3.itemcode = t0.whscode
    WHERE T0.ONHAND >0 AND T0.WhsCode = '[%0]' AND T2.ItmsGrpNam ='[%1]'

  • Stock aging Report

    Dear Experts ,
    I want a stock aging report for a material plant & vendor input combination which would give me the following details as output :
    First GR date & qty
    Last GR date & qty
    Stock qty & value on end date  date
    Is there any std report for the same in SAP ?
    Regards
    Lakeer Bhatt

    Hi dear,
    Refer below link
    [http://wiki.sdn.sap.com/wiki/display/ERPLO/SAP%20Standard%20Reports?bc=true]
    You can refer below T. codes for inventory aging but in non of the report vendor will come into picture.
    MC.9 - INVCO: Material Analysis Selection, Stock
    MC.A - INVCO: Material Analysis Selection, Rec/Iss
    MC.B - INVCO: Material Analysis Selection, Turnover
    MC.C - INVCO: Material Analysis Selection, Coverage
    MCBV - INVCO: Parameter Analysis Selection
    MCBZ - INVCO: Stock/Requirement Analysis Selection
    MCB) - INVCO: Long-Term Stock Selection
    MC40 - INVCO: ABC Analysis of Usage Values
    MC41 - INVCO: ABC Analysis of Requirement Values
    MC50 - INVCO: Analysis of Dead Stock
    MC49 - INVCO: Mean Stock Values
    MC44 - INVCO:Analysis of Inventory Turnover
    MC.1 - INVCO: Plant Analysis Selection: Stock
    MC.5 - INVCO: Storage Location Analysis Selection, Stock
    MC.T - INVCO: Material Type Analysis Selection, Stock
    MC46- slow moving items
    MB5B
    Edited by: Deepak Kulkarni on Mar 3, 2011 12:04 PM

  • Stock Aging report Whwise & IT group wise

    Hi All,
    I want query for stock aging report Warehouse wise and Itemgroup wise in 0-45, 46-90 and greater then 90 days with value,
    Thanks in advance.
    Thanks & regards,

    Hi,
    Check this...
    SELECT distinct T0.ITEMCODE, T1.itemName,T0.ONHAND as 'Total Qty', T1.ManBtchNum,T1.ManSerNum,
    CASE WHEN Datediff (day,T1.LastPurDat, Getdate ()) <45 THEN T0.ONHAND END '<45 Days (Qty)',
    CASE WHEN Datediff (day,T1.LastPurDat, Getdate ()) <45 THEN T0.ONHAND * T0.Avgprice END  '<45 Days (Value)',
    CASE WHEN Datediff (day,T1.LastPurDat, Getdate ())>45 AND Datediff (day,T1.LastPurDat, Getdate ()) <90 THEN T0.ONHAND END '<45 T0 90 Days (Qty)',
    CASE WHEN Datediff (day,T1.LastPurDat, Getdate ())>45 AND Datediff (day,T1.LastPurDat, Getdate ()) <90 THEN T0.ONHAND * T0.Avgprice END  '<45 T0 90 Days (Value)',
    CASE WHEN Datediff (day,T1.LastPurDat, Getdate ()) >90 THEN T0.ONHAND END '>90 Days (Qty)',
    CASE WHEN Datediff (day,T1.LastPurDat, Getdate ())>90 THEN T0.ONHAND * T0.Avgprice END  '>90 Days (Value)'
    FROM OITW T0 INNER JOIN OITM T1 ON T0.ITEMCODE = T1.ITEMCODE
    INNER JOIN OITB T2 ON T1.ITMSGRPCOD=T2.ITMSGRPCOD
    left join ibt1 t3 on t3.itemcode = t0.whscode
    WHERE T0.ONHAND >0 AND T0.WhsCode = '[%0]' AND T2.ItmsGrpNam ='[%1]'
    Thanks
    Sachin

  • 544 Movement ,Qty & value is not getting updated in MC.9

    Dear friends,
    MC.9 & MB5b report is showing difference in Qty & Value.In my analysis i came to know that 544 movement is not getting updated in MC.9. I also Checked the Statistically relev. key as 2 and Consumption posting   G  in OMJJ.
    I require the info about MC.9 configuration or any info related to this.

    Hi,
    Please refer SAP note 581240 for this.
    For these stocks you have three valuation types for selection:
    ' ' = no inventory valuation
    'A' valuation = without reference to sales document ('make-to-stock
    inventory')
    'M' = separate valuation with reference to the sales and distribution
    document/project
    ONLY stock/stock movements with special stock valuation 'A'
    (make-to-stock inventory) are updated in Inventory Controlling.
    Thus, if you find a document which is not updated in the info structures
    of Inventory Controlling (S031-S039) and you require this, check the
    corresponding documents in the materials management tables. You can find
    the special stock indicator and indicator of the valuation of the
    special stock, for example, in document segment table MSEG in the
    following fields:
    MSEG-SOBKZ = Special Stock Indicator
    MSEG-KZBWS = Indicator: Special Stock Valuation
    Only A type (make to stock ) are updated in the info structures.
    Hoping this helps.
    Regards,
    Rajesh.

  • Standard Report for stock Aging

    Hello all,
    can anyone plz let us know that is there any standard report in SAP for stock aging? actually i have to see the materials quantity whose 311 movement not done after 321 and also from how many days it is pending.
    Kindly help and tell how can i find those materials quantity, while user also do 311 for partial quantity?
    Regards.

    Hi  @ABAP@
    Check the followings...
    MB24 - Reservations for Material
    MB25 - Reservations for Account Assignment
    MB51 - Material Document List
    MB52 - List of Warehouse Stocks on Hand MB53 - Display Plant Stock Availability
    MB54 - Consignment Stocks
    MB56 - Analyze Batch Where-Used List
    MB57 - Build Up Batch Where-Used List
    MB58 - Consgmt and Ret. Packag. at Customer
    MB59 - Material Document List
    MB5B - Stocks for Posting Date
    MB5C - Pick-Up List
    MB5L - List of Stock Values: Balances
    MB5M - ShL.exp/prod.date
    MB5S - Display List of GR/IR Balances
    MB5W - List of Stock Values
    MB9A - Analyze Archived Material Documents
    MBAL - Material Documents: Read Archive
    MBGR - Display Material Documents by Movement Reason
    MBSI - Find Inventory Sampling
    MBSM - Display Cancelled Material Documents
    MMBE - Stock Overview
    MD07 - Current Material Overview
    MR51 - Material Line Items
    MRKO - Settle Consignment/Pipeline Liabilities
    MB5T - Stock in transit CC

  • How to get the Open Order Qty value from Transaction Code RWBE?

    Hello,
    Recently I have a program that needs to extract the value of Open Order Qty value from RWBE.
    My specific steps are as follows:
    - I go to tcode <b>RWBE</b>
    - I select the <b>material and plant</b>
    - I tick the checbox for <b>"Also select special stocks"</b> and <b>"Also select stock commitments"</b>
    - I execute the program double click one of the rows for the <b>Unrestricted Use coulmn</b> and view the <b>Open Order Qty</b>.
    My question is how is this particlar variable attained? I tried Ekbe and the ELIKZ feild from EKPO and I still cant seem to get the right value.
    Hope to hear from you soon.
    Thank you and good day.

    check with FM :
    CALL FUNCTION 'MB_ADD_PURCHASE_ORDER_QUANTITY'
           EXPORTING
              x_matnr = t_matnr-matnr         " TGA/4.6 Erw. Lot
              x_meins = t_matnr-basme         " TGA/4.6 Erw. Lot
                x_matnr = prt_matnr-matnr  " TGA/4.6 Erw. Lot
                x_meins = prt_matnr-basme  " TGA/4.6 Erw. Lot
                x_elikz = space
                x_loekz = space
           TABLES
                xtab    = xtab
                xwerks  = r_werks.
    above fm will get open order qty for given material in po

  • Stock ageing report

    Hi all,
            I am developing stock ageing report i would not able to find Below fields in existing cube, kindly guide me how i can get those fields data in BI. whether i can create generic extraction or ? please give yr suggestion.
    Fields:
    vendor sub range
    consignment no
    Return flag(Returnable)
    And also GR data and GR qty already data availble how to find last GR date based on user input.Please sugges me.
    Last GR date  
    Last GR qty
    Thanks & Regards,
    R. Saravanan

    Try extractor 2LIS_03_BF. Or table MSEG.

  • Facing Issue with Stock Ageing report

    In Blocked Stock Ageing report Output, I am facing following issues
    1. Stock is correct but once we include the "Reason For Movement" then the aging is getting wrong  and in some cases value is coming Negative.
    2. In some cases "Reason For Movement" is coming in ‘#’, but this is a mandatory field. Hence cannot be blank.
    Note:
    1. Overall stock is coming correct.
    2. Reason Movement chat. is in free char
    3. Report is based 0IC_C03.

    Hi Nadeem,
    Reason for Movement is loading from  what attribute?  check in RSRV for that attribute.
    RSRV-->All Elementary Tests ->Master Data ->Compare Size of P-, Q- with X- and Y- Tables respectively .
    If it has any error then  correct that error in RSRV. It  will solve your problem.
    Regards,
    Rajesh

  • Batch transaction stock aging report

    Hi Experts,
    Can you some one help me with query which give stock aging report base on Batch wise transactions (IBT1).
    Item Code,    Item description  Batch#(Qty which are >0),  Batch Qty,  Stock "IN" creation Date,
    Thanks for your help.
    Regards,
    Suresh

    Dear parneeth,
    As requested please try this Query to fulfill your requirement.
    SELECT T0.docnum,
    T2.BatchNum,T2.ItemCode,T2.Quantity,
    T2.ItemName,T0.CardName as Supplier,
    T2.SuppSerial,T2.IntrSerial,T2.ExpDate,T2.PrdDate,T2.InDate,T2.Located,
    convert(varchar(8000),T2.Notes)
    FROM OPDN T0 INNER JOIN PDN1 T1 ON T0.DocEntry=T1.DocEntry
    inner join
    OIBT T2 on T1.ItemCode = t2.ItemCode and T0.objtype=T2.basetype and T2.baseentry=T1.Docentry
    inner join
    oitm T5 on T1.Itemcode=T5.Itemcode
    WHERE
    T2.quantity>0
    group by T0.docnum,T2.BatchNum,T2.ItemCode,T2.Quantity,
    T2.ItemName,T0.CardName,
    T2.SuppSerial,T2.IntrSerial,T2.ExpDate,T2.PrdDate,T2.InDate,T2.Located,
    convert(varchar(8000),T2.Notes),T1.Linetotal,T1.Quantity
    REGARDS
    MANGESH PAGDHARE.
    Edited by: MANGESH  PAGDHARE on Jan 9, 2012 6:31 PM

  • Stock ageing report with batch Management active

    Hi Experts,
    My client wants a Stock ageing report and batch management is active
    According to my client, Inventory ageing report should show stock quantities and stock value as follows,
    1. Below one year
    2. Between one and two years
    3. Above two years
    What are the table and fields to be considered for this report.
    Thanks
    NDS

    What steps do you mean? taking an ABAP course and doing it yourself, or stepping to an ABAPer and let him know what he shall do?
    you asked for a stock report, not for a movement report.
    If I go into my warehouse and looking at all the stuff sitting there and want a report that should tell me how old this stuff is, then i am not intrested if there was a goods receipt movement.
    However I would like to know the last movement date. In this case you have to look into table S032 or into the movements MSEG (with MKPF as header table)

  • Stock Aging Analysis Report by Serial Number

    Hi Experts,
    Is it right to create a Stock Analysis Report for all materials based on Serial Numbers? Because I have now developed a Stock Aging Report which will display the values of stock aging based on Goods Receipt created however, when I base it on Goods Receipt and Serial Numbers, the number won't tally. Please explain what happened? Is this approach not feasible?
    Please help.
    Thanks a lot for your answers!

    Hi @Bijoy,
    We are now experiencing a lot of issues regarding tracking the stock by serial numbers because the current stock aging report only applies to a FIFO stock system. There are also stocks that are transferred from Location to another Location (Sto Loc to Sto Loc2) and they wanted their stocks' aged to be based on the first Storage Location Posted. Please tell me if this is feasible.
    Thanks a Lot!

  • Urgent: regarding stock aging report

    hi,
    i want to have t-code for 'STOCK AGING REPORT' which shows that this material is present in the plant from this <b>date</b>. <b>plzzz provide me the tcode for it.</b>
    if anybody provide me solution to it will be definately rewarded.
    Message was edited by:
            ric .s
    Message was edited by:
            ric .s
    Message was edited by:
            ric .s

    Hi,
    Please try transaction code MC50
    also u can use mc.9 in that use fields like last consumed last good issued and last goods receipt
    after runing report u will get material and values t add above fields
    press f6 and add last consumed last good issued and last goods receipt
    and with this data u can analys this data
    Reward if found  helpful ...
    Cheers,
    Chandra Sekhar.

  • Stock Aging report logic

    Hi ,
    There is a report requirement from stock aging report based on the bucket scenario.
    I need to calculate the stock based on quantity(MSEG - MENGE) and moving average price/periodic unit price(MBEW - VERPR).
    Then i need to perform the same into bucket scenario like 0-09 ,91-180,180-360,>360.
    I can see the field (MENGE) in the standard datasource 2LIS_03_BF which is connecting with the infoobject 0QUANT_B.
    But in the update rule/transformation there no assignment for this.
    For which infoobject i can map to the cube and what logic i need to perform.
    There is a calculation for this in the report for the value of the stock below.
    Value = Quantity(MENGE)xmoving average price/periodic unit price(VERPR).
    Stock Logic:
    Stock is consider based on the movement types: 101,701,712.
    Can anyone give me the idea on this how to perform the logic.
    Thanks,
    satya

    Hi Vijay,
    Functional consultant has given the logic for calculating the stock is
    Stock Quantity is restricted based on the movement types 101,701,712.
    Stock Value = QuantityxMoving average price /periodic unit price
    The logic for calculating the buckets based on the Posting date(0PSTNG_DATE).
    My concern is how i can perform the same logic in BW side to calculate the value of the stock.
    Advice...
    Thanks,
    Satya
    Edited by: satya prasad on Aug 5, 2011 7:03 AM

Maybe you are looking for

  • How do I move a table from one schema to another schema on Oracle XE?

    How do I move a table from one schema to another schema on Oracle XE?

  • Printing Prenumbered Bill of Exchange under RFFOUS_C

    Hi collegues, We are developping a sapscript to create a prenumbered bill of exchange that is to be printed with advice, all in the same page. We have use sapscript F110_EN_CHECK to make copy ZF110_CHECK but we are not managing to print it correctly

  • ARD admin behind Airport

    I am using a Snow Airport at home (with an Airport Express to expand range) as my router. I use ARD at work to manage all my machines. I want to use the admin at home to manage the same machines at work. When I had a linksys router, everything worked

  • Beehive BDK create wiki page

    Gurus, Im using the Beehive BDK in java, generated off https://stbeehive.oracle.com/ws/wsdl using ant and WSIMPORT. I can get lots of the code to work, but when I create the wiki page, I get nothing no content etc. The basic code is below. The page i

  • ERROR CON EL BOTÓN MENU INICIO. NO FUNCIONA.

    El botón de Menu inicio deja de funcionar y cuando abro aplicaciones no puedo volver al menu principal. ¿qué puedo hacer?