You can use the SAP Query tool to perform basic calculations using local fields; no programming skills are required.
The processing sequence of operands follows the usual precedence rules, where the one-character operators + and - take priority over the point operators *, /, DIV, and MOD, which in turn take priority over the operators + and - . You can change the processing sequence to suit your own requirements by using parentheses.
Formulas can extend over one or several lines in free format. That is, the individual operands and operators can appear one immediately after the other in a consecutive sequence, or there may be a number of spaces between them. However, there can be no spaces within field names, and field names and character strings cannot extend over more than one line.
You can automatically insert a system value, such as the current user's name, into a report by using a local field.
Dynamic conditional calculations require a value to be input on the SAP Query tool's selection screen.