Sending Email with Attachments from SAP

pts.
Tags:
ABAP
We need to send an email from SAP with attachments. We found the function module SO_DOCUMENT_SEND_API1. We can make it work with just email sending but we are having problems in making it work with the attachment. Does anyone have an idea how to use it or any other alternative to sending an email with attachments? THanks!

Answer Wiki

Thanks. We'll let you know when a new response is added.

Try this function module SO_NEW_DOCUMENT_ATT_SEND_API1. In this u can send multiple attachments also.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Jill64
    Depending on which version of SAP you are using. On 4.7 I found that SO_DOCUMENT_SEND_API1 works but you must set the parameter COMMIT_WORK = X and don't set the document size. On version 4.5 for example you can use the functional module SO_NEW_DOCUMENT_SEND_API1 as suggested in the other response.
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following