Hi,
Please help me how to send a mail in HTML format with logo and specified format. Is it possible to send the SAPscript or Smartform in HTML format to external mail address. The logo and the format is very important in this e-mail.
quick response will help me better.
Regards,
Naidu
Hai Naidu
Go through the following Links
In your ALV program after the alv output is build in the program do the following steps.
1). Export the list to memory
2). Import the list from mempry
3). Do a COmpress of the data
4). Send an email as an attachment using the normal FM.
Take a look at the following links which will explain how to do the above steps.
http://www.geocities.com/mpioud/Z_EMAIL_ABAP_REPORT.html
http://www.thespot4sap.com/Articles/SAP_Mail_SO_Object_Send.asp
http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
remember to change the doc type as 'HTM' in the FM to send email
what you could do is , replace all @xx@ with the url for the same from the BSP mime repository
(url pattern will be
http://applicationserver.domain.com:port/sap/public/bsp/sap/public/bc/icons/ )
but this would pose another issue, when the user opens the mail this would require authentication info for logging on to sap and get the MIME
Regards
Sreeni
Add a comment