How To Fix AC540 - Company code & not assigned to a chart of depreciation


SAP Error Message - Details

  • Message type: E = Error

  • Message class: AC - Error messages from Asset Customizing

  • Message number: 540

  • Message text: Company code & not assigned to a chart of depreciation

  • Show details Hide details
  • What causes this issue?

    Company code &V1& is defined in Asset Accounting but is not assigned to
    a chart of depreciation.

    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?

    Inform your system administrator.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message AC540 - Company code & not assigned to a chart of depreciation ?

    The SAP error message AC540 indicates that a company code is not assigned to a chart of depreciation. This is a common issue that can arise when setting up asset accounting in SAP. Here’s a breakdown of the cause, solution, and related information for this error:

    Cause:

    The error occurs when:

    1. A company code is created but not linked to any chart of depreciation.
    2. The chart of depreciation is not properly configured or assigned to the company code.
    3. There may be inconsistencies in the configuration settings for asset accounting.

    Solution:

    To resolve the AC540 error, follow these steps:

    1. Assign Chart of Depreciation to Company Code:

      • Go to the SAP Easy Access screen.
      • Navigate to SPRO (Customizing) ? Financial Accounting ? Asset Accounting ? Integration ? Assign Company Code to Chart of Depreciation.
      • Here, you can assign the relevant chart of depreciation to the company code that is causing the error.
    2. Check Chart of Depreciation Configuration:

      • Ensure that the chart of depreciation is correctly configured. You can check this under SPRO ? Financial Accounting ? Asset Accounting ? Master Data ? Define Chart of Depreciation.
      • Make sure that all necessary settings, such as depreciation areas and methods, are properly defined.
    3. Verify Company Code Settings:

      • Ensure that the company code is correctly set up and active. You can check this in the company code settings under SPRO ? Enterprise Structure ? Definition ? Financial Accounting ? Define Company Code.
    4. Check for Transport Issues:

      • If the configuration was recently transported from another system, ensure that all necessary objects were transported correctly.
    5. Testing:

      • After making the necessary assignments, test the configuration by trying to create or modify an asset to see if the error persists.

    Related Information:

    • Transaction Codes:

      • OBY6: To assign a chart of depreciation to a company code.
      • OAYZ: To define and manage charts of depreciation.
    • Documentation:

      • Refer to SAP Help documentation for Asset Accounting for detailed guidance on configuration and troubleshooting.
    • User Roles:

      • Ensure that you have the necessary authorizations to make changes in the configuration settings.

    By following these steps, you should be able to resolve the AC540 error and ensure that your company code is properly linked to a chart of depreciation in SAP.

    • 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 simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant