How To Fix AQ221 - Query & can only be started using a variant


AQ221 - Overview

  • Message type: E = Error

  • Message class: AQ - Message texts for SAP Query

  • Message number: 221

  • Message text: Query & can only be started using a variant

  • Show details Hide details
  • What causes this issue?

    To execute this query, you must always specify a variant. You can do
    this only on the initial screen.

    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?

    Specify a variant on the initial screen of the component <LS>Maintain
    Queries</> screen.
    If you are not on the initial screen, you cannot execute the query
    directly. You must always return to the initial screen first.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message AQ221 - Query & can only be started using a variant ?
    The SAP error message AQ221 indicates that a query can only be executed using a variant. This typically occurs in the context of SAP Query or SAP Report transactions where a specific variant (a predefined set of parameters) is required to run the query.
    
    Cause: Missing Variant: The query you are trying to execute has been configured to require a variant, and you have not selected one. Query Configuration: The query may have been set up in such a way that it mandates the use of a variant for execution, possibly due to specific selection criteria or parameters that need to be predefined. User Permissions: In some cases, user permissions or roles may restrict the ability to run queries without a variant.
    Solution: Select a Variant: When you attempt to run the query, look for an option to select a variant. This is usually available in the selection screen of the query. If you do not have

    Already have an account? Login here!




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
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