SAP Message AY008 - Company code was not transferred

Diagnosis
No company code was provided to the function module for themaintenance of the capital investment measure.

Procedure
An asset company code is required for the maintenance of the capitalinvestment measure. The call program has to provide thecompany code.