Restrict goods issue if stock on posting date is zero

Requirement:
Current Inventory period : July 2011
Stock of a material from 01.07.2011 to 30.07.2011 is zero(in MB5B report)
I upload stock of material  or GRN occur on 31.07.2011. Say Quantity u2013 100
Now stock as on 31.07.2011 is 100 in MB5B
Still, Stock of a material from 01.07.2011 to 30.07.2011 is zero(in MB5B)
Now, If I do goods issue of a material quantity 100 on 15.07.2011. System allows goods issue. though opening and closing stock as on 15.07.2011 is zero.
After goods issue transaction if I check stock of material on any date between 16.07.2011 to 30.07.2011 , The opening stock and closing stock shows negative.
I want to restrict goods issue if stock on posting date is zero or less then stock available on posting date.
Please suggest

Hi,
This is not the way SAP is designed. As the previous speakers wrote (and as you noticed yourself), SAP maintains stock figures in the database per month rather than per day. MB5B makes complex calculations in order to find out how much stock you had on a specific date - as you probably noticed on the response time. Performing such calculations every time you do a GI would be unfeasibly heavy task for the system - remember there are organisations that perform hundreds of inventory movements a minute!
An alternative solution I suppose would be to maintain the daily stock figures in the database. This would make the finding of the stock figure very quick, but on the other hand, the maintenance of such table would be unfeasible - if you post today a GI on say July 1st, you would need to calculate 36 stock figures and update 36 database records!
Hope this explains the technical issue.
BR
Raf

