To create a BW query with a hierarchy

  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.

    If you have not created a query, see Building a report off a BW query.

  4. In the Rows area, right-click Material and click Properties.

    The Characteristic Properties dialog box appears.

  5. Next to the Hierarchy Name field, click the Values button.

    The Select Hierarchy dialog box appears.

  6. In the Available Hierarchies list, select Material class and click OK.

    You are returned to the Characteristic Properties dialog box.

  7. Click OK and then click Save Query As... to save your query to the appropriate location.

    For this example, in the Description field, type Simple Hierarchy for MDX, and in the Technical Name field, type HIERARCHY_SIMPLE_MDX.

  8. Click Quit and Use Query.

You now have a simple query with three possible levels of hierarchy. You can display the query in either the SAP Business Explorer Analyzer or as a dataset in Crystal Reports.