Do you have any question about this error?
Message type: E = Error
Message class: FINS_ACDOC_CUST - Unified Journal Entry - Customizing
Message number: 345
Message text: Company code &1 is not assigned to ledger &2 (ledger group &3)
In the Customizing for <LS>Multiple Accounting Principles in Controlling
(COGM)</>, you are using ledger group &V3& for company code &V1&.
However<(>,<)> ledger &V2& of ledger group &V3& is not assigned to this
company code.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Please check the following Customizing activities:
<DS:SIMG.V_FCML_MLCO_COFI>Set Up Integration with G/L for Multiple
Accounting Principles in Controlling (COGM)</>
<DS:SIMG.FINSVC_LEDGER>Define Settings for Ledgers and Currency Types</>
<DS:SIMG.VC_FAGL_LDGRPMAP_DC>Define Ledger Group</>
Error message extract from SAP system. Copyright SAP SE.
FINS_ACDOC_CUST345
- Company code &1 is not assigned to ledger &2 (ledger group &3) ?The SAP error message FINS_ACDOC_CUST345 indicates that a specific company code is not assigned to a particular ledger within a ledger group. This error typically arises during financial postings or when trying to access financial data that requires a valid assignment between the company code and the ledger.
Cause:
- Missing Assignment: The company code specified in the error message is not assigned to the ledger indicated. This can happen if the configuration was not completed correctly or if changes were made to the ledger or company code settings.
- Incorrect Configuration: The ledger group may not be properly configured to include the specified company code.
- Data Migration Issues: If data was migrated from another system or if there were changes in the configuration, the necessary assignments may not have been carried over.
Solution:
To resolve this error, you need to ensure that the company code is correctly assigned to the ledger in the relevant ledger group. Here are the steps to do this:
Access the Configuration:
- Go to the SAP Easy Access screen.
- Navigate to SPRO (SAP Project Reference Object) > Financial Accounting > General Ledger Accounting > Ledger > Define Ledgers.
Check Ledger Assignment:
- In the ledger configuration, check the assignment of the company code to the ledger.
- Ensure that the company code in question is listed under the appropriate ledger and ledger group.
Assign Company Code to Ledger:
- If the company code is not assigned, you can add it by selecting the appropriate ledger and then assigning the company code to it.
- Save your changes.
Verify Ledger Group:
- Ensure that the ledger group is correctly set up and includes the necessary ledgers and company codes.
Testing:
- After making the changes, perform a test transaction to verify that the error no longer occurs.
Related Information:
If the issue persists after following these steps, it may be beneficial to consult with your SAP Basis or Finance team for further investigation, as there may be additional underlying issues or configurations that need to be addressed.
Get instant SAP help. Start your 7-day free trial now.
FINS_ACDOC_CUST344
Ledger &1 cannot be used as compat. view ledger for CoCode &2, &3
What causes this issue? In the Customizing settings for <DS:SIMG.V_FCML_MLCO_COFI>Multiple Accounting Principles in Controlling (COGM)</>...
FINS_ACDOC_CUST343
Ledger &1 cannot be used as compat. view ledger for CoCode &2
What causes this issue? In the Customizing settings for <DS:SIMG.V_FCML_MLCO_COFI>Multiple Accounting Principles in Controlling (COGM)</>...
FINS_ACDOC_CUST346
Use leading ledger &4 as compatibility view ledger for CoCode &1 / &2
What causes this issue? In the Customizing settings for <DS:SIMG.V_FCML_MLCO_COFI>Multiple Accounting Principles in Controlling (COGM)</>...
FINS_ACDOC_CUST347
Assign Version 000 in CO area &1 to val view 0,1, or 2
What causes this issue? In Controlling area &V1&, you have assigned version 000 to valuation view &V2&.System Response This is not a...
Click on this link to search all SAP messages.