Similar Messages

  • Blocking of Good Issue with respect to posting date

    Hi Expert,
                   Is there any way out in SAP B1 to block the Good Release with respect to posting date.i.e. If User receipt the Good in stock today then system should not allow the user to issue the same good on the back date.
    regards,
    PankajK

    Hi Pankaj,
    There are so many options e.g you can check in oinm select that particular item sort on docdate and check inqty and compare with your goods issue date if it is same then send same transaction to approval if you want.
    Thanks
    Sachin

  • Restrict Goods Issue for Reserved Stock

    Hi Experts,
    My requirement is to restrict goods issue of stock qty which is reserved.
    For that i have created checking rule and assigned to MIGO_GI because we need to consider only reservation .
    Now when i create manual reservation system gives msg as per config.
    e.g current unristricted stock is 100 qty
    manual  reservation  created for  10 qty
    System gives msg if i issue material more than 90 qty. It is working properly
    Now pb is system is not considering reservation created by  process order confimation.
    I already assing checking rule with Checking grp for availability check and also set properties.
    in include dependant reservation i set - x - Include all reservations.
    I need to restrict goods issue for reserved stock for reservation created by process order.
    Thanks in Advance
    Janak

    Hi Janak,
    When a reservation is created automatically or manual, it will depicts the requirement of the material for the specific department/process. BUt it doesnot restrict or label the material as reserved. This is because the acutal requirement/consumption may vary from the reserved quantity. Also the stock still remains in the un-restricted stock and hence its open to be issued.
    Now if you want restrict the stock for automatic reservation, then you can make an enhancement wherein the stock is moved to required stock type. But this will block the stock for the order even if it is not required.
    Regards

  • MB5B stock on posting date

    Hi experts,
                            For a material XX which was  zero stock on 15/11/2008.Goods receipt(MIGO 101) done on 15/11/2008 of qty 100kg. So stock was 100kg. I have issued material XX of qty 75 kg to cost center and entered posting date 3/11/2008. My system allowing me to issue that material on 3/11/2008 without any warning or error msg. But at that there was no stock. So that if i check the report MB5B stock on posting date my closing stock showing in negative for 3/11/2008. Our requirement is how to stop this back dated posting? System should not allow me if i am posting on back date?
    Thank you
    SAP

    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...

  • 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...

  • MB5B - Stock on posting date show in other Unit of measure

    Dearl All,
    Pls support me this case: I would like to see this report (MB5B - Stock on posting date) in other Unit of measure.
    This report shows stock in Basic Unit only.
    E.g
    Material A, base unit = M, other unit = ROL
    Report needs show stock in ROL.
    How can I do that?
    Thank you vry much!
    Cao Huy.

    Hi,
    In your case, order unit as ROL and material basic unit of measure is M.
    PO created only for the order unit ROL, and goods have received from the vendor based on the PO order unit.
    So,this MB5B stock on posting date is displayed only the total stock received based on the received GR order unit qty .
    stock also managed only ROL unit of measues. it is not possible to list based on the M stock unit.
    Regards,
    thiru

  • CS service order budget can't control goods issue from stock?

    Hi experts,
    I set budget to a service order(CS), it can control Purchase order from service order, however it can't control the good issue from stock(type "L") !  Is it the setting problem? how to deal with it?
    best regards
    lance

    1st
    If you actually bothered to read my post, you would see that I decided to change for the X220 after I saw it in the flesh and realised how much close it was to the X121s dimensions. If lenovo wishes this not to happen very often, they should bother do something about the fact that there is no Lenovo dealership/agent/representative in Oxford.
    2nd.
    If Lenovo lists paypal as payment method, they should honour it. Otherwise, do not list it at all.
    3rd.
    If lenovo says that I can cancel the day I ordered with no implication, they should also honour this. Not ignore my e-mails (contrary to the terms & conditions stated) and ship it so I can perhaps keep it. That's not good business practice. That's playing dumb.
    They had 5 days to cancel, they prefered to wait for the item to be produced/stocked so that they can ship it to a small hamlet in Oxfordshire (half the way around the globe) so I can send it back. So yeah, this little laptop will circumvent the Earth.
    If this is not wasteful, then what is?
    As far as I am concerned, it took me 10 telephone calls and to DR just to get the cancellation e-mail which should be sent immediately.
    If you do not value your time, it is your problem, not mine.
    I will not be buying a Mac either as I do not like the product, but the difference in service couldn't be more stark.
    All the best,
    Sav.

  • Stock on posting date GL wise

    dear sir,
    can i have the transaction code for stock on posting date GL wise.
    IN MB5B THERE IN NO FIELD WITH GL AND IN MB5B THERE IS NO POSTING DATE

    Hi,
    There is a posting date in MB5B  !!!!!!!!!!!!!!!!!
    The whole point of MB5B is to give you the stock on a posting date.
    The field is called "Selection date".
    Steve B

  • Function For stock on Posting date

    Hello gurus,
    Is tehere any standard SAP function to calculate stock on Posting date the same as in MB5B?
    Regards
    Laura

    I do not need a report, I need a function.
    I know MB5B works correctly, but I need a function because I want to use it in a Z report that calculates diferent thinks (one of them the stock on Posting date.
    Regards

  • Display stock on posting date for a consignment stock

    Dear guru.
    I want to display the stock on posting date for a consignment stock (special stock indicator = "W" ) to display this stock and the linked movements  for a specific customer.
    MB5B donu2019t have the field customer in the selection view.
    What transaction can I use ?
    Thanks in advance.

    Hi,
    In MB5B in special stocks indicator you select W
    and select special stock
    You will get it
    BR
    Diwakar
    Edited by: diwakarnd deshpande on May 20, 2008 7:02 PM

  • 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

  • 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

  • Stock on posting date-MB5B

    Hi! I'm looking for a function that works as MB5B, I need to calculate the stock on posting date, I used the debugger, but I couldn't find a function.
    Thanks!

    Hi,
       Thare is not so such function module for MB5B.I think that you can copy it to your Custom program and change it .
    regards,
    collysun

  • Calculation of unrestricted stock on posting date

    Hello,
    In a certain report that we developed for our customer one of the data
    Is "unrestricted stock on posting date".
    Is there a function that calculate this data, and if not what is the best way to do it?
    Thank you in advance,
    Haim Gimelfarb

    Thank you,
    But this is not the answer that I looked for.
    Mb5b is a transaction, and I need a function that can Calculate unrestricted stock on posting date.
    Becaus the stock in posting date is only part of the information in the report.
    Thank you in advance
    Haim Gimelfarb

  • Stock in posting Date

    Hi
    Dear Guru
    we have done sum  stocks  close in year ending 2008, in that time we have tranasferd Stock from material to material, we have tranferd all the stocks from material A to Material B.
    But theire is no stcoks in the MMBE for material A , for todays date , when we are going to check MB5B, on 31/03/2008, it is showing valuated stock, of sum quantity,
    we have checked all the Material Stock Transaction, no where it is showing stock eccept in MB5B That to posting date on 31/03/2008.
    so how to remove that stock on posting date(Valuated stock). only in MB5B.
    Kindly suggest
    Madhu

    hi
    For doing stock transfer , stock must be avalaible on current date and on the last day of the previous month, if u want to to do transfer postion on previous month's date.
    reward if useful
    Amit

Maybe you are looking for

  • Import ABAP running very slow

    guys, I am installing IDES EHP4 on a solaris box with oracle 10g. The import is running very slow. in 20 hours, it has only imported 10 out of 105 jobs. Top comand shows i have 26 GB free physical memory (out of 48GB total) and also 123 GB free swap

  • An error occurred during swf generation

    Hi I have a spread sheet has quite a lot of formulas in it, eg.. =COUNTIF() =COUNT($H$2:$H$65536)-COUNTIF($H:$H,"<51")-COUNTIF($H$2:$H$65536,">60") =DCOUNTA($A$1:$L$15099,10,M38:N39) =IF(V18=0,0,IF(V18=1,IF(W18=0,0,IF(W18=1,IF(X18=0,0,IF(X18=1,1)))))

  • HT204053 Help setting up Find my iPhone for iPod touch!

    I'm trying to set up "Find my iPhone" app for my 5th generation iPod touch. When I follow steps, it says my Apple ID is correct but I don't have an icloud account. I actually do and have it on & running on my iPod!  Help!  What do I do to get past th

  • Customized team view in MSS view.

    Hi I am  working  on MSS  for ECC6.  My client has got a requirment  for the mss user to view his direct reportees in the team view. ie B/002 relation ship (Is line supervisor of ) relationship in lieu of  A012 (Manager Relationship).. Can anybody he

  • How do i change wallpaper with ios7

    how do i change wall paper with ios7