Stock on MB5B

Hi,
I´m having a problem with material stock. I get two different values on MB5B and MBEWH table for the same material, plant and date.
Material: TP05891070
Company code: 531
Plant: 7101
Selection Date: 01.01.2008 to 31.01.2008
On MB5B, I get:
Stock/Value on  01.01.2008   14,203.100KG    374,010.90 PEN
Total/Val. of Receipts             5,541.900KG     94,518.53 PEN
Total/Value of Issues             19,745.000KG    468,549.25 PEN
Stock/Value on  31.01.2008    0.000KG            19.82- PEN
On MBEWH table, I get:
TP05891070      2007        12       14,203.100 KG         374,010.90PEN
TP05891070      2008        01        0.000KG            0.00PEN
Why is there a difference on Final Stock for 01.2008?
From which table or report does MB5B get -19.82?
I was looking all tables MB5B use, but I haven´t found that value.
I hope u can help me. Thanks!
Jocelyne
Edited by: Jocelyne Garibaldi on Sep 18, 2008 11:01 PM

MB5B calculates backwards from today all the material documents and arrives at the stock quantities. The stock values are the values associated with each material document, either debit or credit. Apart from the material documents the price change documents (which get generated when MR21 is done) also will be taken into account for arriving at stock value.
I think probably price change (MR21) might have been done on back date after 31.01.08.
Regards,
GSL.

