SAP Gantt Chart generates a planning board on which scheduling information is displayed. The online user can browse the planning-board in a variety of formats, or modify it to re-schedule events.

You can call SAP Gantt Chart from an ABAP program, and generate a planning board at the user's workstation terminal. Your program provides scheduling information and calls one of the SAP Gantt Chart function modules:


NOTE: GANTT_DIAGRAMM is an older function module that should not be used for new developments.

The SAP Gantt Chart planning board looks as shown in the following figure.

Programming Interactive Applications

If your ABAP program allows the online user to open multiple windows or enter data with the mouse or keyboard, the application is interactive.

You are provided with two mechanisms for controlling the interaction between ABAP program and online user:

  • Dialog programming in Releases prior to 2.1

Using graphics function modules with dialog parameters STAT, M_TYP, PWDID, SUPER, WINID and RWNID)

  • Current dialog programming

Using graphics function modules with dialog parameters STAT, PWDID, SUPER, and WINID)

plus utility function modules :

    • GRAPH_RECEIVE (with dialog parameters ACTIVATE_RAISE, ERRORCODE, MCODE, and RWNID)
    • GET_xxxx_PARAM

For new programs, you should use only the second mechanism, graphics function modules with the utility function modules.

Do not use both mechanisms together in a program.

For more information, see the section Programming Interactive Applications.

You can also change the standard graphics display and define additional graphics functions for interactive users using GRAPH_SET_CUA_STATUS or GRAPH_GANTT. This means when you call up SAP Gantt Chart, it appears with changed or extra menu names or pushbuttons.

For more information, see the section Changing the Standard Graphics Display. To define additional functions, call the appropriate function module before you call an SAP Gantt Chart function module.

If your ABAP program calls GRAPH_ACTION, it must also use the CUA_ID and G_TYP parameters (when calling GRAPH_GANTT) in order to learn when the user has selected these additional functions.