‎2014 Oct 28 12:08 PM
Hi all
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.
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.
I have copied GFW_PROG_PIE, added the gp_inst->if_graphic_proxy~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.
Any idea how I can reproduce the export functionality without the screen element.
Thanks in advance.
‎2014 Oct 28 12:22 PM