Quantcast
Channel: SCN : Document List - ABAP Development
Viewing all articles
Browse latest Browse all 935

The case of "Scalable Vector Graphics in mail attachments"

$
0
0

Recently I saw some requests to send some graphics in mail attachments.

 

I look around and as far as I know (Which is questionable....) I did not found any built in support in SAP

(Please correct me if I am wrong) .

 

The ingredients:

- SVG technology - http://en.wikipedia.org/wiki/Scalable_Vector_Graphics 
- cl_document_bcs - To send mail .

- cl_ixml - To create SVG documents which are ( surprise surprise !!! ) an XML documents .

- Some reading in http://www.w3schools.com .

 

The program included (Y_R_EITAN_TEST_10_05) send a mail message with SVG attachments .

 

SVG give us the capability to create (using code) geometric primitives and use them to compose some very nice stuff..(e.g. http://upload.wikimedia.org/wikipedia/commons/2/28/Beetle.svg)

 

The multi rectangles in "HTML5 inline SVG (2).HTM" is the result of a loop.

 

Tips: There are some open and free open source tools to create SVG files so using those can make life a little bit easier.

 

screenshot_01.png

 

screenshot_01.png

screenshot_03.png

 

screenshot_02.png


Viewing all articles
Browse latest Browse all 935

Trending Articles



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