Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
rosenberg_eitan
Active Contributor

Hi,

Recently there was a question about sending a chart by mail from pavanm592

CL_GUI_CHART_ENGINE Graph As Email in Background

Using a hint from janis.bielajs I was able to generate a chart and to add it in the body of the message and also as attachment .

Program Y_R_EITAN_TEST_10_06 attached use cl_document_bcs and cl_igs_chart_engine .

cl_igs_chart_engine recieve XML documents as input so cl_ixml used .

In order to display the image in the body of the message cl_gbt_multirelated_service is used this allow the use of <img src="cid:<image name>"> tag .

FORM do_igs_chart is reponsible to return the image as xstring .

The program is also send a smart form as attachment. (A bonus..... :razz: )

2014/08/28 Increase the picture size to 600X800

26 Comments