Quantcast
Channel: SCN : Blog List - ABAP Development
Viewing all articles
Browse latest Browse all 943

The case of sending mail with graphs .

$
0
0

Hi,

 

Recently there was a question about sending a chart by mail from pavan kumar Mallipeddi

 

CL_GUI_CHART_ENGINE Graph As Email in Background

 

Using a hint from Jānis B 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.....)

 

screenshot_01.png

 

 

 

 

screenshot_02.png

 

screenshot_03.png

screenshot_04.png


Viewing all articles
Browse latest Browse all 943

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>