‎2008 Jun 20 2:59 PM
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
‎2008 Jun 20 9:24 PM
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
‎2008 Jun 20 9:24 PM
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
‎2008 Jun 23 9:04 AM
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
‎2008 Jun 23 9:15 AM
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.
‎2008 Jun 23 10:01 AM
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
‎2008 Jun 24 3:16 PM
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
‎2020 Dec 02 11:59 AM
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.