The GANTT_DIAGRAMM Function Module 

GANTT_DIAGRAMM is an older function module that should not be used for new development. Use GRAPH_GANTT instead.
The GANTT_DIAGRAMM function module executes a call to the SAP Gantt Chart graphics program.
The following table contains a list of all possible parameters you can use with this function module.
For a detailed description of parameters and exceptions, see the R/3 system documentation (Tools
® ABAP Workbench, Function library button, or transaction code SE37).Parameters used with GANTT_DIAGRAMM
Name |
Status |
Initial Value |
COLOR |
Import |
SPACE |
MODIF |
Import |
SPACE |
PWDID ** |
Import |
SPACE |
STAT ** |
Import |
SPACE |
SUPER ** |
Import |
SPACE |
TLENGTH |
Import |
SPACE |
TTEXT |
Import |
SPACE |
TTITLE |
Import |
SPACE |
TUNIT |
Import |
SPACE |
WHEADER |
Import |
SPACE |
WIDTH |
Import |
SPACE |
WINID ** |
Import |
SPACE |
M_TYP ** |
Export |
|
RBUFF ** |
Export |
|
RWNID ** |
Export |
|
ELEM |
Internal Table and Export |
|
ITEM |
Internal Table |
Note: ** denotes a dialog parameter.
Of the parameters listed above, only ELEM and ITEM are required.

The function module GANTT_DIAGRAMM differs from other SAP Graphics function modules in that it allows modification of an internal table. This table, ELEM, contains planning board information: information in ELEM is provided by the ABAP program, but can be modified by the online user.