Negative Stock while Opening Period

Dear Experts
When I trid to open the new period the system told me that there are Negative Stock even that we didn't enable the negative stock for any material
Please till me the Impact & the solution
Please Advise
Best Regards

Even you are sure you did not flag material for negative stock, if the MMPV program tells you that there is negative stock, then believe it.
If you cannot see any negative stock in MMBE, then check MB5T maybe there is negative stock in transit.
Or let an ABAPer debug the program to find the place here this message is created, to find as well what table and fields are  checked in that moment.
Read OSS note 520010

Similar Messages

  • Posting period with negative stocks

    Dear Experts,
    While i try to close previous period and open current period in MMPV, it is showing that i have negative stocks in previous period. The negative stocks are in stock provided to vendor. How could i clear this. kindly help me.
    Regards,
    Prasath

    Check the indicator, Allow negative quantity in previous period and Allow negative value in previoue period.
    Regards,
    Sampath

  • Negative stock caused by vl06g for consingment stock W

    Hi Gurus,
    We are facing following problem in our company.
    When we post collectively goods issues for consignment stock (W) for previous period thorugh transaction VL06G, system lets negative stock while it shouldn't.
    When we post GI for current period everything works fine - system doesn't let us proceed GI if we don't have enough stock.
    Below listed our settings:
    1. we didn't allow negative stock in valuation area- OMJ1,
    2. availability check of item category KAN (consingment pick-up) is on,
    3. in material master- in "Sales/General:Plant" View, negative stock is not ticked.
    Thank you

    Hi,
    As Jürgen said price can't be negative. You need to correct MAP first before posting the invoice. Try running consistency check (Tcode: MB5K) you might know the reason why system is showing -ve moving average price and then you can correct.
    Regards,
    Rakesh

  • Negative Balance in Opening Stock & Closing Stock

    Dear Experts,
                        Below the query which i used to get the Opening Stock,Purchase,Issue,Return and closing stock. Here i face some problem that i get negative inventory for some items and the same has been checked in inventory audit report but there it is showing correct value.And also i understand that those items which shows negative inventory in Opening and closing is previously got changed in Item group after some transactions.Can any one help me to sort out this issue ?
    Declare @FromDate Datetime
    Declare @ToDate Datetime
    Declare @ItmsGrpNam varchar(100)
    select @FromDate = min(S0.Docdate) from dbo.OINM S0 where S0.Docdate >= '[%0]'
    select @ToDate = max(S1.Docdate) from dbo.OINM s1 where S1.Docdate <= '[%1]'
    select @ItmsGrpNam = max(s2.ItmsGrpNam) from dbo.OITB S2 Where S2.ItmsGrpNam = '[%2]'
    Select distinct a.Itemcode, max(a.Dscription) as ItemName, (Select i.InvntryUom from OITM i where i.ItemCode=a.Itemcode) as UOM,a.InvntAct,
    (isnull(( Select distinct sum(isnull(inqty,0)) from OINM O1 where O1.itemcode=a.itemcode AND O1.InvntAct = a.InvntAct
      and O1.DocDate<=@FromDate ),0)- isnull(( Select sum(isnull(outqty,0)) from OINM O1
      where O1.itemcode=a.itemcode AND O1.InvntAct = a.InvntAct and O1.DocDate<=@FromDate),0)) as [Opening Stock],
    (isnull((Select distinct isnull(sum(round(TransValue,0)),0) from OINM O1 where O1.itemcode=a.itemcode AND O1.InvntAct = a.InvntAct
      and O1.DocDate<=@FromDate ),0)) as [Opening Stock Value],
    isnull((Select ISNULL((sum(isnull(inqty,0))),0) from OINM O1 where O1.itemcode=a.itemcode AND O1.InvntAct = a.InvntAct
      and O1.docdate>=@FromDate and O1.docdate<=@ToDate and O1.transtype in (20,18)),0) as [Purchase Quantity],
      isnull((Select isnull(sum(round(TransValue,0)),0) from OINM O1 where O1.itemcode=a.itemcode AND O1.InvntAct = a.InvntAct
      and O1.docdate>=@FromDate and O1.docdate<=@ToDate and O1.InQty>=0 and O1.JrnlMemo not like '%cancellation%'
      and O1.transtype in (20,18)),0 ) as [Purchase Value],
    isnull((Select sum(isnull(OutQty,0))from OINM O1 where O1.itemcode=a.ItemCode AND O1.InvntAct = a.InvntAct
      and  O1.ApplObj = '202' and O1.docdate>=@FromDate and O1.docdate<=@ToDate and O1.OutQty>0 and
      O1.transtype = '60'),0) as [Production Issue Quantity],
    isnull((Select isnull(sum(round(TransValue,0)),0)from OINM O1 where O1.itemcode=a.itemcode AND O1.InvntAct = a.InvntAct
            and  O1.ApplObj = '202' and O1.docdate>=@FromDate and O1.docdate<=@ToDate and O1.OutQty>0
             and O1.transtype  = '60'),0) as [Production Issue Value],
    isnull((Select sum(isnull(Inqty,0)) from OINM O1 inner join OIGN G1 on O1.BASE_REF = G1.DocNum inner join IGN1 G2 on G1.DocEntry=G2.DocEntry
            where O1.itemcode=a.itemcode AND O1.InvntAct = a.InvntAct and O1.ItemCode = G2.ItemCode
            and  G2.BaseType = '202' and G2.TranType is null and O1.docdate>=@FromDate
            and O1.docdate<=@ToDate and O1.Inqty>0 and O1.transtype = '59'),0) as [Goods Receipt Return Quantity],
    isnull((Select sum(isnull(Inqty,0)) from OINM O1
      inner join OIGN G1 on O1.BASE_REF = G1.DocNum
      inner join IGN1 G2 on G1.DocEntry=G2.DocEntry
      --inner join OITM a on a.itemcode= o1.ItemCode
      --inner join OACT c on c.AcctCode = o1.InvntAct
      where O1.itemcode=a.itemcode AND O1.InvntAct = a.InvntAct and O1.ItemCode = a.ItemCode
      and G2.LineNum = O1.DocLineNum and G2.BaseType = '202' and g2.TranType is null
      and O1.docdate >= @FromDate and o1.DocDate <= @ToDate
      and O1.Inqty>0 and O1.transtype = '59'),0)as [Goods Receipt Return Quantity_1],
    isnull((Select sum(round(TransValue,0))from OINM O1 inner join OIGN G1 on O1.BASE_REF = G1.DocNum inner join IGN1 G2 on G1.DocEntry=G2.DocEntry
            where O1.itemcode=a.itemcode AND O1.InvntAct = a.InvntAct and O1.ItemCode = G2.ItemCode
            and  G2.BaseType = '202' and G2.TranType is null and O1.docdate>=@FromDate
            and O1.docdate<=@ToDate and O1.Inqty>0 and O1.transtype = '59'),0) as [Goods Receipt Return Value],
    (isnull((Select distinct isnull(sum(isnull(inqty,0)),0)from OINM O1 where O1.itemcode=a.itemcode AND O1.InvntAct = a.InvntAct
      and O1.DocDate<=@ToDate),0)- isnull((Select isnull(sum(isnull(outqty,0)),0) from OINM O1
      where O1.itemcode=a.itemcode AND O1.InvntAct = a.InvntAct and
      O1.DocDate<=@ToDate),0)) as [Closing Stock],
    (isnull (( Select distinct isnull(sum(round(TransValue,0)),0)from OINM O1 where O1.itemcode=a.itemcode AND O1.InvntAct = a.InvntAct
      and O1.DocDate<=@ToDate),0)) as [Closing Stock Value],
    (Select distinct i.LastPurDat from OITM i where i.ItemCode=a.Itemcode) as 'Last Purchase Date',
    (Select distinct b.ItmsGrpNam from OITB b where b.ItmsGrpCod = I1.ItmsGrpCod) as 'Group Name'
      from (Select distinct N1.Itemcode, N1.Dscription, isnull((sum(N1.inqty)),0)-isnull((sum(n1.outqty)),0) as OpeningBalance,
      isnull((sum(N1.Transvalue)),0) as OpeningValue,n1.InvntAct,0 as INq,
      0 as OUT From dbo.OINM N1 inner join OITM i on i.ItemCode = N1.ItemCode
      inner join OITB b on b.ItmsGrpCod = i.ItmsGrpCod
      inner join OACT c on c.AcctCode = n1.InvntAct
      Where N1.DocDate <=@FromDate and i.ItemCode = n1.ItemCode and b.ItmsGrpNam = @ItmsGrpNam and N1.Transtype <> '67'
      Group By N1.ItemCode,N1.Dscription,n1.InvntAct
    Union
      select distinct N1.Itemcode, N1.Dscription, 0 as OpeningBalance,0 as OpeningValue,
      n1.InvntAct,sum(N1.inqty) , 0 as OUT From dbo.OINM N1 inner join OITM i on i.ItemCode = N1.ItemCode
      inner join OITB b on b.ItmsGrpCod = i.ItmsGrpCod
      inner join OACT c on c.AcctCode = n1.InvntAct
      Where N1.DocDate >= @FromDate and N1.DocDate<= @ToDate and N1.Inqty >0 and n1.ItemCode = i.ItemCode
      and b.ItmsGrpNam = @ItmsGrpNam and N1.Transtype <> '67'
      Group By N1.ItemCode,N1.Dscription,n1.InvntAct
    Union
      select distinct N1.Itemcode, N1.Dscription, 0 as OpeningBalance,0 as OpeningValue,n1.InvntAct,0,sum(N1.outqty) as OUT
      From dbo.OINM N1 inner join OITM i on i.ItemCode = N1.ItemCode
      inner join OITB b on b.ItmsGrpCod = i.ItmsGrpCod
      Where N1.DocDate >= @FromDate and N1.DocDate <=@ToDate
      and N1.OutQty > 0 and  b.ItmsGrpNam = @ItmsGrpNam and n1.itemcode = i.itemcode and N1.Transtype <> '67'
      Group By N1.ItemCode,N1.Dscription,n1.InvntAct)a,dbo.OITM I1 ,OITB b1
      where a.ItemCode=I1.ItemCode and I1.ItmsGrpCod = b1.ItmsGrpCod
      Group By a.Itemcode ,I1.ItmsGrpCod , b1.ItmsGrpNam,a.InvntAct
      Having sum(a.OpeningBalance) + sum(a.INq) + sum(a.OUT) > 0
      Order By a.Itemcode
    Thanks & Regads,
    Bhoopathi.K

    Hi,
    Please check SAP notes for why negative values appeared above report.
    2003493 - Stock Ageing Report Displays Negative Inventory
    Values
    1407192 - Negative Stock Handling
    Thanks & Regards,
    Nagarajan

  • Allow negative stocks only if i have open purchase order

    Good Morning Gurus
    How to to the customization for the scenario like
    open purchase must for allowing negative stocks in my plant.
    with out open po negative stocks should not allow.
    can we config for this ????????????
    Thanks & Regards,
    Naresh

    Hi,
    Why business go for negative posting, when purchase orders are open and if purchase orders are open, business can go for goods receipt as and when goods are delivered!
    For special purpose, business go for negative stock posting with settings  in OBY6 t.code  for selection of check box  'negative stock permitted' in processing parameters for your company code and with setting in OMJ1 t.code for selection of check box  'negative stock' for your valuation area(plant).
    Regards,
    Biju K

  • Negative stocks for the previous period when closed MM period

    hi,
    I try to use MMPV to close MM period, error message is displayed "
    Some materials have negative stocks for the previous period."
    how to solve this problem and what cause this message? why system allow negative stock?
    thanks

    Hi
    Negative stock means that for a material in your  plant stock is 0 on current posting date but you still want to  issue the material.
    So  in order to achieve this u need to activate the Negative stock for that material in material master and mark the setting of negative stock for the storage location.
    Using the Transaction OLMB ---Goods Receipt
    If you need further information
    Refer this link
    http://help.sap.com/saphelp_erp2004/helpdata/en/a5/63313343a211d189410000e829fbbd/frameset.htm
    rgds
    Chidanand

  • Issue while creating negative stocks

    Hello,
    I have done the requirement setting for negative stocks in system in OMJ1 for plant 1000 ans storage location 0001. Also i have maintained indicator negative stocks in plant in material master. Now when i am trying to issue goods by 201 movement it is giving me error "deficit of quantity in storage location"" Actually it should allow to do negative stock posting with these settings. Please guide me if i am missing anything.
    Regards,
    Priyanka

    There must be an inconsistency between your customizing setting and master data entry and the movement, as there is in general not more that need to be done as you already said, it seems to be equal to what is documented in Allowing Negative Stocks - Inventory Management and Physical Inventory (MM-IM) - SAP Library
    So can you post the customizing and material master.

  • 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

  • NEGATIVE STOCK

    Dear All,
    We are facing a problem on  a particular date stock of some materials is showing in negative
    because issue qty is greater than receipt and stock qty.
    How it is possible that material is issued even if it is not in the stock.
    is it configuration error  ?
    We want if stock is not available system should not allow issuing.
    We dont want that any material stock goes in negative.
    Please help.
    rgds
    Awnindra Dutt Tiwary

    Do you face that problem only in a certain report or is your stock really negative?
    In standard settings SAP does not allow to post into negative stock, you have to allow this in customizing for a plant and then in material master for the material.
    But I feel you are doing a analysis based on posting dates used. And here SAP does not really check as hard as you may want.
    SAP checks only whether there is enough stock right now (or in the period you are posting).
    So if oneposts the goods receipt with a slightly wrong date e.g.Aug. 4th while it physically was received on Aug. 2nd.
    And later the consumption posting  was done with goods issue date Aug. 3rd.
    So the physical sequence of posting never lead to negative stock.
    But if you analyse stock per date e.g. in MB5B then you may get a negative stock for Aug. 3rd.
    But how will you restrict SAP to not allow to post a goods receipt  with the current date (if it was received physically 2 days earlier). You just cannot. Option left: teach your users well.

  • Error coming out while opening a report !

    I am getting following error while opening a report :
    5200: Error executing query: java.lang.ArithmeticException: / by zerojava.lang.ArithmeticException;hasPovDims=1;povXML=<?xml version="1.0"?><datasources><datasource name="CASCLS" dsid="11a620ba_13537320ad1_-6224" allowEdit="1"><dim name="Time Periods" dimIndex="2" dsName="CASCLS" keyDimName="Time Periods" memberName="BegBalance" displayName="Time Periods: BegBalance"/><dim name="Years" dimIndex="3" dsName="CASCLS" keyDimName="Years" memberName="FY12" displayName="Years: FY12"/><dim name="Scenarios" dimIndex="4" dsName="CASCLS" keyDimName="Scenarios" memberName="Scenarios" displayName="Scenarios: Scenarios"/><dim name="Components" dimIndex="5" dsName="CASCLS" keyDimName="Components" memberName="Components" displayName="Components: Components"/></datasource><datasource name="CASDEF Prod" dsid="11a620ba_13537320ad1_-608f" allowEdit="1"><dim name="Time Periods" dimIndex="1" dsName="CASDEF Prod" keyDimName="Time Periods" memberName="Q2" displayName="Time Periods: Q2"/><dim name="Years" dimIndex="2" dsName="CASDEF Prod" keyDimName="Years" memberName="Years" displayName="Years: Years"/><dim name="Scenario" dimIndex="3" dsName="CASDEF Prod" keyDimName="Scenario" memberName="Scenario" displayName="Scenario: Scenario"/><dim name="Components" dimIndex="5" dsName="CASDEF Prod" keyDimName="Components" memberName="Components" displayName="Components: Components"/></datasource></datasources>

    most of the 5200 errors I have seen are related to a POV issue. Do you have any dimensions that are on POV?
    If yes, login to Workspace > File > Preferences > Financial Reporting > User Point of View > If it is Off, select ON, click OK. Log off and log back in. Try to run the report and see if the issue is still there.
    Cheers,
    Mehmet

  • PRD is not triggering in Negative Stocks allowed scenario

    I am trying to do Subcontracting process with Negative Stocks allowed for the final material and raw materials even & all of them are checked for negative stocks allowed. When I am trying to issue, say 10 units of materials to SC Vendor with ZERO stocks in storage, the stock's updating accordingly as 10-, but while doing MIGO for say 5 units, the stock's updating accordingly, but in FI documents so created, the PRD key is missing. I read bout PRD and it states : Price differences can also arise in the case of materials with moving average price if there is not enough stock to cover the invoiced quantity. In the case of goods movements in the negative range, the moving average price is not changed. Instead, any price differences arising are posted to a price difference account. Depending on the settings for the posting rules for transaction/event key PRD, it is possible to work with or without account modification. If you use account modification, the following modifications are available in the standard system. So, what steps are to be taken in order to trigger PRD key in the FI Documents.
    Regards,
    Sowmyesh Maniyar

    Sowmyesh Maniyar wrote:
    I read bout PRD and it states : Price differences can also arise in the case of materials with moving average price if there is not enough stock to cover the invoiced quantity.
    Yes its correct.. At the time MIRO, if any price difference occurs, then first system checks stock is available or not.. If stock is there then system will take the amount from stock account, if not, then system take the amount in PRD account...
    But here you have activated negative stock. I think because of this your stock account triggered instead of PRD account..
    Can you check and analysis the accounting entry, where the price different amount goes ?

  • Logic for carry forward of previous stock to current period stock.

    Hi Experts,
    Client is using already MC.9 for see the stock analysis report, however as per there requirement we are exploring BOM as well as fetching quantity from table level as well. in my report I am experiencing  difficulty to carry forward previous period closing stock quantity to current period stock quantiy, if there is no received for current period, however the same is happens in MC.9
    Could any one tell me what is the logic behind MC.9 which is do carry forward previous period closing  stock to current period stock quantity in report.
    As per the requirement I am using S031, S032,S033, however unable to get logic for carry forward the previous month stock quantity to current month.
    have a requirement of creating a report of showing material stock period wise for each plant in below mention format.
    Header 1
    Header 2
    Header 3
    Header 4
    LFGJA/LFMON
    ROH (MT)
    HALB (MT)
    FERT (MT)
    11.2013
    100.000
    121.000
    121.00
    12.2013
    50.000
    12.000
    123.00
    01.2014
    23.231
    .23.234
    45.342
    02.2014
    23.231
    34.094
    45.098
    03.2014
    34.098
    98.983
    00.000
    04.2014
    00.000
    69.093
    98.098
    05.2014
    00.000
    89.098
    00.000
    For Example Break up of ROH material plant wise in below mention format.
    LFGJA/LFMON
    WERKS
    MENGE (MT)
    11.2013
    P001
    30.000
    11.2013
    P002
    50.000
    11.2013
    P003
    20.00
    Thanks in advance,
    SKN

    Hi,
       The last period closing stock = current period opening stock. You may get the details from MBEWH and S032 tables. Refer the doc: Material Stock and Valuation History tables - how to read them
    Regards,
    AKPT

  • Allow Negative Stock in Quality Inspection

    Hi All,
    I have a general question regarding Negative Stock.
    Is it possible by any means to allow -ve stock in Quality Inspection. If yes then what are the customizing settings that are needed.
    Any valuable inputs will be really appreciated!!
    Thanks In Advance!!
    S

    hi
    firstly how can we have negative stock in Quallity
    stock updates in quality from PURCHASE or PROduction so we cant have -ve stock in quality
    negative stock will be there only up on consumtion
    now u can have negative stock in GOODS ISSUE ,as on emergency if u dont have mateial and u have to issue some material to production then u have to have -stock open
    now for this go to material master plant data 2 view and here u can ticl for allow negative stock
    regards
    kunal

  • Opening Period

    Dear Experts,
    What is opening period for planned orders/ MRP? How do we set it up?
    Regards,
    Sachin

    Dear Sachin,
    1) Opening period can be define in schedule margin key, while scheduling the Number of days
    Maintained in Schdule margin key will be taken by system in MRP
    2) in initail settings of MRP we have option Create Purchase Requisition in opening period
    means MRP creates Pur Req in Opening period.
    Also Plz refer this thread
    [Planned order opening date;
    Regards
    Madhu

  • Log for the Closing Period & Opening Period -Urgent

    Hello,
    While Opening & Closing Periods in MM where will be the logs saved.
    Thanx & Regards,
    Kumar Rayudu

    Go to transaction SE16> enter the table name MARVCD or MARV and enter the parameters of company code, then execute, you may find the person who changed the last MM period. I am not sure if it holds previoys history, but the latest changes may be found

Maybe you are looking for