SAP Message AC005 - No company code was selected

Diagnosis
You have selected the function 'C.code productive' but you have notfirst selected a company code.

System Response
The function was not carried out