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: 

sending mails from sap to receiver

Former Member
0 Kudos

Hi,

could someone give simple sample of code which will send mails from sap to receiver.

How to collect data from tables to be send?

I have three field with data: task, notes, price, how to make that data will be in mail for example in this way:

task: ............ &task&.

notes: ......... &notes&.

___________________________

price: ......&price&.

Regards,

Joanna.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

U can use the FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' for sending the list to a mail id configured to outlook

Have a look at the links below. will get detailed information;

SEND EMAIL FROM SAP

/people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface

Check these link..

Cofiguration:

/people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface

Sample Code:

http://www.sap-img.com/abap/sending-email-with-attachment.htm

Reward points if this Helps

1 REPLY 1

Former Member
0 Kudos

U can use the FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' for sending the list to a mail id configured to outlook

Have a look at the links below. will get detailed information;

SEND EMAIL FROM SAP

/people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface

Check these link..

Cofiguration:

/people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface

Sample Code:

http://www.sap-img.com/abap/sending-email-with-attachment.htm

Reward points if this Helps