SAP Message AU087 - You did not enter a valid company code

Diagnosis
None of the company codes you have entered is defined for AssetAccounting.

Procedure
Check your specifications in FI-AA Customizing.