You use variables to define queries to have flexibility. You include variables in your query that will be filled with values when you execute the query. Typically this is in the form of a pop-up where the user chooses a filter value that is applied to the result. But there are many different types of variables that perform various actions.
Variables as Placeholders Instead of Defining Fixed Values
Here are the five types of variable that you can define in a query:
Characteristic values
Texts
Formula elements
Hierarchies
Hierarchy nodes
Reusable objects
Variables are reusable objects and can be reused in multiple queries. If you change the settings of a variable, it affects all queries where it is used.
Variables do not belong to InfoProviders, but to the Characteristic InfoObjects for which they were created. Variables are available in all InfoProviders in which the Characteristic InfoObjects are included.
Formula variables and text variables do not belong to Characteristic InfoObjects and are available in all InfoProviders.