Symptom
Exception raised when trying to post a Supplier Invoice 123 'Cost object AAA is not valid for company BBB and date YYYYMMDD. Choose another cost object'.
(123 represents the Supplier Invoice ID; AAA represents the Cost object ID; BBB represents the company ID.)
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to Supplier Invoicing work center.
- Go to Invoices and Credit Memos view.
- Open the Invoice 123.
- Navigate to Exceptions tab.
- See exception: 'Cost object AAA is not valid for company BBB and date YYYYMMDD. Choose another cost object'.
Cause
The cost object type of the selected cost object is not assigned to the selected Account Assignment Type.
Follow the below steps to check the cost object type of the selected cost object for the invoice item.
- Open the invoice and navigate to the Items tab.
- Select the item.
- Under the Cost Distribution subtab, see the Cost Object ID is AAA.
- Open the cost object AAA and see the Cost Object Type is CCC.
Follow the below steps to check the selected Account Assignment Type for the invoice item.
- Open the invoice and navigate to the Items tab -> Cost Distribution subtab.
- See Account Assignment Type XXX.
Then follow the below steps to check the settings for Account Assignment Type XXX.
- Go to Business Configuration work center.
- Go to Overview view.
- Search for activity: 'Account Assignment Types' and open it.
- Click 'Maintain Account Assignment Types'.
- See that for Account Assignment Type XXX, the Account Assignment is not Cost Object Type CCC.
(CCC represents the Cost Object Type for the cost object AAA; XXX represents the Account Assignment Type.)
Resolution
Either change the Account Assignment to CCC for the current Account Assignment Type XXX, or create a new Account Assignment Type with account assignment CCC and select the new Account Assignment Type for the invoice item.
Keywords
Account Assignment Type, Cost Object, Cost Object Type, , KBA , SRD-FIN-COR , Cost & Revenue , SRD-SRM-SI , Supplier Invoicing , Problem