SAP Message 40297 - No material components are assigned to the secondary resources

Procedure
Please assign material components to this resource.