"Stock on hand" at certain date.

Hi Guys,
I need to create a query that can tel me what the Items' "Stock On Hand" was at "A Given Date".  Can anyone point me to a Query or shed some light to this requirement.  I need to group them by a UDF and i cant see a way of doing this using STD SBO Inventory Reports.  So I will be doing it using the Queries in SBO.
Thanks

Found it!!!
Using the OINM - Whse Journal, I can calculate the Items' SOH at a specific Date.

Similar Messages

  • Calling MB5B from a program to determine stock on hand as on date

    Dear friends,
    I want to call transaction MB5b from my report passing (matnr, plant and selection date-sy-datum ) values from internal table (11500 records) and fetch the quantity field that gets displayed after executing. How to do that. can anyone write the code for that. Because writing full program for determining stock-on-hand seems meaningless as we can get that value from MB5b. Can we trap that parameter in the standard program RM07mlbd and import that parameter to the program. Any suggestions.
    Please write full code. I guarantee Points would be rewarded if solved.
    Regards.
    D.P.Mallick

    Hi,
    could you please post the code how it was done. I am facing a similar issue.
    Regards
    Mohan

  • Special Stock as of Certain Date Filtered By Customer

    Hi MM GURUS,
    Is there a standard report in SAP which is like MB5B which can show/display special stock as of a certain date but can be filtered per customer?
    Thanks,
    Jograd

    Hi,
    Material is valuated or not depends on Material Type. So, in your case you need to know which material types are valuated. In standard SAP system Material Type UNBW and NLAG are not valuated in term of price, generally others are!
    For a particular material: MMBE(Standard report) or MM02 (Accounting view).
    Hope helped
    Reetesh

  • Report to show beginning-ending stock on certain dates(as MB5B)

    Hello to everybody,
    we have this requirement:
    MB5B should create a list with the items that are shown on the header part of the list . These items are shown when we tick the field XSUM. This list should be in format of report or alv , in order to be easily transfered to EXCEL.
    We can do that with a  Z report, by I wonder if there is any other report from which we can derive those totals, meaning the beginning stock on certain date, and the total stock at the end of date. MB51 does not include the beginning stock.
    Thanks,
    Irene

    hi,
    MB5B and MB51  are std and fullfill report for stock and valuation in SAP. if your requirement is not ful fill with this report then need to take ABAP help and copy MB5B report program and  make required  Z report as per your requirement. no issue.
    regards,
    sans

  • Stock at a certain date.

    Hi,
    how can I find the quantity of stock at a certain date ?
    Yours truly

    Hi
    Use transaction code MB5B for stock on a posting date.
    Thanks & Regards
    KK

  • Stock on hand info

    Hi All,
    this query would be used to have info about stock on hand qty of batch item. I am not so sure about it, could you please make sure if it is wrong or not ?
    The query:
    SELECT T0.[ItemCode], T0.[ItemName], T0.[ItmsGrpCod], T2.[WhsCode], T1.[BatchNum], T1.[SuppSerial], T1.[IntrSerial],
    T1.[PrdDate], T1.[InDate], T0.[OnHand],  T1.[BaseNum], T1.[BaseType] FROM OITM T0  INNER JOIN OIBT T1 ON T0.ItemCode =
    T1.ItemCode INNER JOIN OWHS T2 ON T1.WhsCode = T2.WhsCode WHERE T1.[InDate]  between '01/01/2006' and '01/31/2007' and 
    T0.[ManBtchNum]  = 'y' and  T0.[OnHand]  <> '0'
    Thanks a lot.
    Rajh

    The query you've given is similar with the query in a certain SAP note I could not remember its no. It is just showing the info of current situation.
    I just want to have the qty stock in hand of batch item until last december 2007. The fiscal year is started from january 2006, that's why I use indate field in the condition part.
    If I use this query :
    select distinct t0.itemcode, sum(isnull(t1. onhand,0)) in_stock, sum(isnull(t0.quantity,0)) on_batch,
    sum(isnull(t1.IsCommited,0)) allocated, T0.[BatchNum], T2.[WhsCode], t0.[InDate] FROM
                  OIBT T0 INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode
                     INNER JOIN OITW T2 ON T1.ItemCode = T2.ItemCode AND T0.WHSCODE = T2.WHSCODE
                  where t1.manbtchnum = 'Y' AND t0.indate between '01/01/2006'
    and '12/31/2007'
                  group by t0.itemcode, T0.[BatchNum], T2.[WhsCode], t0.[InDate]
                  having sum(isnull(t0.quantity,0)) <> 0 and t0.indate between '01/01/2006'
    and '12/31/2007' and (sum(isnull(t1.onhand,0)) <> 0 or sum(isnull(t2.IsCommited,0)) <> 0)
    the result is similar, still current qty stock on hand info of batched item.
    I need to have the info because I want to create new database based on the last database. I mean I need backdated data. I will begin opening balance to the new database.
    Tks.
    Rajh

  • Stock on hand problem

    Hi All,
    what are the steps to perform the uploading of actual qty of items in the warehouse every end of months ? we begin to calculate qty of items in the warehouses (disregarding qty in system (SBO)) from date 30 to date 4 of early of next month. We use stock taking template, inventory tracking and stock posting but some items will have negative stock on hand qty, what is the causes ? are the ordered and committed influence this stock ? Thanks in advance.
    Balaj

    The negative stock is because you have not checked in Admin > System Init > Document Settings > Block negative inventory.  Showing negative inventory is not a good business practise as  tangible goods can never be negative.  This On hand quantity is not affected by Ordered or committed.  This is purely what is physically in the warehouse.
    You must first change the setting to Block Negative Inventory.
    Then you must using Stock taking DTW template to import monthly stock balance and reconcile stock using Inventory Quantiy, Inventory tracking,.. option.
    Suda

  • Stock on hand at a point in time

    Hi Experts
    I am busy doing an inventory report in Crystal. I need to pull the stock on hand for all the items for each month (past 4 years, +-2500 items)
    At the moment, i am taking inqty - outqty where date <= (beginning of each month)
    My report is taking forever to process the info.
    Is there any other way I can get the stock on hand at previous points in time? Or any tricks to help SQL process the data quicker?

    Hi Bradely,
    I've a query pulling opening stock in qty from the system.
    Through unions on all the transaction tables i'm pulling the data warehousewise.
    It hardly takes any time.
    I'm trying to print stock value too. Which I'm unable to figure out.
    If you want I'll pass that query.
    Any idea about how to figure out stock value ?
    Thanks
    Malhaar

  • Tables used for a Stock-In-Hand Report ?

    Hi,
    I need to generate a stock in hand report. For this report I only need to consider Purchasing Inventory Stock and not the Sales Order Stock. What tables do I have to use?, if possible the query!
    Thanks,
    Kishan

    Hi Kishan,
    Try and use FM 'BAPI_MATERIAL_AVAILABILITY'. I have used this FM in the past for Stock on Hand reports. Only drawback is that it only runs for one material / plant at a time!
    You cold also use FM 'AVAILABILITY_CHECK':
    Structure to hold ATP Controller: Control Parameters
      DATA: BEGIN OF st_atpca.
              INCLUDE STRUCTURE atpca.
      DATA: END OF st_atpca.
    Table to hold ATP: Requirements to be Checked/Considered
      DATA: BEGIN OF tbl_atpcs OCCURS 0.
              INCLUDE STRUCTURE atpcs.
      DATA: END OF tbl_atpcs.
    Table to hold ATP Server: ATP data for display
      DATA: BEGIN OF tbl_atpds OCCURS 0.
              INCLUDE STRUCTURE atpds.
      DATA: END OF tbl_atpds.
    Table to hold ATP Server: Material Table
      DATA: BEGIN OF tbl_atpmat OCCURS 0.
              INCLUDE STRUCTURE atpmat.
      DATA: END OF tbl_atpmat.
    Populate ST_ATPCA
      CLEAR st_atpca.
      st_atpca-anwdg  = '8'.    "Calling App - Explaination
      st_atpca-azerg  = 'T'.    "ATP Display Result
      st_atpca-rdmod  = 'A'.    "Read Mode - Totals
      st_atpca-xenqmd = 'N'.    "Do not read Blocks
    Populate TBL_ATPCS
      CLEAR tbl_atpcs.
      REFRESH tbl_atpcs.
      tbl_atpcs-matnr  = p_matnr.  "Material
      tbl_atpcs-werks  = p_werks.  "Plant
      tbl_atpcs-prreg  = 'A'.      "Checking Rule for Avail Check
      tbl_atpcs-chmod  = 'EXP'.    "ATP: Check mode
      tbl_atpcs-delkz  = 'VC'.     "MRP element indicator
      tbl_atpcs-bdter  = sy-datum. "Requirements date for the component
      tbl_atpcs-xline  = '1'.
      tbl_atpcs-trtyp  = 'A'.      "Transaction type - Display
      tbl_atpcs-idxatp = '1'.
      tbl_atpcs-resmd  = 'X'.      "Mode for Results of Check - Proposal
      tbl_atpcs-chkflg = 'X'.
      APPEND tbl_atpcs.
      CALL FUNCTION 'AVAILABILITY_CHECK'
           TABLES
                p_atpcsx  = tbl_atpcs
                p_atpdsx  = tbl_atpds
                p_atpmatx = tbl_atpmat
           CHANGING
                p_atpca   = st_atpca
           EXCEPTIONS
                error     = 1
                OTHERS    = 2.
    Would recommend giving both these FM's a go and see if they have what you want.
    Cheers,
    Pat.
    PS. If you find these suggestions helpful, kindly award Reward Points appropriately.

  • MM Report on Stock on Hand.

    I am looking for a report reflecting the u201CTop 500 materials in a descending stock-on-hand value sequenceu201D as on a specific date. (it should reflect the mat number; description; unit of issue; unit price; SOH value per mat and cumulative value.)
    How can I ge this in Invemtory Management.

    Dear All,
    My query regarding stock on hand (MB5B )
    1)When mb5b is used I am unable to take stock in a particular storage location.How to acheive this
    2)In MB5B all the materials in the plant are being displayed which should not be and only material which are involved in stock trasactions (ie, opening stock,issues, closing stock etc)
    Hope I am clear.
    How to over come the above problems.
    Pls provide your valuable inputs.
    Regards,

  • SAP has a table that maintains Stock on Hand for each day

    SAP has a table that maintains Stock on Hand for each day
      do u know which table is that
    as i need to find data on stock on hand

    HI Arunraj
    if there is any specific time of the day that you want to extract the data, you can copy the data from the order series key figure  (assuming that you want to extract the data from the order series keyfigure) to a time series key figure and extract the data from the time series key figure into a cube, etc.
    I mention a specific time of the day because the stock situation is likely to change multiple times of the day due to stock movements on account of various reasons. Hence if you can establish a rule or a cut-off time of the stock situation, you can use the above route.
    Hope this helps.
    Thanks, Sandeep

  • Stock on Hand after GR

    Hi,
    I need to know how I find the stock on hand after a GR, what tables could be used to get the relevant data
    cheers
    B

    Hi,
    You can get the details from MMBE or from table MARD for storage location or MCHB for batches.
    Thanks.
    Sathish

  • Display stock on hand information on Monday mornings

    Can you think of any way for us to be able to display stock on hand information on Monday mornings?  If the data is loaded from a file that has a Sunday date in the file it will not be displayed in the current week.  Since this would only happen on Monday morning process chain runs, we either need to change the current week start day (it doesn't appear that that is possible based on your screenshot) or force the AvailProv info to load into the Monday time bucket.

    Hi Ram,
    I am working on a similar requirement for a report called Days Inventory on Hand. Can you share some information on this report. I would need to know the different criteria we need to consider while preparing this report. Would appreciate your help in this regard.
    Regards
    Vijay

  • Not getting Stock on hand in May Month,while getting in April(Urgent Please

    Hi,
    In my BW, there are countable records, those have posting date as 31.01.2008. and it has stock of 96.4 kg. Since "Stock On hand" is calculated on fly and it gives snap shot.
    I can see the same value 96.4 kg, for next all days till April 2008.
    But suddenly I see no record in query for month May 2008. Though it should give me the same 96.4 kg value in May month also. As it was doing for last three months.
    Please suggest any solution.
    Thanks and Regards
    Saurabh Tiwari

    Please check the TimesTen message logs (<tt_install_dir>/info/ ttmesg.log and terrors.log) on both nodes for messages relating to 'clock skew'. In order for replication to function the system clocks on all participating nodes must be synchronised to an accuracy of <= 250 ms. If they are not then replication will not operate. The symptoms you describe are typical of unsynchronised system clocks.
    Chris

  • VL10A - Stock on hand Availability Check before creation of delivery

    Hi,
    I'm trying to figure out how to control the creation of delivery via VL10A to first check for actual receipted stock before allowing the delivery to be created.
    eg. Material X has inbound delivery date 01.07.2011.  Sales Order has delivery date of 01.07.2011, thus schedule line has confirmed date of 01.07.2011.
    On 01.07.2011, inbound delivery has not yet been GR'd into stock, VL10A runs with current date set and outbound delivery is created for Sales Order, despite the stock not being available to deliver.
    Where does this check (for available stock on hand) need to be performed?
    Is there a setting in the input parameters in VL10A? If so which specific parameter on what tab controls this?
    If not, does this need to be handled in the Availability Check & Transfer of Requirements configuration of the sales order, so that the schedule line is not confirmed until the goods are in stock?  If so, what specific config is required to achieve this.
    During my research I have found responses indicative of both areas however no specific examples are available. Thanks for your help
    Jodes

    Hi
    Please check OVZ9 . In availability check control you can control the in/outward movements.
    Hope it helps
    Karthik

Maybe you are looking for

  • Custom Report for CO04n Mass Printing

    Hi, In CO04n for a given order number, production plant and order type when we click from main menu mass printing->execute. We get a list of outputs together for the order number. Object List. Job Ticket Pick List Goods Issue Goods receipt Confirmati

  • Updating a PDF form and keeping it accessible... is there an easier way?

    So I have some InDesign files that were converted to PDF files then brought into Acrobat X where they were turned into accessible forms.  Now edits need to be made to the content.  I've been trying to figure out what the best approach with the least

  • HT3302 every time i connect my ipo

    When i connect my ipod classic 80g to the computer on itunes the computer freezes. How can I fix this? I have removes itune and the reinstalled, still no differences. am lost, help!

  • Creating a six sided concertina in indesign

    Hi there. I would like to get some help with a concertina that I am creating. I am creating a six sided concertina and want to know how i go about showing the folds of the concentina to the printers, without adding back lines that will be printed. I

  • Opening a console window with NetBeans?

    I'm curious if anyone knows a solution on opening a console window when executing within a Netbeans project? I searched the help docs and the web and I have not come across much luck. The source code I have requires it and it just looks horrible in t