Please assign company code &1 to the leading ledger (&2).

Message type: E = Error

Message class: FINS_ACDOC_CUST - Unified Journal Entry - Customizing

Message number: 040

Message text: Please assign company code &1 to the leading ledger (&2).



What causes this issue?

All company codes should be assigned to the leading ledger (&V2&). Here,
company code &V1& is missing.


System Response

The system issues an error message and will not allow you to continue with this transaction until the error is resolved.



How to fix this error?

Assign company code &V1& to ledger &V2& using Customizing activity
<DS:TRAN.FINSC_LEDGER></> <DS>
Define Settings for Ledgers and Currency Types
.</> This should happen automatically after you have selected a ledger
and go to its company assignments. Make sure to save your changes.
If it doesn't work, please assign company code &V1& manually to ledger
&V2&.


Procedure for System Administrators


Error message extract from SAP system. Copyright SAP SE.