How To Fix GI805 - Country & not found in the country table


SAP Error Message - Details

  • Message type: E = Error

  • Message class: GI - FI-SL update

  • Message number: 805

  • Message text: Country & not found in the country table

  • Show details Hide details
  • What causes this issue?

    Country &V1& is assigned to company code / global company &V3&.
    However, this country is not defined in the country table (country
    &V1& does not exist as master data).
    This error occurred in the currency determination for ledger &V2& and
    currency type &V4&.

    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?

    Define country &V1& or make sure that country &V1& is not assigned to
    any company code or global company.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message GI805 - Country & not found in the country table ?

    The SAP error message GI805 ("Country & not found in the country table") typically occurs when the system is unable to find a specified country code in the country table (T005). This can happen in various scenarios, such as during the creation of master data, sales orders, or when processing transactions that require country-specific information.

    Cause:

    1. Missing Country Code: The specified country code does not exist in the country table (T005).
    2. Incorrect Configuration: The country code may be incorrectly configured or misspelled in the transaction or master data.
    3. Data Migration Issues: If data has been migrated from another system, the country codes may not have been properly transferred or mapped.
    4. Custom Development: Custom programs or enhancements may be referencing a country code that is not defined in the standard country table.

    Solution:

    1. Check Country Table (T005):

      • Go to transaction code SE16 or SE16N.
      • Enter the table name T005 and execute.
      • Check if the country code in question exists. If it does not, you will need to add it.
    2. Add Missing Country Code:

      • If the country code is missing, you can add it using transaction code OBY6 (for country settings) or SPRO (to access the configuration menu).
      • Navigate to SAP Customizing Implementation Guide > Enterprise Structure > Definition > Financial Accounting > Define Countries.
      • Add the missing country code with the appropriate details.
    3. Verify Data Entry:

      • Ensure that the country code is entered correctly in the relevant transaction or master data. Check for typos or incorrect formats.
    4. Check Custom Code:

      • If the error is occurring in a custom program, review the code to ensure it is referencing valid country codes.
    5. Data Migration Review:

      • If the issue arose after a data migration, review the migration process to ensure that all necessary country codes were included and correctly mapped.

    Related Information:

    • Country Table (T005): This table contains the list of countries recognized by the SAP system, along with their respective country codes and descriptions.
    • Transaction Codes: Familiarize yourself with relevant transaction codes such as SE16, OBY6, and SPRO for data checks and configuration.
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message.
    • Documentation: Review SAP documentation for country-specific settings and configurations to ensure compliance with local regulations.

    By following these steps, you should be able to resolve the GI805 error and ensure that the country code is recognized by the SAP system.

    • 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