Gantt
You use this UI
element to create
Gantt Charts. You
can display the time schedule of projects and the stages of projects. In
particular you can show sequential and parallel work progress steps in one
project. A Gantt is similar to a bar chart.

You can also use Web icons in Gantt, by specifying the URL using CL_WD_WEB_ICON=>GET_WEB_ICON_URL( ).

The integration of active controls like Gantt in Web Dynpro ABAP popups is not supported.
More information:
JNet –
Introduction for Developers
A standard browser and a Java runtime in the form of the Sun plug-in must be installed on the front end. The Java version should be 1.45. Windows and Linux are supported.
Example of the Visual Display: Gantt in cProjects
|
|

To enable the development of accessible applications, the tooltip property is not checked during the syntax check.
Runtime Class |
CL_WD_GANTT |
Properties in the View Designer
Name |
Type |
Initial Value |
Bindable |
STRING |
(automatic) |
No |
|
STRING |
|
No |
|
STRING |
|
No |
|
STRING |
|
No |
|
STRING |
|
No |
|
WDUI_CONTEXT_MENU_BEHAVIOUR |
inherit |
No |
|
WDY_MD_UI_ELEMENT_REFERENCE |
|
No |
|
XSTRING |
|
Mandatory |
|
WDY_BOOLEAN |
true |
Yes |
|
STRING |
300px |
Yes |
|
WDUI_LOOK_AND_FEEL |
ur |
Yes |
|
Translatable text |
|
Yes |
|
STRING |
|
No |
|
WDUI_VISIBILITY |
visible |
Yes |
|
STRING |
300px |
Yes |
Events in the View Designer
Name |

Other properties that can be inherited are defined in the associated higher-level classes. The associated UI elements are:
For dynamic programming, the same properties, events, and aggregations as in the View Designer are available. Bear in mind the different spellings.
Dynamic Programming of Properties
View Designer Name |
Runtime Name |
Type |
ADDITIONAL_ARCHIVES |
STRING |
|
ARCHIVE |
STRING |
|
CLASS_ID |
STRING |
|
CODE_BASE |
STRING |
|
CONTEXT_MENU_BEHAVIOUR |
WDUI_CONTEXT_MENU_BEHAVIOUR |
|
contextMenuBehaviour: inherit |
CL_WD_GANTT=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT |
|
contextMenuBehaviour: provide |
CL_WD_GANTT=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE |
|
contextMenuBehaviour: suppress |
CL_WD_GANTT=>E_CONTEXT_MENU_BEHAVIOUR-SUPPRESS |
|
CONTEXT_MENU_ID |
WDY_MD_UI_ELEMENT_REFERENCE |
|
DATA_SOURCE |
XSTRING |
|
ENABLED |
WDY_BOOLEAN |
|
HEIGHT |
STRING |
|
LOOK_AND_FEEL |
WDUI_LOOK_AND_FEEL |
|
lookAndFeel: frog |
CL_WD_GANTT=>E_LOOK_AND_FEEL-FROG |
|
lookAndFeel: java |
CL_WD_GANTT=>E_LOOK_AND_FEEL-JAVA |
|
lookAndFeel: ur |
CL_WD_GANTT=>E_LOOK_AND_FEEL-UR |
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
|
TYPE |
STRING |
|
VISIBLE |
WDUI_VISIBILITY |
|
visible: none |
CL_WD_GANTT=>E_VISIBLE-NONE |
|
visible: visible |
CL_WD_GANTT=>E_VISIBLE-VISIBLE |
|
WIDTH |
STRING |
|
Dynamic Programming of Events
View Designer Name |
Runtime Name |
ON_CELLS_SELECTED |
|
ON_CELL_EDITED |
|
ON_COLUMN_ADDED |
|
ON_COLUMN_MOVED |
|
ON_COLUMN_REMOVED |
|
ON_CUSTOM_COMMAND |
|
ON_EDGE_ADDED |
|
ON_EDGE_PROPS_CHANGED |
|
ON_EDGE_REMOVED |
|
ON_EDGE_SELECTED |
|
ON_FRAME_SWITCHED |
|
ON_GENERIC |
|
ON_GRAPH_ADDED |
|
ON_GRAPH_REMOVED |
|
ON_INITIALIZED |
|
ON_LAYOUT_CHANGED |
|
ON_LINK_ADDED |
|
ON_LINK_CHANGED |
|
ON_LINK_REMOVED |
|
ON_MODEL_ADDED |
|
ON_MODEL_DIRTY |
|
ON_MODEL_EXTRACTED |
|
ON_MODEL_SAVED |
|
ON_NODE_ADDED |
|
ON_NODE_DBL_CLK |
|
ON_NODE_PROPS_CHANGED |
|
ON_NODE_REMOVED |
|
ON_NODE_SELECTED |
|
ON_RECTANGLE_SELECTED |
|
ON_ROW_ADDED |
|
ON_ROW_COLLAPSED |
|
ON_ROW_EXPANDED |
|
ON_ROW_MOVED |
|
ON_ROW_REMOVED |
|
ON_ROW_SELECTED |
|
ON_SELECTION_CHANGED |
|
ON_TRACE_LEVEL_CHANGED |
Some properties of the Gantt UI element are set using a method handler, and not in the properties of the UI element. You can access WDDOMODIFYVIEW on the method handler (IF_WD_GANTT_METHODS).
1. Declare a reference to IF_WD_GANTT_METHODS in the Attribute section of your view.
2. Assign the reference in WDDOMODIFYVIEW.
3. Call the method.
You can find an example in the system in component WDR_TEST_EVENTS in the GANTT view
You can find an example of this UI element in the system in component WDR_TEST_EVENTS in the GANTT view, and in the component WDR_GANTT_TEST.