How To Fix F5571 - External company codes are not defined here


SAP Error Message - Details

  • Message type: E = Error

  • Message class: F5 - Document Editing

  • Message number: 571

  • Message text: External company codes are not defined here

  • Show details Hide details
  • What causes this issue?

    You have entered a company code which is characterized as a
    <ZH>External company code</>. However, items for foreign company
    codes can only be entered via the function provided for this
    <LS>Goto -> Ext. company codes</>.

    System Response

    The company code is rejected.

    How to fix this error?

    Enter a company code that is not characterized as an external
    company code.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message F5571 - External company codes are not defined here ?

    The SAP error message F5571, which states "External company codes are not defined here," typically occurs when there is an issue with the configuration of company codes in the SAP system, particularly when dealing with external company codes in financial transactions.

    Cause:

    1. Missing Configuration: The external company code you are trying to use in a transaction is not defined in the system. This can happen if the company code has not been created or if it has not been properly configured.
    2. Incorrect Settings: The settings for the company code may not be correctly defined in the system, leading to the inability to recognize it as a valid external company code.
    3. Data Entry Error: There may be a typographical error in the company code entered in the transaction.

    Solution:

    1. Check Company Code Configuration:

      • Go to the transaction code OBY6 (or SPRO -> Financial Accounting -> General Ledger Accounting -> Master Data -> Define Company Code) to verify if the external company code is defined.
      • If it is not defined, you will need to create it by entering the necessary details.
    2. Verify External Company Code:

      • Ensure that the external company code you are trying to use is correctly entered in the transaction. Double-check for any typos or incorrect entries.
    3. Check Integration Settings:

      • If you are working with multiple systems (e.g., in a landscape with SAP and non-SAP systems), ensure that the integration settings are correctly configured to recognize the external company codes.
    4. Consult Documentation:

      • Review the SAP documentation or consult with your SAP Basis or Financial Accounting team to ensure that all necessary configurations are in place.
    5. Testing:

      • After making the necessary changes, perform a test transaction to ensure that the error has been resolved.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as OBY6, SPRO, and FB50 (for posting documents) to navigate through the configuration and transaction processes.
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message. SAP Notes can provide additional insights or solutions specific to your version of SAP.
    • User Roles and Authorizations: Ensure that the user has the necessary authorizations to access and modify company code settings.

    If the issue persists after following these steps, it may be beneficial to engage with your SAP support team or consult with an SAP expert 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 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