How To Fix GR684 - Set variable & contains a formula


SAP Error Message - Details

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


Smart SAP Assistant

  • What is the cause and solution for SAP error message GR684 - Set variable & contains a formula ?
    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.


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's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker