SAP Message WN218 - Department & assigned to material group &

Diagnosis
A &V1& department to be deleted in the plant data is assigned to theV2 material group.

Procedure
Delete the corresponding department in the corresponding material groupallocations in the plant master. You can then delete the department inthe plant master.