SAP Message WM509 - Module & still has items assigned to assortments

Diagnosis
A module cannot be deleted if it still has either
- valid assigments to plants, or
- valid items (materials)