
The distribution type Precalculate Value Set allows you to fill variables of the type precalculated value sets with values for characteristic values in the background. In addition, the precalculated value sets are available as variable values in BEx queries.
The following cases are typical examples of where precalculated value sets are executed in the background:
The query must contain the characteristic for which the variable is to be the placeholder.
You have created a broadcast setting for the required query and you have chosen the distribution type Precalculate Value Set. The output format is Value Set.
See also:Creating Broadcast Settings
Specifying the Language and User-Specific Settings
On the User/Language tab page, you can specify for the background processing of the broadcast setting which language, authorizations, and user-specific settings are to be used to generate the scheduled document.
See also:Specifying the Language and User-Specific Settings
Defining Value Sets and Selecting Characteristics
On the Precalculation tab page, you can enter the technical name and the description of the value set and choose the characteristic on which the value set is to be based:
with the quick info text Attach Text Variable.If a value set already exists under this technical name, it is overwritten.
If you want the technical name of the value set to be identical to the technical name of the broadcast setting, use the SETTING_ID text variable.
with the quick info text Attach Text Variable.We recommend including the technical name of the broadcast setting (text variable SETTING_ID) in the description to make it easier to find the broadcast setting again later.
See also:Using Text Variables
A value set that has been precalculated in the background is essentially a query with the following properties:
The precalculated value set displays the value of a variable of type Precalculated Value Set from the selected characteristic.
As a result of background processing, you can use the precalculated value set in a characteristic value variable. You create a characteristic value variable in the BEx Query Designer using the variable editor. Under Details,you specify that the variable represents a precalculated value set. The value of this variable is the technical name of the value set specified in the broadcast setting. You enter the technical name on the Default Values tab page. The variable can be input ready and you can select different value sets on the variable screen at query runtime.
You can also manually enter variables of type Precalculated Value Set on the variable screen. To do this, enter the technical name of the value set specified in the broadcast setting.
Note that for technical reasons, you cannot use variables that represent a precalculated value set in restricted key figures or in selection structure elements.
More Information