While creating production order system checks availability of materials. but it is not showing the correct figure.
Stock on Store location 001: 900
The shortage should be of 100 units but it shows shortage of 1000 units. But on the other hand if there is excess material in the store then it checks correctly and gives no shortage.
Reason may be material is reserved for another order or reservations.
Check the reserved qty for that material in MB24 / MB25.Select all those order / reservation which are on less priority do TECO for temporary bases.And try to release or check material availability for that order.
This setting of Material avaibility is set in T.Code OPJJ (tick is active Include Reservation)