Defining Global VariablesIf you use a variable frequently, you should define it globally rather than in the context of a report or a form. This makes it possible to use the variable in all your forms and reports. This is particularly useful for characteristics which commonly figure in the general report selection, such as period, business area etc.
Another reason for creating global variables is that it is only when using this type of variable that you can perform a multiple selection. This means that you can include or exclude freely selectable values or ranges of values when executing reports. The features available in multiple selection can vary from application to application. When using
local
variables, you cannot use multiple selection.
Call up the initial screen for maintaining variables.
In most applications, you define global variables by selecting
Information System
in the application in question. The component EC-EIS is an exception. Here, you define global variables by choosing
in the application menu.
To define a new variable, choose .
Enter the required variable type, a name and the replacement type.
Note that the name you choose for a global variable must always begin with &. Depending on the variable type and replacement type you choose, the system will prompt you to make various entries in additional fields.
If you want to use the variable for general report selections, enter
S
in the field
Parameter/Selectopt
.
Make all necessary entries and save the variable.
You can use the variable in forms or reports. In fields where it is technically possible to use the variable, it will be offered to you via possible entries (F4).