Application Development 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: 

Bar Chart Graphics

Former Member
0 Kudos

Hi All,

I have a requirement to draw a bar chart with trend lines showing the current status.

For Example, Available Capacity as Bar Chart Columns &

Required Capacity as Trend lines,

X-Axis --> Time period

Y-Axis --> Capacity(No of People)

I explored CL_GUI_CHART_ENGINE and i'm not able to achieve my requirement.

As a beginner in the SAP Graphics part, I dont know whether is it feasible to draw the above in SAP GUI using ABAP Programming.

It would be great, if i get answers for the following questions,

1. Is it feasible to create these kind of graphs in SAP GUI?

2. What are the Transactions available for Charts in SAP other than GRAL?

3. Demo programs for the charts?

Thanks & Regards,

Arun Prasath Kumar.

3 REPLIES 3

Former Member
0 Kudos

Hi,

It is possible to draw bar charts.There is a function module 'GRAPH_3D'.For this you need to pass an internal table.

U can also create bar charts using transaction code SE73.

see the following link for sample code.

http://membres.multimania.fr/benjaminroger/pg_sap/abap/GRAPH/I_Bar_Chart_Graphics_Without_Dialog.txt

Former Member
0 Kudos

Hi,

Try this link

[http://help.sap.com/saphelp_40b/helpdata/fr/52/670cd2439b11d1896f0000e8322d00/content.htm]

You can find sample SAP reports for graph and graphics

[http://www.erpgenie.com/sap-technical/abap/sample-codes-for-sap-graphs-a-graphics]

Ben.

0 Kudos

Dear Mr. Benson,

Thanks for your reply, We have tried the custom program mentioned by you and also the standard programs for graphics. But we could not find any attribute which can be used to change the Chart type of a series to lines and another series to Columns. If you have tried anything in this direction then please let us know.

Thanks and regards,

kartik

( For Arun Prasat Kumar )