SAP Message WGRC081 - Cannot delete resources if activities exist

Diagnosis
You are trying to delete resources for a period for which activitiesexist.

Procedure
Specify a period for which no activities exist or delete the activitiesfrom the period as well.