Do you have any question about this error?
Message type: E = Error
Message class: GS - Sets
Message number: 735
Message text: Syntac error in the formula, please correct
The error is due to one of the following reasons:
You have ignored either the formula syntax rules used in variable
maintenance or the general mathematical rules for writing formulas.
The formula contains a formula variable, whose formula in turn contains
an error.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
The formula cannot be evaluated.
Depending on the cause of the error, you should proceed as follows:
If you have observed the general mathematical rules for writing
formulas, the error is due to the syntactic processing of variables or
exits. You should make sure that you always place apostrophes around
variable names with or without a preceding & if they themselves are
used in a variable formula. You must also place apostrophes around
exit names which have to be preceded by the special character #.
Example of a formula entry:
'VAR' + '#S001' + 1
VAR is a variable to which either a number has been assigned or
contains another formula itself. There is a SAP-EXIT S001 in the FORM
pool program RGSVS000, from which a value is determined during the
running time. This value can then be used for '#S001'.
You should check the variables used in order to find the incorrect
expression (possibly used over several levels) so that you can again
evaluate the variable formula.
Error message extract from SAP system. Copyright SAP SE.
GS735
- Syntac error in the formula, please correct ?The SAP error message GS735, which indicates a "Syntax error in the formula, please correct," typically occurs in the context of SAP's formula processing, such as in the calculation of pricing, conditions, or other formula-based evaluations. This error suggests that there is an issue with the syntax of the formula you are trying to use.
Causes:
- Incorrect Formula Syntax: The formula may contain typographical errors, such as missing operators, incorrect use of parentheses, or invalid function names.
- Unsupported Functions: The formula may be using functions or operations that are not supported in the context where it is being applied.
- Data Type Mismatch: The formula may be trying to perform operations on incompatible data types (e.g., trying to add a string to a number).
- Missing Variables: The formula may reference variables or fields that are not defined or available in the current context.
- Logical Errors: There may be logical errors in the formula that prevent it from being evaluated correctly.
Solutions:
- Review the Formula: Carefully check the formula for any syntax errors. Ensure that all operators, parentheses, and functions are used correctly.
- Check Documentation: Refer to SAP documentation for the specific context in which you are using the formula to ensure that you are using supported functions and syntax.
- Test in Isolation: If possible, isolate parts of the formula and test them individually to identify which part is causing the error.
- Use Debugging Tools: Utilize any available debugging tools or logs in SAP to get more information about the error.
- Consult with Colleagues or SAP Support: If you are unable to resolve the issue, consider reaching out to colleagues or SAP support for assistance.
Related Information:
By following these steps, you should be able to identify and correct the syntax error in your formula.
Get instant SAP help. Start your 7-day free trial now.
GS734
Variable & cannot be calculated from itself
What causes this issue? The variable &V1& is contained within itself at one or more formula levels. &V1&System Response The system c...
GS731
Table, field name and variable type copied from reference variable
What causes this issue? You have created a variable using an existing variable from which you want to copy data. At least one of the entries for the...
GS736
Formula contains variable,thus automatic selection of 'Internal variable'
What causes this issue? A variable is used in the formula, without the field 'Internal variable' being selected. If you set the field '...
GS739
Enter a formula
What causes this issue? You have not made an entry in the field Formula/Default.System Response You cannot therefore create or change a variable.How...
Click on this link to search all SAP messages.