How To Fix AQ_AD_HOC228 - Ranked list has no valid criterion


SAP Error Message - Details

  • Message type: E = Error

  • Message class: AQ_AD_HOC - SAP Query: Ad Hoc Query Messages

  • Message number: 228

  • Message text: Ranked list has no valid criterion

  • Show details Hide details
  • What causes this issue?

    The compiled ranked list does not have a field that can be used as a
    sort field.
    Since a ranked list always requires exactly one numerical sort field
    that has been designated as a ranked list criterion, the ranked list
    cannot be generated nor saved in this form.

    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?

    Sort the ranked list according to exactly one numerical field (type P,
    I, or F). If there is no numerical field in the ranked list, add a
    numerical field and sort according to this field.
    If the counter function has been set under Settings -> Statistics, you
    can use this field as the criterium, if no alternative field is
    available.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message AQ_AD_HOC228 - Ranked list has no valid criterion ?

    The SAP error message AQ_AD_HOC228, which states "Ranked list has no valid criterion," typically occurs in the context of SAP's Analytical Queries or when working with ranked lists in reporting tools. This error indicates that the system is unable to generate a ranked list because there are no valid criteria defined for ranking the data.

    Cause:

    1. Missing Criteria: The ranked list requires specific criteria to determine how the data should be ranked. If these criteria are not defined or are invalid, the error will occur.
    2. Incorrect Configuration: The configuration settings for the ranked list may be incorrect or incomplete.
    3. Data Issues: There may be issues with the underlying data that prevent valid criteria from being established.
    4. User Permissions: Sometimes, user permissions may restrict access to certain data or criteria needed for ranking.

    Solution:

    1. Define Valid Criteria: Ensure that you have defined valid criteria for the ranked list. This may involve specifying fields or metrics that can be used for ranking.
    2. Check Configuration: Review the configuration settings for the ranked list to ensure that all necessary parameters are correctly set.
    3. Validate Data: Check the underlying data to ensure that it is complete and valid. Look for any missing or incorrect entries that could affect the ranking.
    4. User Permissions: Verify that the user has the necessary permissions to access the data and criteria required for the ranked list.
    5. Consult Documentation: Refer to SAP documentation or help resources for specific guidance on setting up ranked lists and the criteria required.

    Related Information:

    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message.
    • SAP Community: Engage with the SAP Community forums to see if other users have encountered similar issues and what solutions they found.
    • Training and Documentation: Review any training materials or documentation related to the specific SAP module you are using, as they may provide insights into setting up ranked lists correctly.

    If the issue persists after trying the above solutions, it may be beneficial to contact SAP support 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