Symptom
When simulate/post supplier invoice, error messages raised:
KI100: "The CO account assignment object belongs to company code &, not &";
KM183: "No postings can be made to profit center & in company code &".
Environment
SAP S/4HANA Cloud
Cause
There could be minor difference(Transaction DIF) posted during the supplier invoice posting,
however, in SSCUI 102639 "Maintain Default Account Assignment",
there's a default account assignment(belongs to another company code B) maintained for the combination of company code A and cost element(DIF),
thus raise error "The CO account assignment object belongs to company code B, not A" when trying to posting to company code A.
Resolution
Kindly change the default account assignment to one that belongs to the right company code.
See Also
2943897 - Known issues related to incorrect account assignment settings - SAP ERP & SAP S/4HANA.
Keywords
KI100, OKB9, DIF, Account Assignment, Default Account Assignment, Supplier Invoice. , KBA , CO-OM-CEL-E , Postings , Problem