How To Fix FDT_QUERY004 - The low / high selection criteria (&1/&2) is too long


SAP Error Message - Details

  • Message type: E = Error

  • Message class: FDT_QUERY - FDT: Query

  • Message number: 004

  • Message text: The low / high selection criteria (&1/&2) is too long

  • 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 FDT_QUERY004 - The low / high selection criteria (&1/&2) is too long ?

    The SAP error message FDT_QUERY004 indicates that the low and high selection criteria specified in a query are too long. This typically occurs when the input values for selection criteria exceed the allowed length defined in the system.

    Cause:

    1. Length Exceeded: The values provided for the low and high selection criteria exceed the maximum length allowed for the data type in the database.
    2. Data Type Limitations: Different data types have different length limitations. For example, a CHAR field may have a maximum length of 255 characters, while a STRING type may allow more.
    3. Query Design: The way the query is designed may lead to overly long selection criteria, especially if concatenating multiple values or using complex expressions.

    Solution:

    1. Check Input Values: Review the values you are entering for the low and high selection criteria. Ensure they are within the acceptable length limits.
    2. Modify Query: If the query is designed to accept multiple values, consider breaking them down into smaller segments or using a different approach to filter the data.
    3. Adjust Data Types: If you have control over the data model, consider adjusting the data types to allow for longer values, if appropriate.
    4. Use Wildcards: If applicable, use wildcards to reduce the number of characters in the selection criteria.
    5. Consult Documentation: Refer to SAP documentation or the data dictionary to understand the specific length limitations for the fields you are querying.

    Related Information:

    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message.
    • Transaction Codes: Use transaction codes like SE11 (Data Dictionary) to check the field definitions and their lengths.
    • Performance Considerations: Be mindful that overly complex queries or those with long selection criteria can impact performance. Simplifying the query can help improve execution time.
    • Testing: After making changes, test the query to ensure that it runs successfully without triggering the error.

    If the issue persists after trying the above solutions, consider reaching out to your SAP support team or consulting 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