Show TOC

 UI Element BusinessGraphics (chartType gantt)Locate this document in the navigation structure

The UI element BusinessGraphics is an element that links the Web Dynpro Framework with the Internet Graphics Service (IGS). In the development environment, once you have bound the UI element and its subelements to relevant context attributes, an XML file is generated at runtime from this data and passed to the Internet Graphics Service. This creates the graphic you want to subsequently display in the Web Dynpro application.

Unlike the Gantt UI element, this implementation of a Gantt chart has very restricted interaction possibilities. For instance, you can trigger various click events, but you cannot change anything in the chart.

Prerequisites

The UI elements in the BusinessGraphics group use the Chart Engine of the Internet Graphics Service Framework (IGS).). This framework is automatically installed with each AS ABAP. The Chart Designer control is used to create charts. It is also a standard component of the SAP GUI.

Procedure

To use a UI element BusinessGraphics as a Gantt chart, you have to make the following settings:

  1. Once you have embedded the UI element BusinessGraphics into your view, set the property chartType to gantt.
  2. In the UI element hierarchy, the subelements below have to be inserted for the element of type BusinessGraphics:
    1. At least one Category element, and in parallel
    2. At least one Series element. An element of type Point is created automatically beneath the series element. You can create any number of value elements below the point element. These are either of type NumericValue or of type TimeValue .

The terms series and point are explained in more detail in the documentation for the Internet Graphics Service. In a Gantt chart a series is always a horizontal column, which for instance represents the length of time of a specific project task. Usually several horizontal bars are displayed one above the other. Categories, on the other hand, are used to divide up the time axis. Standard categories are months or years, or maybe different project phases.