06-23-2009 1:25 PM
Hi ,
My requirement was to mail the data in the an internal table as an attachment.
I am using the FM SO_NEW_DOCUMENT_ATT_SEND_API1 to do.
I am converting the data in the internal table into html format using WWW_ITAB_TO_HTML fm.
I am then passing this html data to the SO_NEW_DOCUMENT_ATT_SEND_API1.While doing so i am naming the attached as AAA .XLS.
The same code is present in the unicode and non-unicode systems.
When the user clicks on the mail attachment in non-unicode system, he is able to view the data in the html format in excel sheet.
In the non-unicode system, i observed that the entire HTML code sits in a single cell of the excel attachment.As a result i cannot see the data.
Also the first line of the html code is empty and the second line contains script. It does not contain an
Can someone provide some solution to the problem ?
Thanks,
Avanish Joshi
07-31-2009 8:22 AM
Just for those who face a similar issue, i have used the BCS class to send the email and it works fine.
Check the BCSEXample programs on usage
08-12-2009 1:09 PM
Hi Avanish ,
Thanks a lot for your response . It solved my problem .
We use BCS classes for this type of purposes .
Thanks & Regads
Nikhil