SAP Message AC328 - No company codes have been defined in your system

Diagnosis
You chose a Customizing function which relates to company codes.
However, you have not defined any company codes in your system.

System Response
The system does not carry out the Customizing function.

Procedure
Define the company codes you need, using the appropriate Customizingfunction in Financial Accounting.