cancel
Showing results for 
Search instead for 
Did you mean: 

Sending e-mail to Non-SAP users

Former Member
0 Kudos

hi everbody,

          How can i send external e-mail to Non-SAP users from ABAP ?

          NOTE:

          I tried to use function module ( SO_OBJECT_SEND ) but it does not work with me.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Adel,

Check out these blogs for alert Config

/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated

/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step

/people/bjrn.buchholz/blog/2009/06/23/using-the-alert-management-alm-within-sap-nw-pi

/people/srinivasurao.sandaka/blog/2009/05/23/central-alert-management-for-pi

/people/pravesh.sharma/blog/2009/07/02/configuration-for-forwarding-alerts-as-emails

The last blog deals with sending alerts as e-mails to Non SAP users.

Also you can refer to

Kind Regrads,

Swet Bhushan

TMNielsen
Contributor
0 Kudos

Hello Adel

I find this issue difficult and it will depend on what version of SAP you have and maybe also what operating system your server is on.

Before the Web Application Server I think you have to buy some middle-ware to connect from SAP to MTA (mail transfer agent). This middle-ware can as example send the external mails via the mail system in Lotus Notes. I don't know much about these solutions.

With the Web Application Server SAP introduced a new tool called the SMTP plug-in. This plug-in should be able to talk to any "SMTPable" MTA. I have tried it successfully with the linux MTA Qmail.

I can't remember how I made the setup - I belive there was an almost complete standard setup from SAP. The setup involves profile parameters and a very central point is the transaction SCOT.

When your set up is working and allows you to send external mail from the internal R/3 mail system - than you should also be able to send external mails from an ABAP program in a way similar to sending internal mails.

I hope this will help you in the right direction.

Best regards

Thomas Madsen Nielsen

athavanraja
Active Contributor
0 Kudos

Hi,

Yes, it is possible to send external email from SAP. You need to use SAP connect. Try transaction SCOT, from there you can do a simple test also. Sap connect needs to be configured.

Regards

Raja

Former Member
0 Kudos

Just in case, if your version is less than 3.x you'll have to use transaction SCON & SCOA  Creating the program is a walk in the park, you can also use SO_NEW_DOCUMENT_SEND_API1 to handle the send to SAPconnect queue, don't forget to create the job that clears your SAPconnect queue.

Kind Regards

Michael

Former Member
0 Kudos

The SO*API stuff is out of date.  SAP current technology for email is BCS.  There are marvelous example programs, including external email send, to be found in demonstration programs named BCS*.  You will find BCS easier to utilize in your programs.

Recommendations to use those old APIs in installations utilizing NetWeaver 7.0 or better should be disregarded, IMHO.