Stock on posting date -storage location and batch wise

Dear All
I need to developa report exactly same as MB5B but with storage location and batch wise.
We need  storage location wise opening stock, total receipts, total issues and closing stock, and values for given time period.
I have gone through some history tables like MCHBH and MBEWH.
But all the history tables are having fileds for period wise but not date wise.
Any focus on this?

You have to read the coding of MB5B to see how SAP is doing it.
The stock per date is calculated, starting from a month end, adding or reducing quantities based on movements until the date in question is reached.

Similar Messages

  • Link between storage location and batch number to retrive the salk3 field

    HI,
    In my report i need to give the output as follows
    For each lgort with related batch number we need to get the salk3.So i need to get a link between lgort , batch number to retrive the salk3.can any one give the tables from which i can get the link and retrive the data.
    note: My report output should look like the fields lgort batch  and unrestriced value of stock in tcode mb52.
    subhashini.
    Edited by: subhashinikb on Apr 1, 2011 9:38 PM

    Hi,
    In 2 steps, u can get the unrestricted stock value.
    step1: Get material no (MATNR), plant (WERKS), batch (CHARG) and unrestricted stock (CLABS) from table MCHB by sending Storage location and batch number.
    Step2: Get standard price STPRS from table MBEW based on condition where MATNR = MCHB-MATNR, BWKEY = MCHB-WERKS and BWTAR = MCHB-CHARG.
             unrestricted value in MB52 will be (MCHB-STPRS) * (MCHB-CLABS).

  • Stock transport order between storage locations and assignment category type E not in MRP

    Hello Gurus,
    I have a stock transport order between 2 storage location which belongs to the same plant. Besides the stock transport order is allocated to a sales order (account assigment category E). When I run the MD03, the system take into account the quantity of the stock transport order as a future entry and this is wrong. I need that the MRP has not into account the stock transport order as an entry.
    As an important information, If I modify the stock transport order removing the account asignment category E (sales order), then the MRP doesn't take into account it, so this is correct.
    Could anybody tell me how to get it?
    Thanks in advanced.

    Laura,
    It is normal that MRP will consider an STO as a receipt element; this is basic planning.  It is unclear to me why you think you do not want it to do so, but I will assume you have some logical reason.
    Contrary to what some others may have suggested, changing the scope of check for availability checking has no effect on which elements are considered for MRP.  MRP is a completely separate functionality from Availability Check.
    For Location > Location STOs (within a plant), then, you normally have the receipt element of the STO in the destination storage location, and the requirements element of an equal amount in the source storage location.  Net of these two elements is zero, unless you have already issued the STO at the source location.
    Changing the Account assignment from "E" means that the STO will not be relevant for your Sales order (in other words, when you receive this STO into the destination storage location, it cannot be used for your sales order).  In a general MTO scenario, it also means that the proceeds of this STO (the stock you received) cannot be used for ANY sales orders.
    One way that some people make an STO 'not relevant' for MRP is to alter the destination storage location such that it is not relevant for MRP.  You can change the MRP relevancy of the storage location in MM02 > MRP4 tab
    Best Regards,
    DB49

  • Storage location and Batch updation for components in Production Order.

    Hi Friends,
    After creating Production Order,need to update components with Storage Location(RESBD-LGORT) and Batch(RESBD-CHARG).
    Plese any one can help me by providing FM/BAPI for the same(Update Component level)
    Points will be rewarded.
    Thanks,
    Prb.

    Hi Prathap,
    Path - OCHA
    Condition type,access sequence, strategy type,
    Work on automatic batch determination. Assign standard search procedure to order type dependent parameter, check against manual entry.
    Make sort sequence for material by CU 70, tick ascending order, Then assign component in COB1, enter selection values and sort sequence. In finish product material master set automatic batch determination.
    System will copy the required material with batch & storage location, also check against manual entry.
    I think it will solve your problem.
    Regards,
    Suhas

  • Auto creation of Stor Location and Batch during stock upload via MI09

    Hi Experts!
    Please guide me to configure automatic creation of storage location and batch during stock count through mi09.  Eg : I got material A in storage location 1000 and got batch 123 for this material. Then when i want to do the stock count, if i enter the storage location 2000 and batch 122 for this material, then system will auto create this storage location and batch in the master data.
    I tried to configure it in OMJJ for storage location but it is not working. Please anyone guide me step by step how to configure it. Storage location and Batch.
    Thanks.
    Crystal.

    hi
    check this
    Create Storage Location Automatically
    In this step, you specify whether the automatic creation of storage location data is allowed for goods issues and transfer postings.
    This is advisable if you work with negative stocks and a material's first movement may be an outward movement.
    Note that the reversal movement for a goods issue, for example, movement type 202 or 262, is not considered as an issue but as a receipt. If you only use the automatic creation of storage location data for reversals of goods issues, you do not have to allow negative stocks.
    You have to allow automatic creation per plant first of all. You then have to explicitly allow the creation of storage location data for each movement type.
    The storage location data is only created if the quantity is posted to 'standard' storage location stock. It is not created for receipts into a special stock (for example, into sales order stock).
    Default settings
    The standard system is set in such a way that the storage location data is created automatically for all types of receipts (goods receipt with/ without reference, stock transfers, intial entry of stock balances, reversal of goods issues, etc.).
    Activities
    1. Enter for each plant whether the automatic creation of storage location data is generally allowed.
    2. Specify the movement types for which storage location data is created automatically.

  • MB5B - Stock on posting date doesn't show Storage Location field

    Hi All,
    I run report MB5B - Stock on posting date with Stock Types = Storage Loc/Batch Stock, but the report doesn't show
    Storage Location field in result.
    How can I see it in this report?
    Thank you very much for your kind support!
    Cao Huy.

    hi
    what i think i sthis report is only for the OPENINGand CLOSING stock for the period or day
    now whenu give SL field then system will only concider stock from that SL
    the filed of SL will not be viewable in report as it is just opening and closing balance
    regards
    kunal

  • Inspected stock posting to multiple storage location without batch

    Hi,
    At the time of Usage Decision, I want to post the inspected stock to multiple storage location i.e., Rejected Stock to Scrap Storage Location, Qualified Stock to Unrestricted Use Storage Location.
    Quick response will be appreciated.
    Anandkumar KS

    The scrap line has no storage location since that stock is typically written off and scrap cost center is defined in configuration.
    A possible alternative is to set up VMENGE08 and VMENGE09 with the same material movements you want to use.  You obviously aren't using the 553 movement type as that writes off the material.  That could give you two lines to use for your scraping.  I can't remember if these stock posting lines give you the storage location option or not and I don't have a sandbox available to test today.  If you need to post more then two grades in one inspection lot, you'll have to do the first two postings, save the UD, then come back in and do a second posting for the next two grades.
    Read the configuration help file you'll find in confg for "Define Inventory Postings" under the QM config.
    You can also change the displayed names of the stock posting lines.  That's explained in the config file as well.
    Craig

  • Why can not freeze book inventory Storage location and Posting block?

    Hello,
    I tried to freeze book inventory storage location and posting block at storage location level in SAP.
    1) OMBP -> "Freeze book inventory storage' is checked at that storage location.
    2) MI01 -> the 'Posting Block' and 'Freeze book inventory' in the Physical Inventory Document  is checked.
    3) Post the Physical Inventory Document by using MI02.
    But, I am still able to post inventory movement at that storage location after executing the above.
    (I run MB1C with movement type 501 at that location.
    I input the material number which are in the created Physical Inventory document.
    The posted manterial document is created after I run MB1C.
       The document date and the posting date in MB1C are the same date of Physical Inventoery Document.
    I can see this material inventory movement from MB51!! )
    My question is:  Why SAP is allowed to execute the inventory movement after the 'freeze book inventory storage location' and 'Posting block' are checked at OMBP and MI01 ?
    Any idea?
    Help me, thank you.
    Regards,
    Sylvia Chen

    Problem solved.  Thank you for all help!!

  • Storage location and post.chge storage location not in the same warehouse

    Hi All,
    We have HU managed Storage Location, and in this Storage Location we have SUT managed Warehouse, Now while Goods Receipt we have to create inbound delivery, which is working fine and i can see my stock in Goods receipt area,, later on whicle creating Transfer Order to putaway in a bin i have a error message "Storage location and post.chge storage location not in the same warehouse" please help me with this error message. Thank you for all your inputs.
    Regards
    Samuel

    Hi Nagesh,
    Thank you for the input. I am receiving Stock from vendor and while creating Inbound delivery i created the Handling Unit and also packed it and i could also post it (PG Receipt). Now when i am creating TO i have that error message. The Storage Location where i am receiving is 9001and i have also maintained the partner Storage location,,, its like this Plant(1000)-SLoc(9001)-Partner SLoc(9002).... now the Storage Location 9002 is not HU managed,, the reason i gave this Storage location is, initially i gave 9001, but system said "Storage Location 9001 and 9001 must have different management systems". So now kindly tell me what is the purpose of the partner Storage location and which storage location should i give, as my partner Storage location across "1000-9001-????" thank you again for ur inputs.
    Regards,
    Samuel

  • BATCH SPLIT AUTOMATIC STORAGE LOCATION AND WEIGHT DETERMINATION IN DELIVERY

    DEAR,
    PLZ SUGGEST ME HOW TO DO CONFIGURATION IN BATCH DETERMINATION SUCH THAT WHILE DOING BATCH SPLIT WHEN I PUT THE BATCHES MANUALLY THE STORAGE LOCATION  AND ITS SPECIFIC WEIGHT WILL COME AUTOMATICALLY .
    REGARDS,
    DEBESH TRIPATHY

    Hi ,
    You have to use the user exit as mentioned by lakshmipathi above  and take the help of ababer to modify it.
    V02V0002   - User exit for storage location determination 
    Also go through this link for user exit for delivery
    http://www.sap-img.com/abap/list-of-user-exit-related-to-vl01n.htm
    Regards,
    Krishna O

  • Any Standard FM  for material stocks on posting date  using  Tcode  MB5B

    Hi,
    I  need   Standard  FM  to get  material stocks on posting date  using   Tcode   :   MB5B
    Stock type  i am using  is  : Storage Location/Batch Stock
    the  Input   i am  providing  is    Material, Plant , Storage Location, selection  date From , selecDate To.
    Then   i need  to get  data  that it  provides   header  and  document  item level.
    Can u please tel me  how do i get  that  material stock data  on posting date and in which tables
    it will be populated in the database.
    ITs required  can u take view and post info
    Thanks & Regards
    sivakumar kasa
    Edited by: siva kumar kasa on Dec 21, 2010 2:30 PM
    Edited by: siva kumar kasa on Dec 22, 2010 7:15 AM

    hi Rehan,
    I have checked all settings also enhancement  but there is no as such control to restrict backposting within current period
    I think its self disipline action not to post backdated GI when GR is done on later date
    Vishal...

  • Material/Serial Nbr is "Stuck" in a storage location and can not be moved

    We have a situation created by my customers which has lead to a situation I have never seen before.  A material/serial nbr. that is in our Returns location that can not be transfered, issued, removed, or anything via ANY MIGO movement type combination.
    This is what happend:
    - Customer return processed.  Material ABC, Batch XYZ with Serial Nbr. 123 brought into our "RT" StoreLoc.
    - Clerk processed MIGO to do a Stock Transfer of this material to another StoreLoc. (PS).  He entered in the material ABC, batch XYZ, and a bad serial number 1233.  He used a 453 Movement type.
    - After realizing his mistake, he processed MIGO again and processed a GI Xfer posting with a 972 movement type to get rid of the bad material/serial nbr. he had just moved to the PS StoreLoc.
    - Then he tried to redo the Stock Transfer using a 453 Movement type for the material ABC, batch XYZ, and the good serial nbr. 123, but, he gets a "Deficit of BA Ret.blocked prev. 1.000 EA " error message.
    - At this point, he contacts me to ask what can be done.
    No matter what we try to do, we can not access this part/serial nbr. combo to move it or issue it or whatever.  It is like a ghost now.  You can see the serial number via IQ03, but you can not do anything with this part/serial nbr.
    Help!  Do I need to write an ABAP to physically delete this material/serial nbr from its batch?

    Hi,
    First of all, I would assume you used customized movement type 972 to 'get rid of' your material ID with wrong serial number 1233 at PS storage location.  If this is the case, then this posting did not return the stock quantity from PS to your RT storage location and that why when you tried to make another posting (with correct serial number 123), an error message was popped up as you simply do not have available stock.  The solution in this case are -
    1)   Cancel the posting that you made previously with movement type 972.  This cancellation will help return your stock (though with wrong serial number 1233) to PS storage location;
    2)   Cancel the posting that you have posted to move your stock back from PS to RT (again with wrong serial number).  This steps ensure the stock quantity '1' is available at RT storage location;
    3)   Make another stock transfer (with correct movement type 453 and serial number 123) from RT;
    4)   Delete the serial master record 1233 so that it can no longer be used.
    Cheers,
    HT

  • Storage location,Stocktype,Batch no for 2lis_03_um

    hi experts,
    We have recently extracted Inventory Data from ECC to BW System, and client was reconciling the data in 0IC_C03.
    we have extracted from 2lis_03_bx,2lis_03_bf and 2lis_03_um.
    and for the Valuations which 2LIS_03_UM-->0IC_C03  client is saying that there is no Storage Location, Stocktype, Batch number.There is no "storage location" for valuations, this means that if you search on a storage location you will miss price changes. so we need storage location to be filled out in the cube.
    The same goes for batch number, stock type and Base Unit of measure.
    What is the solution to achieve this? Last month only we have initialized the data and delta loads are happening everyday.
    instead of enhancing the data source can we change in the Transformations level to get Storage location,Stocktype,Batch number and 0BASE_UOM.
    if i have to enhance the data source do i need to take downtime and Initialize the delta again.
    please provide me the solution..
    eXPERTS any updates plz
    regards
    venuscm
    Edited by: venugopal vadlamudi on Oct 14, 2010 6:20 AM

    Note 589024 - Reports in BW with storage location and stock type chars.

  • Stock transfer between Plant/Storage location to Plant/Storage location

    Dear Experts,
    This is a MM component of SAP Retail.
    We have 4 brands ( Plants of type B, Plants of type C etc) that needs inventory from the same Distribution center (Plant A) for some common products. Here the direction is to prioritize the inventory per brand. The requirement is one brand should not take the inventory of the other brand.
    To overcome this problem , the solution proposed is to have different storage location for different brands in the same DC.
    When we run replenishment  planning for the brands and do a ATP check, the availability check should consider only the one issuing storage location in the DC which we allocated for the brand.
    I do see the following set up in SPRO and I have done the following.
    Step1: Activate Stock Transfer between Storage Locations
