SAP Message C3040 - Cost comp. structure &2 for costing variant &1 does not exist

Diagnosis
Cost component structure &V2& was assigned to costing variant &V1&.This cost component structure does not exist.

Procedure
Go into Customizing and do one of the following:

  • Assign an existing cost component structure to costing variant &V1&

  • Create cost component structure &V2&

  • Define cost components