Tree Structures
Functions and Control ElementsPushbuttonsThe function for displaying and hiding the entire tree area appear in the far left of the application toolbar. Pushbuttons that contain functions for a tree (such as expand all) usually appear on the left in the application toolbar. All the other functions appear adjacently to the right. An exception to this rule is the ALV tree, since it has its own toolbar for the functions within the tree. The pushbutton for displaying/hiding the entire tree remains on the left in the application toolbar, since this function would otherwise disappear when the area is hidden. This button should not contain any icons, but instead the labels "<Show area>" and "<Hide area>" (short: "<Area> on" and "<Area> off"). The text must then be changed dynamically so that it always describes the current function of the pushbutton. If the tree cannot be re-sized with a docking control or splitter control, you can add additional pushbuttons to successively increase or decrease the size of the area. In this case, the area containing the tree is increased or decreased in size by a fixed amount each time one of the buttons is pressed. These buttons always appear in the application toolbar, right next to the functions for displaying and hiding the area. Navigation with the MouseThe mouse is the primary navigation tool within a tree. In general, all navigation (expanding/collapsing trees) and object selection should be performed with the mouse. The following table supplies an overview of the recommended mouse actions.
Table 1: Mouse Navigation in Trees
Source: SAP R/3 Style Guide |