SAP Message 5W450 - Substitute profile &1 has not been properly defined

Diagnosis
The substitute profile that is being used does not include any taskclasses. See tables T77RO and T77PR.