Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix IDFI287 - The selected company code &1 must be located in country &2


SAP Error Message - Details

  • Message type: E = Error

  • Message class: IDFI - International Development

  • Message number: 287

  • Message text: The selected company code &1 must be located in country &2

  • 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 IDFI287 - The selected company code &1 must be located in country &2 ?

    The SAP error message IDFI287 indicates that there is a mismatch between the company code and the country in which it is supposed to be located. This error typically arises when you are trying to perform an action that requires the company code to be associated with a specific country, but the system finds that the company code is not set up correctly for that country.

    Cause:

    1. Incorrect Company Code Configuration: The company code may not be properly configured in the system to reflect the correct country.
    2. Data Entry Error: There may have been a mistake in entering the company code or the country during the transaction.
    3. Master Data Issues: The master data for the company code may not be aligned with the country settings in the system.

    Solution:

    1. Check Company Code Configuration:

      • Go to the transaction code OBY6 (or navigate through the menu: SPRO > Financial Accounting > General Ledger > Master Data > G/L Accounts > Edit, Delete, or Display G/L Account).
      • Verify that the company code is correctly assigned to the appropriate country.
    2. Review Transaction Data:

      • Ensure that the transaction you are trying to execute is using the correct company code and that it corresponds to the expected country.
    3. Correct Master Data:

      • If the company code is not set up for the correct country, you may need to adjust the master data. This can involve creating a new company code or modifying the existing one to ensure it is associated with the correct country.
    4. Consult Documentation:

      • Review SAP documentation or consult with your SAP administrator to ensure that all configurations are correct and that there are no additional settings that need to be adjusted.
    5. Testing:

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

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as OBY6, OBC4, and OBY1 for company code settings.
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message.
    • User Roles and Authorizations: Ensure that you have the necessary permissions to make changes to company code settings.

    If the issue persists after following these steps, it may be beneficial to reach out to your SAP support team for further assistance.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


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