Creating Set Variables On the
Create Set Variable: Basic Data
screen, enter a description for the variable.
The name of the table field used for the variable is defaulted as the variable description. You can change this description as required.
Set one of the indicators in the
Default entries
group box to determine which default values are used for the set variable:
– If you select
All values
, you do not have to enter a default set for the variable. The system automatically creates a set containing all possible values defined for the field that the variable uses.
You create a set variable called VAR-CTR for the dimension Cost center and set the
All values
indicator. If you use variable VAR-CTR in a report definition and execute the report, the system selects data for
all
cost centers according to the selection criteria you enter.
– If you select
Default set
, enter the name of default set for the variable. You can only enter basic and single-dimension sets. The table field of the default set must be compatible with the table field of the set variable you are creating.
The default set automatically appears when the system prompts you to enter a variable (for example, when you are executing a Report Writer report). You can use the default set or enter a new set name for the set variable.
Specify which input fields you want to appear on the selection screens in reporting when you execute a report that contains a set variable. You can replace a set variable with either a set or individual values.
If you select
Set and value entry
, the report selection screen contains one input field for a set and input fields for specific values or ranges of values.
If you create a set variable for a field in a Controlling (CO) table, specify whether the set variable can only be replaced with CO groups when you execute a report that contains the set variable.
For example, if you create a set variable for the field Cost element (KSTAR) in table CCSS and select
Only replace with groups
, you can only replace the set variable with cost element groups and no other sets.
Enter an authorization group for the variable, if required
You can use the following additional functions on this screen.
Additional Processing Functions - Create Set Variable: Basic Data Screen
Choose |
To |
|
Enter a SET/GET parameter for the default value of the variable. |
|
Display a directory of variables. |
|
Display a directory of variables that are not used in the system. You can then delete these variables if required. |
|
Export variables to an external file. |
|
Import variables from an external file. |
|
Copy variables from client 000 (or another client) to the client in which you are working. |
|
Include a variable in a Customizing transport request and transport the variable. For more information, see the
|
To save the variable, choose
Variable
→
Save
.