SAP Message C3042 - Cost comp. structure requires cost element/origin assignment

Diagnosis
No cost elements ororigin groups have been assigned to costcomponent structure &V1&.

Procedure
Go into Customizing for Product Cost Controlling and assign costelements and (if necessary) origin groups to cost component structureV1.