To create a hierarchy node variable

  1. Go to Start of the navigation pathStart Next navigation step Programs Next navigation step Business Explorer Next navigation step Query DesignerEnd of the navigation path.
  2. Click Open Query.
  3. Select the query you created in the last tutorial.
  4. In the Rows area, right-click Material and click Restrict.

    The Selection for [Dimension] dialog box appears.

  5. Ensure that the Selection field is set to Single Values, and that the Hierarchy field is set to the hierarchy you created for this dimension.

    In this example, the hierarchy is Material class.

  6. Click the Variable tab.
  7. Right-click in the white space and click New Variable.

    The SAP BW Variables Wizard opens.

  8. Click Next on the Introduction window.
  9. Ensure that the Type of Variable field says Hierarchy Node.
  10. Fill in the rest of the fields as follows:
    • In the Variable Name field, type a name such as HNV01.

    • In the Variable Description field, type a name such as Test Hierarchy Node Variable.

    • In the Processing by field, ensure it says User Entry/Default Value.

    • In the Characteristic field, ensure it says Material.

  11. Click Next.

    The Details window appears.

  12. On the Variable Entry is list click Optional or Mandatory.
  13. Click Next to accept the other default values.

    The Default Values window appears.

  14. Click Next to accept the default values.
  15. Click Finish to create the variable.

    You are returned to the Selection for Dimension dialog box. Your new hierarchy node variable is visible in the variable list.