SAP Message 6P861 - Profile for material & cannot be deleted because it is in use

Diagnosis
The profile can not be deleted if allocated planned independentrequirements that belong to this profile still exist.

Procedure
Before the profile can be deleted, all planned independent requirementsallocated to the materials that were entered must be deleted first.