‎2006 Jul 25 6:50 PM
Hi all,
I have to send a message, formatted as HTML, including an image to a users inbox. I am familiar with sending messages to e-mail / SAP inbox. However, I am not too sure how to include an image. I came across a few related forums and I referred to example reports BCS_EXAMPLE_* and RSSOHTMLGIF. The problem lies with including the image - in all the examples, the image is uploaded directly form the front-end at run-time using GUI_UPLOAD and if I understand correctly, the image is converted to binary data and then added as an attachment to the message.
The image should not be uploaded from the users PC but should reside on the server.
Im planning to upload the image using transaction SE78.
My question: how do I convert this image now to binary form or is it already stored in binary form? If so, how do I identify the image? Is there a particular function module / method to use for this purpose? Is it all possible?
Your suggestions will be much appreciated.
Regards
Liza-Marie
‎2006 Jul 29 11:48 AM
if you choose to store the image using SE78, you can then use the following method to get it in binary format at runtime.
CL_SSF_XSF_UTILITIES=>GET_BDS_GRAPHIC_AS_BMP
Regards
Raja