SAP Message /CWM/MM031 - Plant & storage location & not relevant for Warehouse Management system

Diagnosis
You try to post an inventory using transaction MIGO. However, this isonly possible if you use a storage location that is related to awarehouse management system.
You can use transaction MIGO to post inventory movements 701 to708, but only if you are using a storage location related to awarehouse management system.The base unit of measure remains constantly unchanged, this means thatthe system posts zero, however, the parallel quantity should not bezero.
This function is used for adjustment posting in the warehouse managementsystem. The parallel quantity is not available in the warehousemanagement system, so when a posting is made there in inventorymanagement, an average value is always calculated and posted for theparallel quantity. You cannot perform an inventory for the parallelquantity using the warehouse management system.
No absolute values can be posted when you use this form of adjustmentposting.

Procedure
Enter a storage location related to a warehouse management system.