How To Fix FINS_ACDOC_CUST345 - Company code &1 is not assigned to ledger &2 (ledger group &3)


SAP Error Message - Details

  • 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)

  • Show details Hide details
  • What causes this issue?

    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.

    System Response

    How to fix this error?

    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</>

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 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:

    1. 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.
    2. Incorrect Configuration: The ledger group may not be properly configured to include the specified company code.
    3. 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:

    1. 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.
    2. 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.
    3. 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.
    4. Verify Ledger Group:

      • Ensure that the ledger group is correctly set up and includes the necessary ledgers and company codes.
    5. Testing:

      • After making the changes, perform a test transaction to verify that the error no longer occurs.

    Related Information:

    • Transaction Codes: You may use transaction codes like OB22 (for defining ledgers) or OB37 (for assigning company codes to ledgers) to access the relevant configuration screens directly.
    • Documentation: Refer to SAP Help documentation for detailed steps on configuring ledgers and company codes.
    • Authorization: Ensure that you have the necessary authorizations to make changes in the configuration settings.

    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.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author