Do you have any question about this error?
Message type: E = Error
Message class: EYE - Messages in queries for analysis authorizations
Message number: 021
Message text: The query selection contains an interval with errors
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.
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.
EYE021
- The query selection contains an interval with errors ?The SAP error message EYE021, which states "The query selection contains an interval with errors," typically occurs in the context of SAP BW (Business Warehouse) or SAP BI (Business Intelligence) when there are issues with the selection criteria defined in a query. This error indicates that there is a problem with the intervals or ranges specified in the query selection.
Causes:
- Invalid Interval Definition: The intervals defined in the query may not be valid. This could be due to incorrect date formats, invalid values, or ranges that do not make sense (e.g., a start date that is after an end date).
- Missing Values: If the selection criteria require certain values to be present and they are missing, this can lead to errors.
- Data Type Mismatch: The data types of the fields used in the intervals may not match the expected types (e.g., using a string where a date is expected).
- Query Design Issues: There may be issues in the design of the query itself, such as incorrect settings in the query properties or filters.
Solutions:
- Check Interval Definitions: Review the intervals defined in the query. Ensure that all start and end values are valid and correctly formatted. For date intervals, ensure that the start date is earlier than the end date.
- Validate Selection Criteria: Make sure that all required fields and values are included in the selection criteria. If any values are missing, add them as necessary.
- Review Data Types: Ensure that the data types of the fields used in the intervals match the expected types. If there is a mismatch, correct it in the query definition.
- Test Query Execution: Run the query with simplified selection criteria to isolate the issue. Gradually add back the intervals to identify which one is causing the error.
- Check Query Properties: Review the properties and settings of the query to ensure that they are configured correctly. This includes checking filters, variables, and any other settings that may affect the query execution.
- Consult Documentation: Refer to SAP documentation or support resources for additional guidance on query design and troubleshooting.
Related Information:
By following these steps, you should be able to identify and resolve the cause of the EYE021 error in your SAP query.
Get instant SAP help. Start your 7-day free trial now.
EYE020
Hierarchy for authorization has errors (name &1, key date &3, version &2)
What causes this issue? The system has found a hierarchy node authorization that cannot be assig ned to any hierarchy. The hierarchy possibly does no...
EYE019
No authority for the node from characteristic &1, hierarchy &2 (&3,&4)
The system issues an error message and will not allow you to continue with this transaction until the error is resolved. What causes this issue? The...
EYE050
Aggregation authorization must be assigned for characteristic &1
What causes this issue? Characteristics that do not occur in the drilldown but that exist in the InfoProvider are always aggregated. The displayed tr...
EYE051
Infinite loop in usage of virtual authorizations
What causes this issue? The implementation for virtual authorizations is called repeatedly. To avoid an infinite loop, this error is displayed when t...
Click on this link to search all SAP messages.