Designing Lists
General Design Guidelines for ListsClean Up First, Then Use Colors!You cannot improve poorly structured lists by merely using colors. Try to come up with a clear list structure in the black/white display before you add any colors. ArrangementYou can enhance legibility by:
One-Line vs. Multiple-Line ListsAvoid multiple-line lists and use one-line lists instead. If you use multiple lines, try to align the subordinate physical lines to achieve a good display design. ColorsPre-ConsiderationsThe color palette was developed based on the following considerations:
Using ColorsWhen using colors, keep the following in mind:
The List Color SchemeLogical vs. Physical ColorsThe following logical colors are reserved for particular list components. The color setting defines how logical colors look on a certain platform, that is, by assigning specific physical colors to the ABAP list colors. Table 1 also gives the names of the physical colors as delivered with the standard setting. When coloring lists, you should refer to this setting. However, the users can change each of the listed colors to suit individual preferences. Leave the colors COL_POSITIVE and COL_NEGATIVE green or red, anyway, because they represent threshold values.
Table 1: Color settings By default, INTENSIFIED is switched on. The intensive colors (INTENSIFIED) are more saturated that the normal colors (INTENSIFIED OFF). When defining the physical list colors, a gray or white background (COL_BACKGROUND INTENSIFIED OFF) was assumed. COL_BACKGROUND INTENSIFIED provides blue typeface on the background color to be compatible with the former display in highlighted form. COL_BACKGROUND INTENSIFIED OFF provides black typeface on the background. Using Colors and Lines in ListsWe start with header information and one-line lists. For the other list categories we mention only the differences. Note: You find example lists in the transaction LIBS. Information on how to program lines and colors is included in the ABAP online help on FORMAT and WRITE. Header InformationThe guidelines for the header area apply to all list categories. TitleA title can optionally be issued in the work area (for example, if a report generates several lists). The title is
Object InformationObject information consists of field name, field value and, optionally, an explanatory text. Object information is displayed
Action Performed on ListsAction information is displayed as
One-Line ListsThe two following illustrations show typical one-line lists. Figure 1: One-line list with striped list body Figure 2: One-line list with uniform list body LinesDisplay one-line lists with a frame border. Separate columns and column titles by vertical lines. Separate column titles from the list body by a horizontal line. If there are hierarchical titles, separate these by horizontal lines as well. In addition, you may separate semantic groups of list rows by horizontal lines, if this increases readability of the list. Column HeadingsAlign column headings like the respective data columns, for example: text information is left-aligned, formatted number formats are right-aligned, and column headings of higher levels are centered (compare figure 3). Display column headings in color COL_HEADING INTENSIFIED. If there are hierarchical column titles, display subtitles in color COL_HEADING INTENSIFIED OFF. Figure 3: One-line list with hierarchical column headings List BodyDisplay the list body in color
Display key columns in color
Multiple-Line ListsFor multiple-line lists, the guidelines for one-line lists apply except for the exceptions or modifications described below. Figure 4: Multiple-line list Lines
List BodyDisplay the list body with a stripe pattern from logical rows using the colors COL_NORMAL INTENSIFIED alternating with COL_NORMAL INTENSIFIED OFF (starting with COL_NORMAL INTENSIFIED). In multiple-line lists, no columns are highlighted except for key columns. You can highlight columns, however, if the columns are aligned with each other and if a continuous highlighting is useful with regard to the contents (see figure 4). Hierarchical-Sequential ListsHierarchical-sequential lists are built from "groups" of lists which are introduced by their respective hierarchy information and put into a single frame border. Within this frame, separate groups from each other by horizontal lines. Two cases are distinguished:
The actual data of a hierarchical-sequential list form a one-line or multiple-line list. With few exceptions, the guidelines for these list types apply to the list body. Hint: If you already know beforehand that particular criteria do not vary, you should extract these criteria from the list and place them into the header information or into the hierarchy information. The list becomes more compact this way and the display is clearer. Lines
List Body
Hierarchy InformationAs the hierarchy information creates the vertical global structure of the list - it indicates the beginning of a new group - it is highlighted in a special color. Case 1: Hierarchy Information With Few Criteria and Key FiguresFigure 5: Hierarchical-sequential list with few criteria and key figures The hierarchy information is placed in front of the actual data. This occurs in the same arrangement as on screens. Use the following colors:
Case 2: Hierarchy Information With Many Criteria and Key FiguresFigure 6: Hierarchical-sequential list with many criteria and key figures Headers of the Hierarchy Information: Placed before the header line and structured like the column headings, however, with a separate column structure; there is no separator between them. Color for Headers: COL_GROUP INTENSIFIED. Hierarchy Information: Placed before the actual data; there is no separator between them. Color for data: COL_GROUP INTENSIFIED OFF. Matrix ListsColumn Headings and Row HeadingsDisplay column headings and row headings in color
Exception: A matrix list may result, for example, from grouping together data. In this case, data which used to be a key are now line headings. Here you can use COL_KEY INTENSIFIED for headers and COL_KEY INTENSIFIED OFF for subordinate headers to avoid changing colors. List BodyThe list body is uniformly displayed in color COL_NORMAL INTENSIFIED OFF. Figure 7: Matrix list
Source: SAP R/3 Style Guide |