‎2005 Aug 23 5:07 PM
Hello Everyone,
I am using SO_DOCUMENT_SEND_API1 for sending mail.
It works well with text attachment.
Whereas with excel attachment:
The fn module for sending mail SO_DOCUMENT_SEND_API1 gives return code zero.
The excel attachment mail can be seen in transaction SOST. But its process fails stating that it cannot be converted.
(Message : Message cannot be processed as it cannot be converted)
Can anyone suggest me what might be wrong ??
‎2005 Aug 25 4:10 AM
Hi,
Check this link
http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
Hope this helps.
‎2005 Aug 25 3:04 AM
Hello;
I had exactly the same problem until these two blogs rescued me!
/people/thomas.jung3/blog/2004/09/07/sending-e-mail-from-abap--version-46d-and-lower--api-interface
/people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
Cheers,
John
‎2005 Aug 25 4:10 AM
Hi,
Check this link
http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
Hope this helps.
‎2005 Aug 25 4:14 AM
Hi
Please refer these sample progs to send an xcel attachment via mail...
http://www.sapdevelopment.co.uk/reporting/email/attach_xlsmod.htm
http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
http://www.sapgenie.com/abap/code/abap31.htm
Regards,
Anjali
‎2005 Oct 27 11:39 AM
I have tried using the logic mentioned above, however I end up with the following error and the email in my SAP outbox. Would be grateful if any one could help asap.
SX_OUTGOING_VERSION_BUILD G No suitable conversion found for XLS
SX_GENERATE_NDR G Message cannot be processed as it cannot be converted
when i display workflow trace.
Thanks in advance.
‎2007 Aug 29 8:50 AM
You have to change the send node for internet mail (transaction Scot). Under supported address types click the button Set for Internet and change Supported formats to All formats.