How To Fix EI022 - Company code is not valid


SAP Error Message - Details

  • Message type: E = Error

  • Message class: EI - Foreign Trade: Gen. Output

  • Message number: 022

  • Message text: Company code is not valid

  • Show details Hide details


  • Self-Explanatory Message

    Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.

    To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.

    Unfortunately, there isn't any extra information in this error notice.



    What else can you do?

    First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).

    Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.

    You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.


Smart SAP Assistant

  • What is the cause and solution for SAP error message EI022 - Company code is not valid ?

    The SAP error message EI022, which states "Company code is not valid," typically occurs when there is an issue with the company code configuration in the SAP system. Here’s a breakdown of the potential causes, solutions, and related information for this error:

    Causes:

    1. Incorrect Company Code: The company code entered may not exist in the system or may have been incorrectly typed.
    2. Inactive Company Code: The company code might be inactive or not properly configured in the system.
    3. Authorization Issues: The user may not have the necessary authorizations to access the specified company code.
    4. Data Consistency Issues: There may be inconsistencies in the master data or configuration settings related to the company code.
    5. Client-Specific Settings: The company code may not be assigned to the current client or may not be valid for the specific transaction being executed.

    Solutions:

    1. Verify Company Code: Check the company code entered for any typographical errors. Ensure that it matches the valid company codes in the system.
    2. Check Company Code Status: Go to the transaction code OBY6 (or SPRO -> Financial Accounting -> General Ledger Accounting -> Master Data -> G/L Accounts -> Prepare G/L Account Creation) to verify if the company code is active and properly configured.
    3. User Authorizations: Ensure that the user has the necessary authorizations to access the company code. This can be checked in the user roles and profiles.
    4. Review Configuration: Check the configuration settings for the company code in the SAP system to ensure that it is set up correctly.
    5. Client Assignment: Make sure that the company code is assigned to the correct client. You can check this in the configuration settings.
    6. Consult Documentation: If the issue persists, refer to SAP documentation or consult with your SAP Basis or functional team for further investigation.

    Related Information:

    • Transaction Codes:
      • OBY6: To check and configure company codes.
      • SPRO: To access the SAP Reference IMG for configuration settings.
    • SAP Notes: Search for relevant SAP Notes in the SAP Support Portal that may address specific issues related to company codes.
    • User Roles: Review user roles and authorizations in transaction SU01 to ensure proper access rights.

    If the problem continues after following these steps, it may be necessary to involve your SAP support team or consult with SAP support for more in-depth troubleshooting.

    • 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