Choosing Node Attributes

Select Options ® Display Attributes. Two sub-options are available:

  • Select Next

Use this sub-option when you just want to activate the next display attribute in the list. You get the same result by pressing the key combination <Ctrl-V>.

  • Select One

This sub-option calls up the Display Attributes menu. This menu lets you activate a display attribute (for coloring hierarchy nodes) and a node-ordering method.

The options available are described below.

Activating Attributes

This option allows you to activate the display attributes. These are the attributes according to which hierarchy nodes are colored. Each node takes on a different color, depending on what numerical value the node has for the active display attribute.

For example, if the nodes in the hierarchy represent employees, and three display attributes, Salary, Years of Employment, and Plant, have been defined, then each node (employee) has three numerical values: one for salary, one for length of employment, and one for the plant number where the employee works.

If you activate the Salary attribute, hierarchy nodes take on colors depending on each employee's salary. If you activate Years of Employment, the nodes are colored according to seniority. Activating the Plant attribute colors the nodes according to plant number.

To activate one of the display attributes, you can:

  • Click on the desired attribute name in the Display Attributes menu.
  • Press the key combination <CTRL-V> at the keyboard. This key combination activates the next display attribute in the list. You can press this combination repeatedly to cycle through all the display attributes defined.

Changing the Order of Child Nodes

This option lets you adjust the order in which child nodes are shown under the parent. A child node is a node hanging one level below another and connected to it by a line. This other node is the parent.

If a parent node has more than one child, the children can be shown listed in different orders. You have two options:

  • Standard order

By default, the Standard order option displays child nodes in the order they occur in the input file.

However, the ABAP program you used to start SAP Hierarchy can reset the Standard order to a different ordering. An ABAP program can specify that a given Display Attribute Order (see the next option below) be used as the Standard order.

In this case, when you select Standard Order, child nodes are ordered (and colored) according to the specified display attribute, even if that attribute is not active.

  • Display-attribute order

The child nodes appear in order of numerical size. (The child with the smallest numerical value appears leftmost.)

The numerical value used depends on the display attribute currently active.