Using the variable screen, you can fill variables (parameters of a query) with values when the Web application is displayed in the Web browser; you therefore do not have to fill them beforehand. You can assign values to the following variable types on the Variables screen:
A characteristic value variable is the placeholder for a single value, an interval, or a set of selection options.
You can only enter hierarchy nodes as single values.
For more information, see Variables .
You can personalize the values for individual components or for the entire Web application. This means that you assign a specific value to a variable; the variable has this value until you remove the personalization. More information: Personalizing Variables in Web Applications .
Once you have filled the variables as required, you can create a variant for a query. More information: Creating Query Variants .
You can use the Set Variable Values command (SET_VARIABLES_STATE) to set variable values or a variant at the runtime for a Web application or using a URL. For more information, see Set Variable Values or Using Parameters to Call Web Applications .
Prerequisites
At least one of the queries on which the Web application is based must contain variables.
Entering Values for Variables
You can specify the required values for the variables either manually or by using the input help. The input options for the variables depend on the variable type:
Entering Characteristic Value Variables
Manually
Using Input Help
As an alternative to manually entering values directly, you can also select values from the input help. To do this, choose in the input field for the characteristic. More information: Selecting Filter Values .
You can also use the input help to search for values. For more information about searching for values, see Searching for Values .
Your system administrator can restrict the input help according to different criteria by using the Business Add-In (BAdI) RSR_VARIABLE_F4_RESTRICT_BADI (transaction code SE18, enhancement spot RSR_VARIABLE_F4_RESTRICT). Depending on the chosen settings, the BAdl provides you with a restricted number of values.
Entering Variables for Hierarchy Nodes:
If Key, Text and Key, or Key and Text is set as the display type in InfoObject maintenance on the Business Explorer tab page , hierarchy nodes are provided in the input help function by text and key. Otherwise, only hierarchy node texts are displayed.
Display Variable Values