I want to cancel material document but Qm is active, the stock is posted to quality inspection and usage decision also has been done and now the stock is in unrestricted. when is select the migo and select cancellation option with respect to material document it is giving error message QI Stock not available. I cancelled the UD through qa12 and also i tried change the stock type from Quality inspection to unrestricted in migo for that particular line item but it is in display mode. Unable to change. How can i cancel the material document.