Entering content frame

Procedure documentation Restricting Characteristics: Hierarchies Locate the document in its SAP Library structure

Use

In the Query Designer, you can restrict characteristics by hierarchy or hierarchy node, on a fixed or variable basis.

Choose from the following options:

     Fixed hierarchy node – fixed hierarchy

Example

Report on department A (fixed hierarchy node) for the hierarchy valid for 2005 (fixed hierarchy)

     Variable hierarchy node – fixed hierarchy

Example

Report on chosen department (variable hierarchy node) for the hierarchy valid for 2005 (fixed hierarchy)

     Fixed hierarchy node – variable hierarchy

Example

Report on department A (fixed hierarchy node) for the hierarchy valid for the current calendar year (variable hierarchy).

     Variable hierarchy node – variable hierarchy

Example

Report on a chosen department (variable hierarchy node) for the hierarchy valid for the current calendar year (variable hierarchy).

Prerequisites

You use this function if hierarchies exist for the characteristic that you want to restrict.

For more information about hierarchies, see Structure linkHierarchies.

Procedure

Fixed Hierarchy – Select Fixed Hierarchy Node

...

...

       1.      Choose Show  ® Single Values.

       2.      Choose the required hierarchy under Hierarchy.

       3.      Navigate to the required hierarchy node in the hierarchy tree.

       4.      Select the required hierarchy node and copy it to the right Selection window using the right arrow.

Fixed Hierarchy – Select Variable Hierarchy Node

...

...

       1.      Choose Show  ® Variables.

       2.      For the selection of the variable hierarchy node, choose Hierarchy Node Variable in the upper area under Type.

       3.      From the list of available hierarchy node variables, choose the required variable and select it.

       4.      In the lower area, under Hierarchy, choose This graphic is explained in the accompanying text. The Select Hierarchy dialog box appears.

       5.      Select a fixed hierarchy (see Selecting Hierarchies).

       6.      Add the selection to the right Selection window using the right arrow.

Variable Hierarchy – Select Fixed Hierarchy Node

...

...

       1.      Choose Show  ® Single Value.

       2.      For the selection of the fixed hierarchy node, choose the required hierarchy in the upper area under Hierarchy.

       3.      Navigate to the required hierarchy node in the hierarchy tree and select it.

       4.      In the lower area, under Hierarchy, choose This graphic is explained in the accompanying text. The Select Hierarchy dialog box appears.

       5.      Select a variable hierarchy (see Selecting Hierarchies).

       6.      Add the selection to the right Selection window using the right arrow.

Variable hierarchy – Select Variable Hierarchy Node

...

       1.      Choose Show  ® Variables.

       2.      For the selection of the variable hierarchy node, choose Hierarchy Node Variable in the upper area under Type.

       3.      From the list of available hierarchy node variables, choose the required variable and select it.

       4.      In the lower area, under Hierarchy, choose This graphic is explained in the accompanying text. The Select Hierarchy dialog box appears.

       5.      Select a variable hierarchy (see Selecting Hierarchies).

       6.      Add the selection to the right Selection window using the right arrow.

...

...

Result

You have restricted a characteristic according to a node within a hierarchy. Choose OK. This takes you back to the Query Designer. Save your entries and execute the query.

Note

If you have restricted a characteristic to a variable hierarchy and/or a hierarchy node, before the query is executed a dialog box appears for you to enter variable values manually (provided that the variable is flagged as Ready for Input). Enter the required values and choose OK. The query can now be executed, with the values you have selected to fill the variable.

 

 

Leaving content frame