configuring sap net weaver to send email externally

Upload: phanid81

Post on 08-Apr-2018

233 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/7/2019 Configuring SAP Net Weaver to send Email Externally

    1/9

    Configuring SAP Net Weaver to send Email Externally SAPConnect

    SAP Connect has been around for quite sometime. I am sure there are plenty ofdocumented procedures on setting it up. I recently had to configure it. I have notdone this in a long time, so I figured I would capture the setup as well as point outsome 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 ineach 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 Connect INT Node Configuring 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 DetailsLets start with the most important piece of the puzzle. If you dont get this partright, your configuration will not work. You need an external SMTP server to relayyour outbound email messages. Most companies running SAP will have at least oneSMTP server. It is also possible you might have several to choose from. So, youneed to identify the appropriate SMTP server.You will need to know the SMTP server Host Name as well as the Port. The defaultPort for SMTP is 25, but your administrator has the option to change this. Makesure you confirm the correct port number.Identifying your SMTP server is the first piece of the puzzle. The next piece is torequest permission to use it. Most corporate SMTP servers are protectedthey onlyallow trusted servers / authenticated users to use them. You will most likely needto contact your email systems administrator to request authorization for your SAPservers. If you will be using SAP Connect in your Development, Test, andProduction environments, it is a good idea to request all of them at once. NOTE: Ifyou physically move your SAP server to new hardware in the future or change yourservers IP address this authorization will most likely break.The reason your corporate SMTP server is typically protected is to avoid internal /corporate spammersboth intentional and unintentional.Configuring SAP Connect INT NodeNow 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 soyou will need to repeat this procedure in all clients that require the ability to sendemail externally.

  • 8/7/2019 Configuring SAP Net Weaver to send Email Externally

    2/9

    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/7/2019 Configuring SAP Net Weaver to send Email Externally

    3/9

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

    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 address types

    The following screen should appear:

    Here we configure allowed routes for external emails. In this example we haveconfigured a * which will allow any email address domain to be routed. It is alsopossible to only allow specific routes, like dataxstream.com or sap.com.

  • 8/7/2019 Configuring SAP Net Weaver to send Email Externally

    4/9

    If your system manages HR data or patient data, it is a good idea to check withyour compliance office to ensure external email policies are being adhered to inproductive systems.Additionally, you may also want to restrict certain routes in Test and Dev systemsso your testing does not generate emails to external business partners.After you click the green check your screen will look as follows.

    Configuring SAP Connect Default Domain

    Now you need to configure a default domain for the server. From the settingsmenu select Default Domain.

    Add your company domain name.

    Scheduling Send ProcessMessages are not relayed synchronously. They are relayed asynchronously via ascheduled background job. You must schedule this job for your messages to berelayed.

    On the menu bar click the execute button .The following screen will pop up.

  • 8/7/2019 Configuring SAP Net Weaver to send Email Externally

    5/9

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

    Name your job. Remember, SAP Connect is client dependent so if you are in a multclient development or test system it is a good idea to include the client number inthe 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 workprocesses 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 casewe are using BATCH-ID.

  • 8/7/2019 Configuring SAP Net Weaver to send Email Externally

    6/9

    Click Continue.

    The following screen allows you to customize the setup of the background job. Ihave schedule this job to run every ten minutes on the two minute of the hour (e.gxx:02, xx:12, xx:22, xx:32, xx:42, xx:52).

    To adjust the period select

    In this case we are picking a period more frequent than Hourly so select

  • 8/7/2019 Configuring SAP Net Weaver to send Email Externally

    7/9

    Fill in the period that meets your requirement. Hit save (you will need to do thisseveral times to get to the next screen).

    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 AddressIf you want SAP users to receive email notifications from SAP applications, you willneed to make sure that their email address is correctly maintained on their useraccount in SAP Transaction SU01.

  • 8/7/2019 Configuring SAP Net Weaver to send Email Externally

    8/9

    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 SAPTransaction to access your mailbox is SBWP.

    Click the New Message Button .Create a test message.

    To test, you need to select an external email address for the Recipient. Make surethe domain is allowed in the route you setup in the prior step. In this example, anyexternal email address should work.You can review the status of your message by viewing your outbox.

  • 8/7/2019 Configuring SAP Net Weaver to send Email Externally

    9/9

    Your message will be sent at the next execution of the mail-send job we justconfigured.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 messagerecipient. You should see your test email.Monitoring SAP ConnectTo monitor you can use the SAP transaction SOST.Here you will see all outbound messages and their current send status. You canalso process the messages from the menu.