How To Fix ACC_AA018 - Enter the target company code or no company code


SAP Error Message - Details

  • Message type: E = Error

  • Message class: ACC_AA - Message Class for Function Group ACC_AA

  • Message number: 018

  • Message text: Enter the target company code or no company code

  • Show details Hide details
  • What causes this issue?

    You entered a target depreciation area, but not a target company code.

    System Response

    Error message

    How to fix this error?

    Enter both a company code and a depreciation area.
    &NOTE&
    If you only want to use the "Post directly" function, and want to
    change neither the company code nor the depreciation area, leave the
    target data blank. However, you then have to make sure you choose the
    "Post directly" function.

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message ACC_AA018 - Enter the target company code or no company code ?

    The SAP error message ACC_AA018 typically occurs in the context of Asset Accounting (FI-AA) when a user attempts to perform an action that requires a company code to be specified, but either no company code has been entered or the entered company code is invalid.

    Cause:

    1. Missing Company Code: The user did not enter a company code in the relevant field.
    2. Invalid Company Code: The entered company code does not exist in the system or is not valid for the transaction being performed.
    3. Configuration Issues: The company code may not be properly configured in the Asset Accounting module.
    4. Authorization Issues: The user may not have the necessary authorizations to access the specified company code.

    Solution:

    1. Enter a Valid Company Code: Ensure that you enter a valid company code in the relevant field. You can check the list of available company codes in the system.
    2. Check Configuration: Verify that the company code is properly configured in the Asset Accounting settings. This can be done by navigating to the configuration settings in the SAP system.
    3. Review User Authorizations: Ensure that the user has the necessary authorizations to access the company code. This may require coordination with your SAP security team.
    4. Transaction Context: Make sure that the transaction you are trying to perform is applicable to the company code you are entering. Some transactions may have restrictions based on company code settings.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes in Asset Accounting, such as AS01 (Create Asset), AS02 (Change Asset), and AS03 (Display Asset).
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message. You can search for notes in the SAP Support Portal.
    • Documentation: Review the SAP Help documentation for Asset Accounting to understand the requirements for transactions involving company codes.
    • Testing: If you are in a development or testing environment, try replicating the issue with different company codes to identify if the problem is specific to a particular code.

    If the issue persists after following these steps, it may be beneficial to consult with your SAP support team or a functional consultant specializing in Asset Accounting for further assistance.

    • 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