SAP Message Q0161 - No Quality Management view has been created for material &1

Diagnosis
The system tried to create inspection types for material &v1&, eventhough no Quality Management view has been created for this material.(For example, IDocs may have been posted during the distribution ofinspection setup data).

System Response
The system cannot save the inspection types.

System Response
Before you assign inspection types to the material, create a QualityManagement view for the material.
If the posting of the IDocs was interrupted, create the QualityManagement view for the material and post the IDoc again manually.