Professional Documents
Culture Documents
com/2009/09/configuring-sap-connect/
Home
About Us »
News »
SAP Solutions & Services »
SAP Consulting Services »
Case Studies »
Consultants Blog »
Contact Us »
You are here: Home / Blog / Configuring SAP NetWeaver to send Email Externally – SAP Connect
SAP Connect has been around for quite sometime. I am sure there are plenty of documented procedures on setting it up. I recently had to configure it. I have
not done this in a long time, so I figured I would capture the setup as well as point out some things to watch for.
SAP Connect can be configured for a number of different message relaying purposes. This blog post will only cover sending E-mail from SAP externally.
SAP Connect configuration is client dependent. It has to be configured in each client where you want to use it.
SAP Connect requires an external SMTP server to send emails.
SAP Connect needs to be authorized to use the SMTP server to send emails.
You need to have applications configured in SAP that send external emails.
1 di 21 24/02/2011 15.39
Configuring SAP NetWeaver to send Email Externally – SAP Connect | SAP Experts: VMware Virtuali... http://www.dataxstream.com/2009/09/configuring-sap-connect/
Let’s start with the most important piece of the puzzle. If you don’t get this part right, your configuration will not work. You need an external SMTP server to
relay your outbound email messages. Most companies running SAP will have at least one SMTP server. It is also possible you might have several to choose
from. So, you need to identify the appropriate SMTP server.
You will need to know the SMTP server Host Name as well as the Port. The default Port for SMTP is 25, but your administrator has the option to change this.
Make sure you confirm the correct port number.
Identifying your SMTP server is the first piece of the puzzle. The next piece is to request permission to use it. Most corporate SMTP servers are
protected–they only allow trusted servers / authenticated users to use them. You will most likely need to contact your email system’s administrator to request
authorization for your SAP servers. If you will be using SAP Connect in your Development, Test, and Production environments, it is a good idea to request all
of them at once. NOTE: If you physically move your SAP server to new hardware in the future or change your servers IP address this authorization will
most likely break.
The reason your corporate SMTP server is typically protected is to avoid internal / corporate spammers–both intentional and unintentional.
Now that we have an SMTP server to talk to, we need to configure SAP Connect. The transaction in SAP is SCOT. Remember, SAP Connect is client
dependent so you will need to repeat this procedure in all clients that require the ability to send email externally.
2 di 21 24/02/2011 15.39
Configuring SAP NetWeaver to send Email Externally – SAP Connect | SAP Experts: VMware Virtuali... http://www.dataxstream.com/2009/09/configuring-sap-connect/
You will need to select the INT entry, and from the “View” menu, select “Node”.
3 di 21 24/02/2011 15.39
Configuring SAP NetWeaver to send Email Externally – SAP Connect | SAP Experts: VMware Virtuali... http://www.dataxstream.com/2009/09/configuring-sap-connect/
Select the INT entry again and click the create paper on the tool bar.
4 di 21 24/02/2011 15.39
Configuring SAP NetWeaver to send Email Externally – SAP Connect | SAP Experts: VMware Virtuali... http://www.dataxstream.com/2009/09/configuring-sap-connect/
5 di 21 24/02/2011 15.39
Configuring SAP NetWeaver to send Email Externally – SAP Connect | SAP Experts: VMware Virtuali... http://www.dataxstream.com/2009/09/configuring-sap-connect/
Here we configure allowed routes for external emails. In this example we have configured a “*” which will allow any email address domain to be routed. It is
also possible to only allow specific routes, like dataxstream.com or sap.com.
If your system manages HR data or patient data, it is a good idea to check with your compliance office to ensure external email policies are being adhered to
in productive systems.
Additionally, you may also want to restrict certain routes in Test and Dev systems so your testing does not generate emails to external business partners.
After you click the green check your screen will look as follows.
6 di 21 24/02/2011 15.39
Configuring SAP NetWeaver to send Email Externally – SAP Connect | SAP Experts: VMware Virtuali... http://www.dataxstream.com/2009/09/configuring-sap-connect/
Now you need to configure a default domain for the server. From the settings menu select Default Domain.
7 di 21 24/02/2011 15.39
Configuring SAP NetWeaver to send Email Externally – SAP Connect | SAP Experts: VMware Virtuali... http://www.dataxstream.com/2009/09/configuring-sap-connect/
Messages are not relayed synchronously. They are relayed asynchronously via a scheduled background job. You must schedule this job for your messages to
be relayed.
Now click the the create button pulldown , and select “Schedule Job for INT”.
8 di 21 24/02/2011 15.39
Configuring SAP NetWeaver to send Email Externally – SAP Connect | SAP Experts: VMware Virtuali... http://www.dataxstream.com/2009/09/configuring-sap-connect/
Name your job. Remember, SAP Connect is client dependent so if you are in a multi client development or test system it is a good idea to include the client
number in the name.
If you have a high volume of messages you will want to up the number of work processes as well as consider using a server group if you have them
configured.
You will want to schedule with job with a system ID or background ID. In this case we are using BATCH-ID.
9 di 21 24/02/2011 15.39
Configuring SAP NetWeaver to send Email Externally – SAP Connect | SAP Experts: VMware Virtuali... http://www.dataxstream.com/2009/09/configuring-sap-connect/
Click Continue.
The following screen allows you to customize the setup of the background job. I have schedule this job to run every ten minutes on the two minute of the
hour (e.g. xx:02, xx:12, xx:22, xx:32, xx:42, xx:52).
10 di 21 24/02/2011 15.39
Configuring SAP NetWeaver to send Email Externally – SAP Connect | SAP Experts: VMware Virtuali... http://www.dataxstream.com/2009/09/configuring-sap-connect/
11 di 21 24/02/2011 15.39
Configuring SAP NetWeaver to send Email Externally – SAP Connect | SAP Experts: VMware Virtuali... http://www.dataxstream.com/2009/09/configuring-sap-connect/
In this case we are picking a period more frequent than Hourly so select
Fill in the period that meets your requirement. Hit save (you will need to do this several times to get to the next screen).
Hit save one more time and it should return you to this screen.
12 di 21 24/02/2011 15.39
Configuring SAP NetWeaver to send Email Externally – SAP Connect | SAP Experts: VMware Virtuali... http://www.dataxstream.com/2009/09/configuring-sap-connect/
You can review and make changes to your job with the SAP transaction SM36.
If you want SAP users to receive email notifications from SAP applications, you will need to make sure that their email address is correctly maintained on
their user account in SAP Transaction SU01.
Please confirm that E-Mail is maintained for users in the Communication Section.
13 di 21 24/02/2011 15.39
Configuring SAP NetWeaver to send Email Externally – SAP Connect | SAP Experts: VMware Virtuali... http://www.dataxstream.com/2009/09/configuring-sap-connect/
You can test your configuration using the SAP Business Workplace. The SAP Transaction to access your mailbox is SBWP.
14 di 21 24/02/2011 15.39
Configuring SAP NetWeaver to send Email Externally – SAP Connect | SAP Experts: VMware Virtuali... http://www.dataxstream.com/2009/09/configuring-sap-connect/
To test, you need to select an external email address for the Recipient. Make sure the domain is allowed in the route you setup in the prior step. In this
example, any external email address should work.
You can review the status of your message by viewing your outbox.
15 di 21 24/02/2011 15.39
Configuring SAP NetWeaver to send Email Externally – SAP Connect | SAP Experts: VMware Virtuali... http://www.dataxstream.com/2009/09/configuring-sap-connect/
Your message will be sent at the next execution of the mail-send job we just configured.
You can check the status to the send job with SAP transaction SM36.
Once the send program has executed, check the email inbox for the message recipient. You should see your test email.
Here you will see all outbound messages and their current send status. You can also process the messages from the menu.
16 di 21 24/02/2011 15.39
Configuring SAP NetWeaver to send Email Externally – SAP Connect | SAP Experts: VMware Virtuali... http://www.dataxstream.com/2009/09/configuring-sap-connect/
Share
Filed Under: Blog, SAP Basis Blog, SAP Technical Tagged With: .Net Connector, Basis, Basis/Netweaver, NetWeaver, SAP, SAP Connect, SAP Email, Tim
Yates, Timothy Yates
Comments
17 di 21 24/02/2011 15.39
Configuring SAP NetWeaver to send Email Externally – SAP Connect | SAP Experts: VMware Virtuali... http://www.dataxstream.com/2009/09/configuring-sap-connect/
1. Venkat says:
October 5, 2009 at 6:57 am
Hi,
I was trying to trigger mail from one of my development clients to an external system. While Doing so i am getting X_ERROR ie database error.
But i was able to trigger the same mail in another development client.
Am i missing something over my configuration.
Venkat,
2. May says:
November 4, 2009 at 4:54 pm
Hi,
We have followed your document to setup in system. It seemed that we could send the internal address fine.
However, we could not send the external email address. We checked the setting with your document. We could not find out the problem.
Please advise where is missing or need to maintain to allow send R/3 email to external email address.
Thanks
May,
The first place I would look is with your route configuration. Did you use a wild card * for your route? The route is one of the first few steps that I
describe. If yes then I would contact the admin team in charge of your SMTP server. See if they are blocking you on the STMP server from sending
externally. It should be one of those two issues. You are getting internal emails so that confirms that most of your configuration is correct.
What are you seeing in SOST for the message that is not being sent correctly?
18 di 21 24/02/2011 15.39
Configuring SAP NetWeaver to send Email Externally – SAP Connect | SAP Experts: VMware Virtuali... http://www.dataxstream.com/2009/09/configuring-sap-connect/
Tim
Hi,
I need to send an email with the results of a Costing Run background processing. Usually I do not schedule it using sm36, but ck40n itself.
Is it possible?
Thanks!
5. Hami says:
March 19, 2010 at 6:11 am
Hi,
Is there a way to get back the responce of the mail “out of office”?
thenks in advance
6. mido says:
April 30, 2010 at 7:38 am
Hello,
My system run on windows OS, will i need sendmail and exchange in windows domaine to get complet configuration successfull?
I already followed the Note 455140 but can’t find the OS configuration side.
19 di 21 24/02/2011 15.39
Configuring SAP NetWeaver to send Email Externally – SAP Connect | SAP Experts: VMware Virtuali... http://www.dataxstream.com/2009/09/configuring-sap-connect/
Name *
Email *
Website
Latest Tweets
attending #IT2011 Conference March 15-18? Dataxstream will be there #Virtualization #SAPSolMan #SAP.NCo 3.0 http://bit.ly/gjN2gM about 6 days
ago
attending IT 2011 Conference March 15-18? Dataxstream will be there #Virtualization #SAPSolMan #SAP.NCo 3.0 http://bit.ly/gjN2gM about 6 days ago
Immediate need for an SAP MM Lead Functional Consultant http://tinyurl.com/4tt8zl3 about 29 days ago
Follow us on Twitter!
Related Material
20 di 21 24/02/2011 15.39
Configuring SAP NetWeaver to send Email Externally – SAP Connect | SAP Experts: VMware Virtuali... http://www.dataxstream.com/2009/09/configuring-sap-connect/
Meta
Register
Log in
Entries RSS
Comments RSS
Related Entries
loading
21 di 21 24/02/2011 15.39