<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Pie chart jpeg in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pie-chart-jpeg/m-p/10639747#M1865254</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking to create a pie chart and save it in order to use it as an output on a Smartform. The creation of the jpeg will be done in the print program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have looked through several examples and I cannot seem to work out a way of doing this without using the GUI classes that require a custom controller and an output screen to produce the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have copied GFW_PROG_PIE, added the gp_inst&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;if_graphic_proxy&lt;SPAN class="L0S70"&gt;~&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;export method. This works fine when the export method is in a PAI module on save. However, if I remove the screen element of the program and the PBO/PAI modules and run the ABAP as a straight piece of code (i.e. without the screen output) the save object is always blank.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how I can reproduce the export functionality without the screen element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Oct 2014 12:08:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-10-28T12:08:45Z</dc:date>
    <item>
      <title>Pie chart jpeg</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pie-chart-jpeg/m-p/10639747#M1865254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking to create a pie chart and save it in order to use it as an output on a Smartform. The creation of the jpeg will be done in the print program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have looked through several examples and I cannot seem to work out a way of doing this without using the GUI classes that require a custom controller and an output screen to produce the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have copied GFW_PROG_PIE, added the gp_inst&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;if_graphic_proxy&lt;SPAN class="L0S70"&gt;~&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;export method. This works fine when the export method is in a PAI module on save. However, if I remove the screen element of the program and the PBO/PAI modules and run the ABAP as a straight piece of code (i.e. without the screen output) the save object is always blank.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how I can reproduce the export functionality without the screen element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 12:08:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pie-chart-jpeg/m-p/10639747#M1865254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-28T12:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart jpeg</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pie-chart-jpeg/m-p/10639748#M1865255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To generate charts in the back ground you can use cl_igs_chart_engine .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See &lt;A __default_attr="111722" __jive_macro_name="blogpost" class="jive_macro jive_macro_blogpost" data-orig-content="The case of sending mail with graphs ." href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is incorporating this in the smart form .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can generate a HTML mail message that will contain the resultant chart and text data .&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;Regards .&lt;BR /&gt; &lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 12:22:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pie-chart-jpeg/m-p/10639748#M1865255</guid>
      <dc:creator>rosenberg_eitan</dc:creator>
      <dc:date>2014-10-28T12:22:25Z</dc:date>
    </item>
  </channel>
</rss>

