Hi,
Please check whether the storage location entered is correct. If not, correct the same and post the movement again.
If the storage location is correct and still the error message is issued, refer the note: 2119227 - Error message M7021 when making multiple postings with the special stock in the previous period with the current date
Regards,
AKPT