Similar Messages

  • Negative Stock in MB5B

    Hii,
    When i execute the mb5b for stock on posting date system is showing the negative stock.
    For Eg:
    Stock of one material is showing me as -50 No's as on Posting date 10.02.2008
    In MB51
    GR 101 for 100 No's on 29.02.2008 with Entry date: 29.02.2008
    GI 201 for 50 No's on 10.02.2008 ( it is showing me as -50 No's but stock was not there at material level on 10.02.2008) with Entry date 01.03.2008
    User has changed the posting date as 10.02.2008, which the entry date is 01.03.2008.
    So, System is not considering the stock when it was received. In case of non batch managed materials why system is behaving like this ??
    Is there any standard feature to control it ??
    Please suggest!
    Kumar

    Hi,
    Whatever example u have given is nothing but a negative stock.
    In SPRO-> Financial accounting> Global settings,there is setting for company code where we can decide whether to allow negative stocks or not by selecting the block.
    In that if we select it, then we can issue the material before receiving it.Ultimately it will show negative stock. And as soon as you receive the material, it will become positive.
    I've tried my best to explain, try this.
    Reward points, if found helpful.
    Regards,
    Piyush

  • Initial Stock on MB5B

    Hi!
    I want to know how MB5B gets Initial Stock/Value. For example:
    Material: 1112
    Plant: 7101
    Date from: 01.01.2008 to 31.01.2008
    Stock / Value for 01.01.2008       900KG     15000USD
    I have debugged program but I have seen it uses MBEW table but I can not find that value on that table, neither on MBEWH.
    I hope you can help me. Thanks!
    Jocelyne

    MB5B use RM07MLBD include to calculate the stock.
    Here is how it goes.
    1. Lets take a material with plant and a storage location. Get the current stock from table MARD.
    ( LABST = current stock available for unrestricted usage)
    2. Go to MSEG for the given material, plant and storage location.
    3. Get all the records between <the day u want stockvalue> to todays date.
    4. based on the movement types u may have to cancel some of the entries ( if they are return, or if some records were cancelled).
    5. calcualte the quantity from field MENGE by adding up all the records.
    Hope this clarify your doubts.
    Regards

  • No stock in MB5B quality but  appering in BW(urgent)

    Hi experts,
    we have come across an incident where the is no stock in R/3 MB5B quality, but when we executed the report in BW it is showing stock in quality for some material and plant combination.initially i thought the stock might have moved from quality to some warehouse after pulling to BW side but the stock qualtity and values are different fot the same mat-plant combination in r/3 and bw can you guys tell me how these variences occured.
    regards.
    Moses.

    hi,
    chk if the compression of the cube is done for all the request ,especially for the init loads.
    Ramesh

  • Negative  stock in mb5b report

    hi
    I am having zero stock on 13.11.2008. I did MIGO(101) date is 13.11.2008. My system allowing me to issue material on 5.11.2008. So that my stock came in negative in mb5b report not in MMBE. i am not getting any error if i am posting in back date in same period when there was no stock. Can i know which msg nor should i have to activate or any other way to me that user will get error while posting in back date?
    Thank you
    Sameer

    hi
    plz check u might activated OMJ1 - Allowing Negative Stocks.
    http://www.sap-basis-abap.com/mm/how-to-use-negative-stocks-and-its-purpose.htm
    regards
    kunal
    u hhave already created same thread earlier
    https://www.sdn.sap.com/irj/scn/profile?userid=3846363
    https://www.sdn.sap.com/irj/scn/profile?userid=3846363

  • Opening and closing stock from mb5b

    Hi Experts
    I am writing a code which will display goods reciept, issue, transfer, etc according to movement type .
    I have done the coding but the problem is I am not getting the opening stock by period , I want to get sum (lbkum)  sum (salk3) into some formulae column .. I want to get the sum of lbkum from mbewh joining mseg,mkpf  as period -1
    ie if I select 04.03.2009 , I want the sum of stock from mbewh based on period -1 . so what formale I have to write
    to get the opening stock on the date selected . The date range is selected from mkpf .
    I want to get stock on whatever date selected from mkpf.
    SELECT SINGLE * FROM mardh
    WHERE matnr = p_matnr
    AND werks = p_werks
    AND lfmon = p_buper
    AND lfgja = p_gjahr.
    Regards
    Piroz

    you can get all data using MC.9 report
    here you can get opening and closing stock with values based on material, plant, storage location
    Kindly make sure while giving period
    here it will take period in month and year i.e if you want opening stock for April then you have to give it as 03.2008 to 03.2008 and closing as 04.2008 to 04.2008
    Regards
    Edited by: WISH on Apr 23, 2008 1:15 PM

  • Stock in MC.9 and MB5B not matching

    Hi,
    I am getting stock in MC.9 report and stock in MB5B report not matching for a perticular storage location in a perticular peiod.
    Can anyone please help me what may be the reason that both report showing different quantity and value where as both are standard reports.
    Waiting for a quick response.
    Prasant

    Hello,
    The stock of MC.9 reflects the complete stock at plant level. It includes also the sock of material which one is send to vendor.(Subcontracting)  You can also cross check through MMBE in which stock prov. to vendor is different.
    While MB5B had three radio buttons for stock type.
    1 - Storage loc/Batch stock - which not include the materials provided to vendor.
    2 - Valuated stock    - - Total valuated stock as per your selection crieteria.
    3 - Special stock -- all the special stock such as subcontracting/pipeline/consignment.
    If you click on Valuated radio button and execute it, you will get same stock under head Closing stock and the value will same as the value in MC.9
    --Just click Valuated stock radio button.
    RGDS
    Rajan

  • Stock report in BW (valuated stock and Storage Location level)

    Dear All,
                Regards.We got an situation here,
    Case 1:  R3 (MB5B) (Both "Storage loc" and "Valuated stock" shows the same Stock Qty)
    1).The BW Stock Report shows values the Correct Values for "Receipt Qty" and "Issue Qty" with the Correct  "Quantity total Stock" aswell.
    Case 2 :   R3 (MB5B) (Stock is different between "Storage Loc" and "Valuated Stock")
    1).The BW Stock Report shows the  "Quantity Total Stock according to VALUATED STOCK Level(MB5B),but  the "Receipt Qty" and "Issue Qty" according to STORAGE LOCATION Level(MB5B) .
    We followed the "How to Handle Inventory "Doc with the proper sequence of Loading of Infosources and Compression.The data is sitting fine at the cube level.
    It would be great if someone can throw some Light on this issue,on how the Query shows a COMBO of both Valuated stock and Storage Location stock....Held up with this issue for quite sometime..Had a look at the   Oss Note (589024)...........
    Manythanks
    Arun

    HI,
    In Inventory we have two quantity fields given to satisfy the requirement.
    Valuated stock Qty - 0VALSTCKQTY
    Storage Location qty - 0TOTALSTCK
    You can make use of them based on your requirement. Hope this helps for you.
    Thanks,
    Arun

  • Opening Closing Stock in transit Report

    Hi,
    I have to get the ABAP development of Stock Report. Report would have following fields
    Opening Stock
    Opening Stock in Transit Quantity
    GR Quantity
    Purchase Value
    Sold Quantity
    Rejection Quantity
    Closing Quantity
    Closing Stock in Transit Quantity
    Consumption Quantity
    In Closing quantity , It should be without stock in transit quantity.
    Could you please help me to understand ,Exact Opening Stock ,Closing sock, In Transit Stock etc? How would these be calculated? from which tables all these data would come from. Thanks in advance.
    Regarda,
    Santosh

    SantoshArya wrote:
    Hi,
    >
    > I have to get the ABAP development of Stock Report. Report would have following fields
    >
    > Opening Stock
    > Opening Stock in Transit Quantity
    > GR Quantity
    > Purchase Value
    > Sold Quantity
    > Rejection Quantity
    > Closing Quantity
    > Closing Stock in Transit Quantity
    > Consumption Quantity
    >
    > In Closing quantity , It should be without stock in transit quantity.
    >
    > Could you please help me to understand ,Exact Opening Stock ,Closing sock, In Transit Stock etc? How would these be calculated? from which tables all these data would come from. Thanks in advance.
    > Regarda,
    > Santosh
    Hi,
    You can also check these standard reports before you proceed to develop a report..
    MB52 - List of Warehouse Stocks on Hand
    MB53 - Display Plant Stock Availability
    MB5B - Stocks for Posting Date
    MB5C - Pick-Up List
    MB5L - List of Stock Values: Balances
    MB5W - List of Stock Values
    MB5T - Stock in transit CC
    MC.9 - INVCO: Material Analysis Selection, Stock
    MC.A - INVCO: Material Analysis Selection, Rec/Iss
    MC.B - INVCO: Material Analysis Selection, Turnover
    You can also consider building a query report which wil also serve your purpose quickly...
    Regards
    Shiva

  • Stock Report on Past date

    Hi All,
    Can a stock report for any Past date with respect to qty and value be developed which gives the split of unrestricted, Quality and Blocked stock.
    MB5B gives stock report on any past date which is the total of all the stocks but not the split.
    Need ur assistance.

    Hi,
    MB52 tcode gives the current stock status. In my case stock status of any past date with the split up is needed.
    Regards

  • Variance in MB5B and MMBE / LS26

    Hi There ,
    The stock on Posting date ( T Code - MB5B ) shows zero till today, where as the Stock overview MMBE / LS26 shows the correct figure as required .
    Could anybody throw some light regarding what exactly is the logic behind the MB5B report . To my understanding MMBE / LS26 should sink with each other .
    Thanks in advance for your kind help !!!!!!!!!
    With Warm Regards
    Manoj

    Hi All ,
    Thanks to all of you for your kind and quick reply .
    As per the request from Anand ..The MB5B shows stock received as well as stock isssued till 12-12-2006 is same , so the stock available is zero . but on the same date 12-12-2006 System allowed to do Transfer Orders with a quantity ...my presumption is that if the stock in MB5B on 12-12-2006 is zero then how System allowed to do a posting of TO with a quantity ..
    MB5B I believe includes the unrestricted stock ..
    Kindly assist ...thanks again in advance for your kind help .
    Best Regards
    Manoj

  • Stocks report

    Hi,
    No split valuation.
    Is it possible to find the as on date stock for a particular material from a particular vendor from standard reports??
    If yes, how???   I require this without split valuation.
    Regards,
    Pradeep

    Hi,
    There are several reports for Stock like; MB5B, MB52, MB5L
    But these will not provide you the details that how much stock has been received and consumed from a specific vendor. These reports will provide you the cumulative stock details on material, Plant, storage location and batch level, not vendor wise.

  • Stock Overview (MMBE) Report in BW

    Dear All,
                We got a scenario  where :
    > The Key figure values like " Unrestricted Qty"," Quality Inspection ","Blocked Stock" shows different values in R3 when compared with BW.
    ------> When we boiled down,came to know that the extractor (2lis_03_bf) is not picking all Batches ,as compared with R3.Hence the Keyfigure values are less and different from R3.
    It would be helpful if someone could take time to help us out on how this issue can be solved.Have checked the stock against MB5B and other reports aswell and the stock qt's are fine.but just that it shows different against MMBE in R3.
    Manythanks
    Arun

    Hi Arun,
    Weather u are drilling the report to the storage location wise.
    if yes the data will never match as in Inventory side for some movment type accounting documents will not generate.
    For Inventory level reporting i suggest u check the UPdate rule as per ur Indusry as they only are responsible for Data in BI.
    Assign Points if it helps.
    Regards,
    sandeep

  • Opening & closing stock

    Hi Expert,
        I am developing one zreport . i want to know how to calculate
    opening and closing stock using mb5b standard report.
    Thanks
    Dinesh

    Hi,
    I would be really thankful if you could send me a couple of z_reports with the input parameters and output parameters, as we too are going for implementation project. Kindly send it to [email protected]
    Your help would really be appreciated.
    Regards.

  • SAP Report that shows Items Over Maximum Stock Levels

    I previously processed a reprot from SAP that I didn't capture the the T-Code for, whis shows my stock items with inventory values greater the set max.  I have tried searching and haven't had any luck on finding it again so I am reaching out with the hopes that someone might be able to help.  Thanks

    Hi,
    I Think there is no standard report in SAP to check inventory stock more then maximum stock.
    You can download your as on date stock from MB5B tcode & download maximum stock item list list from table MARC-MABST in excel format & join it through Vlookup.After that you can get stock list as required by you.
    Or you have to develop Z report for that.
    If any report is there,I would also interested to know it.

