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

PIE CHART

Former Member
0 Likes
530

can we draw the pie chart by using abap? plz reply

2 REPLIES 2
Read only

Former Member
0 Likes
493

Hi

Yes You can.

Reward if help.

ya

it is possible there is afunction module 'GRAPH_3D'

you need to pass a internal table a graph will be displayed there are many option by using them a chart can be made

Read only

matthias_gemmel
Advisor
Advisor
0 Likes
493

Hi,

do not use this old function module but the chart engine. Refer to report GRAPHICS_IGS_CE_TEST which shows an example of how to use the chart engine. Adding behind

l_default = p_ixml_doc->create_simple_element(
            name = 'Defaults' parent = l_globalsettings ).

the statements

l_element = p_ixml_doc->create_simple_element(
            name = 'ChartType' parent = l_default ).
l_element->if_ixml_node~set_value( 'Pie' ).

will set the chart type to Pie. To get an overview of all possible chart customizing settings download the SAP Chart Designer from SDN - Downloads - Tools - for Application Server - SAP Chart Designer.

Regards

Matthias