!--a11y-->
Selecting Hierarchies 
You select hierarchies at the following stages in the query definition:
· When you select a variable hierarchy or a fixed hierarchy for a hierarchy node (see also: Restricting Characteristics: Hierarchies)
· When you select a display hierarchy for a characteristic (see also: Properties of the Characteristic)
You use this function if hierarchies exist for the characteristic that you want to restrict.
For more
information about hierarchies, see
Hierarchy.

If you have activated virtual time characteristics in the SAP Reference IMG for time characteristics, you can select virtual hierarchies when selecting hierarchies.
For more
information, see
Activate Virtual Time
Hierarchy.
You are in the Select Hierarchy dialog box. Here you have the following possibilities:
...
...
1. Choose Hierarchy Name under the required fixed hierarchy.
2. Choose OK.
A hierarchy becomes variable if at least one of its elements (name, version, key date) is variable.
...
...
1. Select Hierarchy Variables.
2.
Choose
. The input help for selecting the
variable hierarchy opens.
3. Select the required hierarchy and choose OK.

You can also define a new variable and change or delete an existing one. These functions are always available to the right of the Hierarchy Variable entry.
4. Make the required settings for the version and key date.
5. Choose OK.

Note that it is possible to fill the fields for version and key date, only if the characteristic has version-dependent or time-dependent hierarchies.