How To Fix ACEC_S4020 - The company code &2 is not assigned to ledger &1 in ledger configuration.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: ACEC_S4 - Customizing Message for Accrual Engine in S4 Version

  • Message number: 020

  • Message text: The company code &2 is not assigned to ledger &1 in ledger configuration.

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message ACEC_S4020 - The company code &2 is not assigned to ledger &1 in ledger configuration. ?

    The SAP error message ACEC_S4020 indicates that a specific company code is not assigned to a particular ledger in the ledger configuration. This error typically arises during financial transactions or when trying to post documents in the system.

    Cause:

    The primary cause of this error is that the company code you are trying to use is not linked to the ledger specified in the transaction. This can happen due to:

    1. Missing Configuration: The company code has not been assigned to the ledger in the configuration settings.
    2. Incorrect Ledger: The ledger being referenced in the transaction is not the one intended for the company code.
    3. Changes in Configuration: Recent changes in the ledger configuration may have removed the assignment of the company code to the ledger.

    Solution:

    To resolve this error, you need to ensure that the company code is correctly assigned to the ledger in the configuration. Here are the steps to do this:

    1. Access the Ledger Configuration:

      • Go to the SAP Easy Access screen.
      • Navigate to SPRO (SAP Project Reference Object) > Financial Accounting > General Ledger > Ledger > Define Ledgers.
    2. Check Ledger Assignment:

      • In the ledger configuration, check if the company code is assigned to the specified ledger.
      • If it is not assigned, you will need to add the company code to the ledger.
    3. Assign Company Code to Ledger:

      • Select the ledger you want to configure.
      • Add the company code to the list of assigned company codes for that ledger.
      • Save your changes.
    4. Verify Other Settings:

      • Ensure that the fiscal year variant and other related settings are correctly configured for the company code and ledger.
    5. Test the Configuration:

      • After making the changes, try to perform the transaction again to see if the error persists.

    Related Information:

    • Transaction Codes: You may use transaction codes like OB22 (for fiscal year variant) and OB37 (for ledger assignment) to check related configurations.
    • Documentation: Refer to SAP Help documentation for detailed steps on configuring ledgers and company codes.
    • Authorization: Ensure 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
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker