SAP Knowledge Base Article - Public

3405510 - Error F5104 'Vendor is not defined in company code' raised when running intercompany allocation

Symptom

For intercompany allocation, user defined customer/vendor accounts for intercompany clearing accounts.
When running allocations in update mode, raise error F5104 'Vendor is not defined in company code'.

Environment

SAP S/4HANA Cloud

Cause

While the Universal Allocation can deal with balance accounts for the ICO clearing accounts, these must be G/L accounts without open-item management enabled.
Vendor accounts are open-item managed by nature and cannot be used in the Universal Allocation.

Resolution

Company code clearing accounts have to maintained as G/L accounts.
Open "Implementation Activities" app and navigate to "Accounting > General Ledger > Account Determination >  Account Determination in General Ledger > Automatic Account Determination". There choose "Controlling > Cost Center Accounting > Assign Intercompany Clearing Accounts for Actual Postings".
Assign G/L accounts to the cost elements used within the allocations.

Keywords

Intercompany allocation, Vendor, Customer, F5104, Vendor is not defined in company code, Assign Intercompany Clearing Accounts for Actual Postings. , KBA , FI-GL-GL-AL-2CL , Universal Allocation (Public Cloud) , CO-FIO-ACT , Actual Costing , Problem

Product

SAP S/4HANA Cloud all versions