How To Fix AC159 - Account &1 not defined in chart of accounts &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: AC - Error messages from Asset Customizing

  • Message number: 159

  • Message text: Account &1 not defined in chart of accounts &2

  • Show details Hide details
  • What causes this issue?

    Account &V1&, which you entered, is not defined in chart of accounts
    &V2&.

    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?


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message AC159 - Account &1 not defined in chart of accounts &2 ?

    The SAP error message AC159, which states "Account &1 not defined in chart of accounts &2," typically occurs when you are trying to post a transaction to a general ledger account that has not been defined in the specified chart of accounts. This can happen in various modules, such as Asset Accounting (FI-AA) or General Ledger Accounting (FI-GL).

    Cause:

    1. Missing Account Definition: The account you are trying to use (represented by &1) is not defined in the specified chart of accounts (represented by &2).
    2. Incorrect Chart of Accounts: The chart of accounts being used for the transaction may not be the correct one for the company code or the account type.
    3. Account Deactivation: The account may have been deactivated or marked for deletion in the system.
    4. Configuration Issues: There may be configuration issues in the financial settings that prevent the account from being recognized.

    Solution:

    1. Check Account Definition:

      • Go to the transaction code FS00 (G/L Account Master Record) and check if the account &1 exists in the chart of accounts &2.
      • If it does not exist, you will need to create it using the same transaction code.
    2. Create the Account:

      • If the account is missing, create it by entering the required details such as account type, account group, and other relevant information.
      • Ensure that you assign it to the correct chart of accounts.
    3. Verify Chart of Accounts:

      • Ensure that the correct chart of accounts is being used for the company code in question. You can check this in the company code settings (transaction code OBY6).
    4. Check for Deactivation:

      • If the account exists but is inactive, you may need to reactivate it or create a new account if it has been marked for deletion.
    5. Consult Configuration:

      • If you suspect configuration issues, consult with your SAP FI consultant or system administrator to review the settings related to the chart of accounts and account definitions.

    Related Information:

    • Transaction Codes:
      • FS00: G/L Account Master Record
      • OBY6: Define Company Code
      • OBD2: Chart of Accounts Assignment
    • Documentation: Refer to SAP Help documentation for detailed steps on managing G/L accounts and charts of accounts.
    • User Roles: Ensure that you have the necessary authorizations to create or modify G/L accounts in the system.

    By following these steps, you should be able to resolve the AC159 error and successfully post your transaction.

    • 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