When execute tcode AJAB, error message raise with Enter a valid company code:
Enter a valid company code
Message no. AU066
For the year-end close, you must enter at least one company code which is valid for Asset Accounting, for which this activity should be carried out.
Check which company codes are defined for Asset Accounting in FI-AA Customizing.
Enter an existing company code.
Reason and How
Asset accounting is activated for a company code by assigning the chart of depreciation to the company code.
When you create a company code with tcode EC01, it does not copy chart of depreciation and company code, you need to manually copy chart of depreciation and assign it to your company code in asset accounting.