Maybe you are looking for

  • Ipod Nano 2Gb Not Recognized

    Hi. Today I bought a Second Generation iPod nano 2gb. I've downloaded iTunes and connected the iPod via USB 2.0. All my usb ports are on and they don't turn off. When I plug in the iPod, it charges, but does not show up in iTunes or under My Computer

  • I cant see profile pictures in my facebook account when i log on through firefox

    i cant see profile pictures of my friends in homepage and in their profiles in facebook when i log on through firefox. == This happened == Every time Firefox opened == a month ago

  • Recursive Sub-query Factoring... bug? or my own personal ignorance?

    I was trying to create a list of all dates in the current month using a recursive sub-query factor. (Oracle 11.2) I know how to do this by other methods; the question is, what's going on with this "WITH" example? Here's my attempt at generating the l

  • Forms 10g Crash in Windows 7

    Hi, Forms builder crashed during opening a file from a network location. Version: Forms= [32 Bit] Version 10.1.2.0.2 DB = Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 Event Id in Event Viewer is 1000 Error in Event Viewer: Faulting appli

  • Is there a solutions for the jagged/blurry photos in a iMovie HD 6.0 slide?

    Hi My name is Basfoto from Holland (so the Enlish can be off) I`ve tried making slideshows with iMovie HD 5.0. I came across the same problem as many of you: blurry and jagged photo`s while making a slideshow. I like the prog. because it give you so