SAP Message VZ010 - Error when determining material (cost element)

Diagnosis
The SAP System could not determine an activity number for cost elementV2 in controlling area v1.

System Response
Processing is terminated.

Instructions for the system manager
Assign an activity number to cost element &V2&, controlling area &V1&.