Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Gantt chart function with OO object

Former Member
0 Likes
2,136

Hello,

I have to create a planningsoverview. So I digged around and found some example code for the function module "GRAPH_GANTT ". This chart gives a pop-up window for the planningsoverview.

Now I have found something about the OO class "CL_GRAPH_CHART". With this object I must be able to create a custom object on my screen with for example an ALV grid. Does some one have some example code or a manual for me so I could see how to use this Object?

Kind regards,

Richard Meijn

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,323

It's still all Function modules.

Check these:

Common functions:

GRAPH_GANTT

GRAPH_GANTT_COLOR_SET

Demo programs:

GRGANT_1 Demo Program: Gantt Chart

GRGANT_2 Demo Program: Gantt Chart / 2

GRGANT_3

GRGANT_C

BCGRGA01 Test Report Graphic GANT01

BCGRGA02 Test Report Graphic GANT02

6 REPLIES 6
Read only

Former Member
0 Likes
1,324

It's still all Function modules.

Check these:

Common functions:

GRAPH_GANTT

GRAPH_GANTT_COLOR_SET

Demo programs:

GRGANT_1 Demo Program: Gantt Chart

GRGANT_2 Demo Program: Gantt Chart / 2

GRGANT_3

GRGANT_C

BCGRGA01 Test Report Graphic GANT01

BCGRGA02 Test Report Graphic GANT02

Read only

Former Member
0 Likes
1,323

Ytamar,

All these demo program's shows the functionality about the function "GRAPH_GANTT". This function popups the grantt chart. The question I had was about the OO function "CL_GRAPH_CHART". So far I know this OO object could be shown on a screen like a OO ALV report on a screen.

So where could find some information about this object?

Kind regards,

Richard Meijn

Read only

0 Likes
1,323

Hi,

the only thing i´ve found about this class is that it belongs to package

SBSPEXT_GRAPHICS (BSP Extensions for SAP Graphics).

Go to se80 and have a look at this package to check if there´s something useful for you.

Best regards.

Read only

Former Member
0 Likes
1,323

Hello,

When I start se80 with the BSP "SBSPEXT_GRAPHICS" I don't see the OO class "CL_GRAPH_CHART". But may be it gives some information how to bind this class to a sreen object?

I will also look to the package "SBSPEXT_GRAPHICS". May be I could install this on my SAP 4.7x110 system.

Kind regards,

Richard

Read only

kai_gutenkunst
Product and Topic Expert
Product and Topic Expert
0 Likes
1,323

Hi,

simple Gantt charts can also be implemented using the chart engine (cl_gui_chart_engine / cl_igs_chart_engine).

For a rough overview download the SAP Chart Designer from SDN and have a look at the Gantt chapter in the pdf.

Regards, Kai

Read only

dhruvjaihind
Explorer
0 Likes
1,323

Here is an example code ..this logic was used by me for ps module..

please change it for personal use.

thanks for the reply in case this helps.

example-ps-module.txt