Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Excel attachment with SO_DOCUMENT_SEND_API1

Former Member
0 Kudos

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 ??

1 ACCEPTED SOLUTION
5 REPLIES 5

Former Member
0 Kudos

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

Former Member

Former Member
0 Kudos

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.

0 Kudos

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.