How To Fix /SAPQUERY/BC_GLOBAL400 - The selected country & is not contained in the table


SAP Error Message - Details

  • Message type: E = Error

  • Message class: /SAPQUERY/BC_GLOBAL -

  • Message number: 400

  • Message text: The selected country & is not contained in the table

  • 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 /SAPQUERY/BC_GLOBAL400 - The selected country & is not contained in the table ?

    The SAP error message /SAPQUERY/BC_GLOBAL400 indicates that the selected country is not found in the relevant table. This typically occurs when a query or report is trying to access data related to a country that is not defined in the system's configuration.

    Cause:

    1. Missing Country Code: The country code you are trying to use in your query or report is not defined in the system.
    2. Incorrect Configuration: The country may not be properly configured in the relevant tables, such as the country-specific settings in the SAP system.
    3. Data Entry Error: There may be a typo or incorrect entry in the country field when the query is being executed.

    Solution:

    1. Check Country Configuration:

      • Go to the transaction code SPRO (SAP Reference IMG).
      • Navigate to Enterprise Structure > Definition > Logistics - General > Define Countries.
      • Verify if the country in question is listed. If not, you may need to add it.
    2. Update the Query:

      • If the country is not relevant for your query, consider modifying the query to exclude that country or to use a valid country code.
    3. Data Validation:

      • Ensure that the data being inputted into the query is correct. Check for any typos or incorrect country codes.
    4. Check User Authorizations:

      • Ensure that the user executing the query has the necessary authorizations to access the data related to the specified country.
    5. Consult Documentation:

      • Review any relevant documentation or help files related to the specific query or report you are running to ensure that you are using it correctly.
    6. Contact SAP Support:

      • If the issue persists after checking the above points, consider reaching out to SAP support for further assistance.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as SE11 (Data Dictionary) to check the underlying tables and data.
    • SAP Notes: Search for SAP Notes related to this error message in the SAP Support Portal, as there may be specific patches or updates that address this issue.
    • User Forums: Check SAP community forums or other user groups for similar issues and solutions shared by other users.

    By following these steps, you should be able to identify the cause of the error and implement a solution to resolve it.

    • 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
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author