Do you have any question about this error?
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
Company code &V1& is defined in Asset Accounting but is not assigned to
a chart of depreciation.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Inform your system administrator.
Error message extract from SAP system. Copyright SAP SE.
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:
- A company code is created but not linked to any chart of depreciation.
- The chart of depreciation is not properly configured or assigned to the company code.
- There may be inconsistencies in the configuration settings for asset accounting.
Solution:
To resolve the AC540 error, follow these steps:
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.
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.
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.
Check for Transport Issues:
- If the configuration was recently transported from another system, ensure that all necessary objects were transported correctly.
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:
Documentation:
User Roles:
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.
Get instant SAP help. Start your 7-day free trial now.
AC539
Company code & not defined in Asset Accounting
What causes this issue? Company code &V1& is not defined in Asset Accounting.System Response The system issues an error message and will not...
AC538
Program error: Entry incomplete when calling function module
What causes this issue? The function module 'AFBTXT_BUKRS_GET' was called using incomplete parameters. The parameter I_BUKRS has the value ...
AC541
Depreciation area &V1& is not defined
What causes this issue? Depreciation area &V1& is not defined. Chart of depreciation &V3& was determined using company code &V2&a...
AC542
Program RAVCLUST was called with the wrong transaction
What causes this issue? Program RAVCLUST controls view cluster calls in Asset Accounting, where transactions are transformed into view clusters. The ...
Click on this link to search all SAP messages.