How To Fix AU066 - Enter a valid company code


SAP Error Message - Details

  • Message type: E = Error

  • Message class: AU - FI-AA utility program error messages

  • Message number: 066

  • Message text: Enter a valid company code

  • Show details Hide details
  • What causes this issue?

    For the year-end close, you must enter at least one company code
    which is valid for Asset Accounting, for which this activity
    should be carried out.

    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?

    Check which company codes are defined for Asset Accounting in FI-AA
    Customizing.
    Enter an existing company code.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message AU066 - Enter a valid company code ?

    The SAP error message AU066, which states "Enter a valid company code," typically occurs when a user attempts to perform a transaction or enter data in a context where a valid company code is required, but the system does not recognize the provided company code as valid. Here are the potential causes, solutions, and related information for this error:

    Causes:

    1. Invalid Company Code: The company code entered does not exist in the system or is not properly configured.
    2. Authorization Issues: The user may not have the necessary authorizations to access the specified company code.
    3. Inactive Company Code: The company code may be inactive or not set up correctly in the system.
    4. Data Entry Error: There may be a typographical error in the company code entered by the user.
    5. Configuration Issues: The company code may not be assigned to the relevant organizational units or may not be included in the user's profile.

    Solutions:

    1. Verify Company Code: Check the company code entered for any typographical errors. Ensure that it matches the valid codes in the system.
    2. Check Company Code Configuration:
      • Go to the transaction code OBY6 (or SPRO -> Financial Accounting -> General Ledger Accounting -> Master Data -> G/L Accounts -> Prepare for G/L Account Creation) to verify if the company code is set up correctly.
      • Ensure that the company code is active and properly configured.
    3. User Authorizations: Check if the user has the necessary authorizations to access the company code. This can be done by reviewing the user's roles and authorizations in transaction SU01 or PFCG.
    4. Consult with SAP Administrator: If the issue persists, consult with your SAP administrator or support team to ensure that the company code is correctly configured and that there are no underlying issues with the system.
    5. Use Transaction Codes: Use transaction codes like OBY6 to view and manage company codes, or OBC4 to check the assignment of company codes to controlling areas.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as OBY6 (to manage company codes) and SU01 (to manage user authorizations).
    • SAP Notes: Check SAP Notes for any known issues or patches related to company code errors.
    • Documentation: Review SAP documentation or help files for more detailed information on company code setup and management.

    By following these steps, you should be able to identify the cause of the AU066 error and implement the appropriate solution. If the problem continues, further investigation may be required, potentially involving SAP support.

    • 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