Variables for FormulasIf you want use variables in the formulas of a form, you need to use formula variables. You can use formula variables only in form reports, and must define them in the form itself. They can be replaced in the same ways as text variables when you execute the report.
Note
Formula variables make it easy for you to simulate and project data.
To use a formula variable in a form, call up the formula editor when you define the relevant element, and enter the variable there.
Global
variables need to be defined in Customizing before you can use them in formulas. Using the pushbutton
Switch text
, you can display all the possible components of a formula. To maintain global variables, see
Overview: Variables
.
For local variables, you need to enter &$ followed by a suitable name.
To define the properties of a variable, click on
or choose
For a detailed example of how to use formula variables, see Example: Use of Variables .