How To Fix /PLMPCV/QRM820 - Query &1: Formula &2 used neither in result attrib. nor in sel. criterion


SAP Error Message - Details

  • Message type: E = Error

  • Message class: /PLMPCV/QRM -

  • Message number: 820

  • Message text: Query &1: Formula &2 used neither in result attrib. nor in sel. criterion

  • 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 /PLMPCV/QRM820 - Query &1: Formula &2 used neither in result attrib. nor in sel. criterion ?

    The SAP error message /PLMPCV/QRM820 indicates that there is an issue with a query in the SAP system, specifically related to a formula that is not being used correctly in the context of the query. Here’s a breakdown of the components of the error message and potential solutions:

    Cause:

    1. Formula Not Used: The formula specified in the query (denoted as &2 in the error message) is not being utilized in either the result attributes or the selection criteria of the query. This means that the system does not know how to process this formula because it is not linked to any output or filtering mechanism in the query.

    2. Query Configuration: The query might have been configured incorrectly, or there may have been changes to the underlying data model that have not been reflected in the query.

    3. Data Model Changes: If there have been recent changes to the data model or the attributes available for the query, the formula may no longer be valid or applicable.

    Solution:

    1. Check Query Configuration:

      • Open the query in the SAP Query Designer or the relevant transaction (e.g., SQ01, SQ02).
      • Verify that the formula is included in either the result attributes or the selection criteria. If it is not, you will need to add it to one of these sections.
    2. Modify the Formula:

      • If the formula is not relevant anymore, consider removing it from the query.
      • If it needs to be used, ensure that it is correctly defined and linked to the appropriate attributes.
    3. Review Data Model:

      • Check if there have been any changes to the underlying data model that might affect the query. If so, update the query accordingly.
    4. Test the Query:

      • After making changes, test the query to ensure that it runs without errors and returns the expected results.
    5. Consult Documentation:

      • Refer to SAP documentation or help resources for additional guidance on query configuration and formula usage.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as SQ01 (Query), SQ02 (InfoSet), and SQ03 (User Groups) for managing queries.
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message.
    • User Permissions: Ensure that you have the necessary permissions to modify queries and access the relevant data.

    By following these steps, you should be able to resolve the error message and ensure that your query functions correctly.

    • 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