Black Friday is ending this Friday! 40% off with coupon CYBER40 - Sign up here

Close

How To Fix GR684 - Set variable & contains a formula


GR684 - Overview

  • Message type: E = Error

  • Message class: GR - Report Writer

  • Message number: 684

  • Message text: Set variable & contains a formula

  • Show details Hide details
  • What causes this issue?

    You cannot define formulas in sets that are used to replace a set
    variable.

    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?

    Enter a set that does not contain a formula to replace the set
    variables.

    Error message extract from SAP system. Copyright SAP SE.


GR684 - Details

  • The SAP error message GR684 indicates that there is an issue with a variable in a report or query that is expected to contain a single value but instead contains a formula. This typically occurs in the context of SAP BW (Business Warehouse) or SAP BI (Business Intelligence) when working with queries or reports that involve variables.
    
    Cause: The error arises when: A variable is defined in a way that it is expected to hold a single value, but it is instead set up to contain a formula or a complex expression. The variable might be incorrectly configured in the query definition or in the data source settings. The variable is being used in a context where a simple value is required, but the underlying logic or formula is more complex.
    Solution: To resolve the GR684 error, you can take the following steps: Check Variable Definition: Go to the variable definition in the query or report. Ensure that the variable

    Already have an account? Login here!




Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


GR684 - Related SAP Errors

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