Configuring SAP NetWeaver to Send Email Externally – SAP Connect _ SAP Experts_Consulting &...

download Configuring SAP NetWeaver to Send Email Externally – SAP Connect _ SAP Experts_Consulting & Integration - DataXstream

of 12

Transcript of Configuring SAP NetWeaver to Send Email Externally – SAP Connect _ SAP Experts_Consulting &...

  • 8/9/2019 Configuring SAP NetWeaver to Send Email Externally SAP Connect _ SAP Experts_Consulting & Integration - DataX

    1/12

    27/01/2015 Configuring SAP NetWeaver to send Email Externally SAP Connect | SAP Experts:Consulting & Integration - DataXstream

    http://www.dataxstream.com/2009/09/configuring-sap-connect/ 1/12

    Search this website SEARCH

    Tweet 4

    You are here: Home/ Blog/ Configuring SAP NetWeaver to send Email Externally SAP Connect

    Configuring SAP NetWeaver to send Email Externally SAP Connect

    SEPTEMBER 3, 2009 BY TIM YATES 13 COMMENTS

    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.

    Some basic requirements and points:

    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.

    High level outline of process:

    SMTP Server Details

    Configuring SAP Connect INT Node

    Configuring Routes For SAP Con nect INT NodeConfiguring SAP Connect Default Domain

    Scheduling Send Process

    Setting Up Your User ID with and External Email Address

    Testing Your Configuration

    Monitoring SAP Connect

    SMTP Server Details

    Lets start with the most important piece of the puzzle. If you dont 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 protectedthey only allow trusted servers

    / authenticated users to use them. You will most likely need to contact your email systems

    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

    Want to receive periodic e-mail

    updates and industry news from

    DataXstream?

    Enter your e-mail here...

    Sign Up Now

    H ome Ab ou t U s SAP Se rvi ce s SAP In te gra ti on SAP So lu ti on s R eso urce s C on su lta nts Bl og C on ta ct U s

    http://www.dataxstream.com/http://www.dataxstream.com/category/sap-consultants-blog/http://www.dataxstream.com/http://www.dataxstream.com/about/http://www.dataxstream.com/sap-services/http://www.dataxstream.com/sap-integration-consulting-services-solutions/http://www.dataxstream.com/sap-integration-consulting-services-solutions/quick-connect-for-sap-business-network/http://www.dataxstream.com/http://www.dataxstream.com/http://www.dataxstream.com/http://www.dataxstream.com/sap-integration-consulting-services-solutions/http://www.dataxstream.com/category/sap-consultants-blog/http://www.dataxstream.com/about/http://www.dataxstream.com/http://twitter.com/sharehttp://www.dataxstream.com/sap-services/http://www.dataxstream.com/sap_webinars/http://www.dataxstream.com/http://www.dataxstream.com/author/tyates/http://www.dataxstream.com/http://www.dataxstream.com/contact-us/correspondence/http://www.dataxstream.com/category/sap-consultants-blog/http://www.dataxstream.com/sap-integration-consulting-services-solutions/quick-connect-for-sap-business-network/
  • 8/9/2019 Configuring SAP NetWeaver to Send Email Externally SAP Connect _ SAP Experts_Consulting & Integration - DataX

    2/12

    27/01/2015 Configuring SAP NetWeaver to send Email Externally SAP Connect | SAP Experts:Consulting & Integration - DataXstream

    http://www.dataxstream.com/2009/09/configuring-sap-connect/ 2/12

    spammersboth intentional and unintentional.

    Configuring SAP Connect INT Node

    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.

    When you execute SCOT you should see a similar screen.

    You will need to select the INT entry, and from the View menu, select Node.

    Select the INT entry again and click the create paper on the tool bar.

  • 8/9/2019 Configuring SAP NetWeaver to Send Email Externally SAP Connect _ SAP Experts_Consulting & Integration - DataX

    3/12

    27/01/2015 Configuring SAP NetWeaver to send Email Externally SAP Connect | SAP Experts:Consulting & Integration - DataXstream

    http://www.dataxstream.com/2009/09/configuring-sap-connect/ 3/12

    1. Fill out the Description field as desired.

    2. Set the Node in use flag.

    3. Fill out the Mail Host (Host Name or IP Address) Host Name is recommended.4. Fill out the Mail Port (Default 25)

    5. The default Code Page will work for many implementations.

    6. Next, click the SET button next to Internet in the Supported add ress types

    The following screen should appear:

    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 sys tems so your testing

    does not generate emails to external business partners.

    After you click the green check your sc reen will look as follows.

  • 8/9/2019 Configuring SAP NetWeaver to Send Email Externally SAP Connect _ SAP Experts_Consulting & Integration - DataX

    4/12

    27/01/2015 Configuring SAP NetWeaver to send Email Externally SAP Connect | SAP Experts:Consulting & Integration - DataXstream

    http://www.dataxstream.com/2009/09/configuring-sap-connect/ 4/12

    Configuring SAP Connect Default Domain

    Now you need to configure a default domain for the server. From the settings menu select Default

    Domain.

    Add your company domain name.

    Scheduling Send Process

    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.

    On the menu bar click the execute button .

    The following screen will pop up.

    Now click the the create button pulldown , and select Schedule Job for INT.

  • 8/9/2019 Configuring SAP NetWeaver to Send Email Externally SAP Connect _ SAP Experts_Consulting & Integration - DataX

    5/12

    27/01/2015 Configuring SAP NetWeaver to send Email Externally SAP Connect | SAP Experts:Consulting & Integration - DataXstream

    http://www.dataxstream.com/2009/09/configuring-sap-connect/ 5/12

    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.

    It will default address type to INT Internet Mail Address.

    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.

    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).

  • 8/9/2019 Configuring SAP NetWeaver to Send Email Externally SAP Connect _ SAP Experts_Consulting & Integration - DataX

    6/12

    27/01/2015 Configuring SAP NetWeaver to send Email Externally SAP Connect | SAP Experts:Consulting & Integration - DataXstream

    http://www.dataxstream.com/2009/09/configuring-sap-connect/ 6/12

    To adjust the period select

    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).

  • 8/9/2019 Configuring SAP NetWeaver to Send Email Externally SAP Connect _ SAP Experts_Consulting & Integration - DataX

    7/12

    27/01/2015 Configuring SAP NetWeaver to send Email Externally SAP Connect | SAP Experts:Consulting & Integration - DataXstream

    http://www.dataxstream.com/2009/09/configuring-sap-connect/ 7/12

    Hit save one more time and it should return you to this screen.

    You can review and make changes to your job with the SAP transaction SM36.

    Setting Up Your User ID with and External Email Address

    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.

    Testing Your Configuration

    You can test your configuration using the SAP Business Workplace. The SAP Transaction to

    access your mailbox is SBWP.

    Click the New Message Button .

    Create a test message.

  • 8/9/2019 Configuring SAP NetWeaver to Send Email Externally SAP Connect _ SAP Experts_Consulting & Integration - DataX

    8/12

    27/01/2015 Configuring SAP NetWeaver to send Email Externally SAP Connect | SAP Experts:Consulting & Integration - DataXstream

    http://www.dataxstream.com/2009/09/configuring-sap-connect/ 8/12

    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.

    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

  • 8/9/2019 Configuring SAP NetWeaver to Send Email Externally SAP Connect _ SAP Experts_Consulting & Integration - DataX

    9/12

    27/01/2015 Configuring SAP NetWeaver to send Email Externally SAP Connect | SAP Experts:Consulting & Integration - DataXstream

    http://www.dataxstream.com/2009/09/configuring-sap-connect/ 9/12

    Tweet 4

    should see your test email.

    Monitoring SAP Connect

    To monitor you can use the SAP transaction SOST.

    Here you will see all outbound messages and their current send status. You can also process the

    messages from the menu.

    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

    About Tim Yates

    Tim is the Co-Founder and CEO of Da taXstream, LLC, a U.S. headqu artered, multi-million

    dollar SAP consulting firm that specializes in delivering solutions for SAP Retail, Virtualization,

    Project Management, Integration and Infrastructure Technology, an d SAP-related Third Party

    Product Development.

    Tim is also on e of DataXstream's senior SAP consultants, specializing in SAP Project Management and Systems

    Architecture. Tim ha s over 15 years SAP system desig n, de velop ment, con figurati on, a rchitecture, and proje ct

    management experience. He has a broad range of hands on experience in SAP with the ability to do the

    detailed technical, functional work, lead a team, or program.

    Tim has had significant exposure to multiple industry verticles, working on successful SAP projects for

    companies such as Lu mber Liquida tors, Siemens Automotive, Lumber Liquid ators, PSS World Medical, ICW,

    United Launch Alliance, Mercury Marine, SAP America, Eli Lilly & Company, and Verizon.

    Comments

    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 somethin g o ver my co nfigu ration.

    Venkat,

    Maysays:

    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

    http://www.dataxstream.com/tag/basisnetweaver/http://twitter.com/sharehttp://www.dataxstream.com/tag/sap/http://www.dataxstream.com/tag/tim-yates/http://www.dataxstream.com/2009/09/configuring-sap-connect/comment-page-1/#comment-816http://www.eagleaspen.com/http://www.dataxstream.com/tag/timothy-yates/http://www.dataxstream.com/2009/09/configuring-sap-connect/comment-page-1/#comment-466http://www.dataxstream.com/tag/sap-connect/http://www.dataxstream.com/category/sap-consultants-blog/http://www.dataxstream.com/category/sap-consultants-blog/sap-technical/http://www.dataxstream.com/tag/basis/http://www.dataxstream.com/tag/netweaver/http://www.dataxstream.com/tag/net-connector/http://www.dataxstream.com/tag/sap-email/http://www.dataxstream.com/category/sap-consultants-blog/sap-technical/sap-basis-blog/
  • 8/9/2019 Configuring SAP NetWeaver to Send Email Externally SAP Connect _ SAP Experts_Consulting & Integration - DataX

    10/12

    27/01/2015 Configuring SAP NetWeaver to send Email Externally SAP Connect | SAP Experts:Consulting & Integration - DataXstream

    http://www.dataxstream.com/2009/09/configuring-sap-connect/ 10/12

    Tim Yatessays:

    November 4, 2009 at 8:32 pm

    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 woul d 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 i nternal 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?

    Tim

    Andre Villela says:

    November 14, 2009 at 5:06 pm

    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!

    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

    midosays:

    April 30, 2010 at 7:38 am

    Hello,

    How about configurations to do on OS level?

    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 cant find the OS configuration side.

    Thank you for your help.

    Peter Akanimoh says:

    January 16, 2012 at 6:08 am

    Pls I was trying to set up Afaria and didnt really understand how to. I realized I ended up connecting

    to SAP and its modifying my iPad set up. I need to know all about SAP and how to use it well otherwise, I would

    use help to disconnect from it. Any help?

    manzoor s ays:

    May 7, 2012 at 3:20 pm

    Hi,

    I configured SAP Net weaver to send Email Externally successfully but here we are using default domain setting,

    how to send Email from SAP to a any domain.

    eg : to gmail, yahoo, any domain irrespective of one.

    Thanks

    levi says:

    May 27, 2012 at 6:58 am

    Hi All,

    Im using SAP Net Weaver, How to setup in SAP to send external mail (yahoo,gmail,etc?)

    http://www.dataxstream.com/2009/09/configuring-sap-connect/comment-page-1/#comment-2079http://www.dataxstream.com/2009/09/configuring-sap-connect/comment-page-1/#comment-873http://www.dataxstream.com/2009/09/configuring-sap-connect/comment-page-1/#comment-2069http://www.dataxstream.com/http://www.dataxstream.com/2009/09/configuring-sap-connect/comment-page-1/#comment-1002http://www.dataxstream.com/2009/09/configuring-sap-connect/comment-page-1/#comment-1986http://none/http://www.dataxstream.com/2009/09/configuring-sap-connect/comment-page-1/#comment-1028http://www.dataxstream.com/2009/09/configuring-sap-connect/comment-page-1/#comment-818
  • 8/9/2019 Configuring SAP NetWeaver to Send Email Externally SAP Connect _ SAP Experts_Consulting & Integration - DataX

    11/12

    27/01/2015 Configuring SAP NetWeaver to send Email Externally SAP Connect | SAP Experts:Consulting & Integration - DataXstream

    http://www.dataxstream.com/2009/09/configuring-sap-connect/ 11/12

    Thanks All

    tanya says:

    June 14, 2012 at 9:18 pm

    Hi Levi, you can but you need to add the address in SCOT under that smtp node for internet. eg:

    [email protected]. I would suggest you dont put *@yahoo.com etc as this could be a breach of your

    security rules etc.

    Sujith J says:

    October 15, 2012 at 7:42 am

    Hi Tim/All

    I am trying to define emails to external users though a centralised no-reply email address. So I have have only

    been able to send emails only via an individuals email address and not though a predefined group email

    account. Hope you understand this. Please see below example.

    My address [email protected]

    Rec address [email protected]

    Email to be sent [email protected]

    Thanks in advance

    Sujith

    zvika niv says:

    April 15, 2013 at 5:06 am

    Dear Tim

    I would like to send email to two different email adress (fix)

    after sending email to vendor (following end of release strategy)

    1. Can i use SOST transaction (i applied the option to send email to different address)?

    2.Is there another way to resend mails to different addresses?

    Rgrds

    zvika Niv

    SAP logistics consultantNilit Ltd

    Steinhuser says :

    August 27, 2013 at 10:43 am

    Status in SCOT:

    When i set the option Sap Connect does not expect receipt confirm

    then the status change to green (when the email is send > fine!

    -> but then the sender get no email receive notification that the email is arrived/read ?? Before he got an

    email, but the status did not changed.

    GruTon

    Speak Your Mind

    Name *

    Email *

    Website

    mailto:[email protected]://www.dataxstream.com/2009/09/configuring-sap-connect/comment-page-1/#comment-2089http://www.dataxstream.com/2009/09/configuring-sap-connect/comment-page-1/#comment-7431http://www.dataxstream.com/2009/09/configuring-sap-connect/comment-page-1/#comment-2399mailto:[email protected]:[email protected]://www.dataxstream.com/2009/09/configuring-sap-connect/comment-page-1/#comment-7746mailto:[email protected]
  • 8/9/2019 Configuring SAP NetWeaver to Send Email Externally SAP Connect _ SAP Experts_Consulting & Integration - DataX

    12/12

    27/01/2015 Configuring SAP NetWeaver to send Email Externally SAP Connect | SAP Experts:Consulting & Integration - DataXstream

    Privacy & Terms

    POST COMMENT

    1998-2015 DATAXSTREAM, LLC

    loading

    Type the text

    http://www.twitter.com/dataxstreamhttp://www.google.com/intl/en/policies/https://www.youtube.com/channel/UCr2fbJYheT9pYyAMQWHTIMwhttp://www.facebook.com/dataxstreamhttp://www.linkedin.com/company/135289?trk=tyah