Skip to Content

BIG PROBLEM / Negative stock altough not allowed in customizing

Hi all ;

We have a big problem related with negative stock even though disallowed in MM customizing.

The valuated stock of some materials are negative even though negative stocks are not allowed according to Customizing.

When we are making goods movement using bapi, system allowed negatice stock some materials. We check OSS note : “935755 - Negative stock even though it is not allowed in Customizing” . The negative stock was created due to a regular material document, so note solution is not efficient.

When you attempt to enter additional goods movements for this material, system chekcs storage location stocks and doesn’t allow negative stock.

SAP estimates the problem related with :

The duplicated posting entry has created a negative stock figure in

Productive Environment.

If two documents are posted with a very small time interval between

them, the second document can update the stock table before the first

document does and therefore the system doesnt post an error message.

There is no way to prevent this happening apart from allowing a sample

time between postings so that the database can be updated.

I would recommend you to follow the steps in the note 935755 to

fix this negative stock.

Sap respond like above info. Is there a recomendation about solution path...

Test data  ******

Test data: ( Tcode: MB52-Material stock )

Plant: 1006

Storage location: *

Settings selection: Display  Negative Stocks Only

Example material code;

A4003821

PM100004

PM100145

Test data: ( Tcode: MB51-Material documents )

Material : PM100145

Plant : 1006

Storage Location : YSRF

Posting Date : 01.10.2013 - 16.11.2013

     Regards.

     M.Ozgur Unal

a.png (16.0 kB)
b.png (37.3 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Nov 29, 2013 at 03:40 PM

    Hi,

    Please check negative stock ticked in material at time of transaction.(mm19)

    shiva

    Add comment
    10|10000 characters needed characters exceeded

    • Hi all;

      SAP SOLUTION :

      Based on our initial problem description, I could read that the documents in question which created negative stock have been posted with the BAPI BAPI_GOODSMVT_CREATE.

      To avoid any side effects in the BAPI call, kindly apply the calling pattern of SAP Note 369518 mentioned at the solution section to our custom call of the BAPI. This will ensure that each BAPI call will get anew LUW and such the issue should be solved.

      Regards.

      M.Ozgur Unal

  • avatar image
    Former Member
    Nov 29, 2013 at 03:06 PM

    Hi,

    1st check - Did Negative posting allowed in t.code:OBY6 for your company code with
    selection of Indicator: Negative Postings Permitted

    2ndly-check which movement type involved for Negative posting in t.code:S_P00_07000139

    Regards,

    Biju K

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Mr. Kumar ,

      I checked OBY6 , but it is not allowed to negative postings.

      I added our respond to Sap and Sap respond to us :

      -----------------------------------

      Sap respond :

      The duplicated posting entry has created a negative stock figure in
      Productive Environment.

      If two documents are posted with a very small time interval between
      them, the second document can update the stock table before the first
      document does and therefore the system doesnt post an error message.

      There is no way to prevent this happening apart from allowing a sample
      time between postings so that the database can be updated.

      I would recommend you to follow the steps in the note 935755 to
      fix this negative stock.

      ----------------------------------

      Our respond to SAP :

      Dear Sap ;

      You would recommend us to follow the steps in the note 935755 to

      fix this negative stock. It has been ok for Saturday and there aren't negative stocks. It helps you to debug and see the system behaviour.

      Also, OMJI tcode parameter is revised :

      Material block for goods movements - Exclusive block - Waiting time 10sc.

      You can analyze our ERP system based on Update Problems.

      Regards.

      M.Ozgur Unal