SPRO->Material Management->Purchasing->Purchase Order->set up stock transport order->set up stock transport order between storage locations-> u2018Activate Stock transfer between storage locationsu2019
    Step2: Assign Delivery Type and checking rule according to storage
    SPRO->Material Management->Purchasing->Purchase Order->set up stock transport order->set up stock transport order between storage locations->Assign Delivery Type and Checking Rule According to Storage
    Step3: Define Shipping Data for Stock Transfer between Storage Locations
    SPRO ->Material Management ->Purchasing ->Purchase Order ->set up stock transport order ->set up stock transport order between storage locations -> Define Shipping Data for Stock Transfers between Storage Locations

    Step4: Define Rule for Determination off Shipping Point
SPRO->Material Management->Purchasing->Purchase Order->set up stock transport order->set up stock transport order between storage locations -> Set-up Storage-Location u2013dependent shipping point determination->Define rule for determination of shipping point
    Step5: Shipping Point Assignment According to Storage Location
    SPRO->Material Management->Purchasing->Purchase Order->set up stock transport order->set up stock transport order between storage locations-> Set-up Storage-Location u2013dependent shipping point determination-> Assign Shipping Points According to Storage Location
    Question.No:1- After completing the above set up  in me21n, the issuing storage location field is greyed out. I am not able to enter any value here. Can you please help.
    Question.No:2
    I do see the following setting.
    Under IMG ---> Material Management ---> Purchasing --> Purchase Order --> Set up Stock Transport Order -->Business Add-In for Determination of Issuing Storage Location
    Display the IMPLEMENTATION
    Double click on the method GET_SUPPLYING_SL
    Click the Execute button
    Click the detail button on IF_EX_MD_EXT_SUP
    Execute GET_SUPPLYING_SL
    There is a prerequisite for this BADI .I have done those things.What i dont understand is where to force the combination of supplying site/issuing stor.loc/receiving site/receiving stor.loc
    Kindly provide your inputs.
    Thanks,
    Vasanthan

    Dear,
    Have You configure MRP in second plant (where you want to transport the Material).
    Please try with this and do again Po for stock transport.
    Regards
    Piyush Patel

  • Stock on posting date in WH

    Hi All,
    Like MB5B is there any t.code or table to see stock on posting date in Warehouse? (like in so and so bin and in that S.type)

    Hi
    You can use transaction LT22 to see all transfer orders to or from a storage type and storage bin.
    In the section Reference you enter if it should be source or destination data that should be taken into account.
    Don't forget to enter the date at the bottom of the screen.
    Br,
    Erik

Maybe you are looking for