Many companies use Office 365. This package also includes Microsoft Exchange to send emails. The following tutorial explains how to configure the e-mail outbox in SAP to establish an SMTP connection from SAP to Microsoft 365. As a result, you can then send emails directly from SAP.
[av_heading heading=’Steps to configure the e-mail output in SAP‘ tag=’h3′ style=” size=” subheading_active=” subheading_size=’15’ padding=’10’ color=” custom_font=” av_uid=’av-72jy77s’][/av_heading]
Step 1) Check the network connection from SAP to Office 365
- Ping the server smtp.office365.com from the SAP server
Step 2) Set the ICM parameter in the instance profile
- Transaction RZ10
- Selection of the instance profile. The instance profile has the system ID and / or the name of the server in the name
- Select “Maintain extended”
[av_image src=’http://solidforms.de/solid_wp_2014/wp-content/uploads/2018/12/SAP-Office-365-1.png’ attachment=’17017′ attachment_size=’full’ align=’center’ styling=” hover=” link=” target=” caption=” font_size=” appearance=” overlay_opacity=’0.4′ overlay_color=’#000000′ overlay_text_color=’#ffffff’ animation=’no-animation’ admin_preview_bg=” av_uid=’av-6lh1pmw’][/av_image]
- Maintain an entry for the parameter icm / server_port_1
- Then enter the following parameter value:
- PROT = SMTP, PORT = 0, TIMEOUT = 120 PROCTIMEOUT = 120, TLS = 1
[av_image src=’http://solidforms.de/solid_wp_2014/wp-content/uploads/2018/12/SAP-Office-365-3.png’ attachment=’17019′ attachment_size=’full’ align=’center’ styling=” hover=” link=” target=” caption=” font_size=” appearance=” overlay_opacity=’0.4′ overlay_color=’#000000′ overlay_text_color=’#ffffff’ animation=’no-animation’ admin_preview_bg=” av_uid=’av-6cxu1hk’][/av_image]
- Then activate the profile.
Step 3) Reboot the ICM Services
- Transaction SMICM
- Restart the ICM services
[av_image src=’http://solidforms.de/solid_wp_2014/wp-content/uploads/2018/12/SAP-Office-365-2.png’ attachment=’17018′ attachment_size=’full’ align=’center’ styling=” hover=” link=” target=” caption=” font_size=” appearance=” overlay_opacity=’0.4′ overlay_color=’#000000′ overlay_text_color=’#ffffff’ animation=’no-animation’ admin_preview_bg=” av_uid=’av-k6s7bc’][/av_image]
- Then check in the parameters whether the parameters set in the RZ10 have also arrived.
[av_image src=’http://solidforms.de/solid_wp_2014/wp-content/uploads/2018/12/SAP-Office-365-4.png’ attachment=’17020′ attachment_size=’full’ align=’center’ styling=” hover=” link=” target=” caption=” font_size=” appearance=” overlay_opacity=’0.4′ overlay_color=’#000000′ overlay_text_color=’#ffffff’ animation=’no-animation’ admin_preview_bg=” av_uid=’av-5e5tlgo’][/av_image]
- The parameter must now appear.
[av_image src=’http://solidforms.de/solid_wp_2014/wp-content/uploads/2018/12/SAP-Office-365-5.png’ attachment=’17021′ attachment_size=’full’ align=’center’ styling=” hover=” link=” target=” caption=” font_size=” appearance=” overlay_opacity=’0.4′ overlay_color=’#000000′ overlay_text_color=’#ffffff’ animation=’no-animation’ admin_preview_bg=” av_uid=’av-4xci6q0′][/av_image]
- If the parameter for icm / server_port_1 has not been updated by restarting the ICM services, you can do the following:
- a) Hard stop of ICM services, then reboot
[av_image src=’http://solidforms.de/solid_wp_2014/wp-content/uploads/2018/12/SAP-Office-365-6.png’ attachment=’17021′ attachment_size=’full’ align=’center’ styling=” hover=” link=” target=” caption=” font_size=” appearance=” overlay_opacity=’0.4′ overlay_color=’#000000′ overlay_text_color=’#ffffff’ animation=’no-animation’ admin_preview_bg=” av_uid=’av-4esqemg’][/av_image]
- b) Shut down and restart the SAP application server
Step 4) Enable the SAP SMTP service
- Transaktion SICF
[av_image src=’http://solidforms.de/solid_wp_2014/wp-content/uploads/2018/12/SAP-Office-365-8.png’ attachment=’17024′ attachment_size=’full’ align=’center’ styling=” hover=” link=” target=” caption=” font_size=” appearance=” overlay_opacity=’0.4′ overlay_color=’#000000′ overlay_text_color=’#ffffff’ animation=’no-animation’ admin_preview_bg=” av_uid=’av-3u8dvvs’][/av_image]
[av_image src=’http://solidforms.de/solid_wp_2014/wp-content/uploads/2018/12/SAP-Office-365-9.png’ attachment=’17025′ attachment_size=’full’ align=’center’ styling=” hover=” link=” target=” caption=” font_size=” appearance=” overlay_opacity=’0.4′ overlay_color=’#000000′ overlay_text_color=’#ffffff’ animation=’no-animation’ admin_preview_bg=” av_uid=’av-3h9sh3c’][/av_image]
Step 5) Configure the SMTP connection to Office 365 / MS Exchange
- Transaction SCOT
- Enter Mailhost (smtp.office365.com) and Port (587)
[av_image src=’http://solidforms.de/solid_wp_2014/wp-content/uploads/2018/12/SAP-Office-365-10.png’ attachment=’17026′ attachment_size=’full’ align=’center’ styling=” hover=” link=” target=” caption=” font_size=” appearance=” overlay_opacity=’0.4′ overlay_color=’#000000′ overlay_text_color=’#ffffff’ animation=’no-animation’ admin_preview_bg=” av_uid=’av-35761hk’][/av_image]
- Go to “Settings” and enter TLS and ANONYM
- Enter the user and password that you use to log in to Office 365 or the Exchange server.
[av_image src=’http://solidforms.de/solid_wp_2014/wp-content/uploads/2018/12/SAP-Office-365-11.png’ attachment=’17027′ attachment_size=’full’ align=’center’ styling=” hover=” link=” target=” caption=” font_size=” appearance=” overlay_opacity=’0.4′ overlay_color=’#000000′ overlay_text_color=’#ffffff’ animation=’no-animation’ admin_preview_bg=” av_uid=’av-2iqy3s8′][/av_image]
- Set the address range to “*” for the Internet connections.
[av_image src=’http://solidforms.de/solid_wp_2014/wp-content/uploads/2018/12/SAP-Office-365-12.png’ attachment=’17029′ attachment_size=’full’ align=’center’ styling=” hover=” link=” target=” caption=” font_size=” appearance=” overlay_opacity=’0.4′ overlay_color=’#000000′ overlay_text_color=’#ffffff’ animation=’no-animation’ admin_preview_bg=” av_uid=’av-6uo93c’][/av_image]
- The default domain is usually the domain from Office 365.
[av_image src=’http://solidforms.de/solid_wp_2014/wp-content/uploads/2018/12/SAP-Office-365-13.png’ attachment=’17030′ attachment_size=’full’ align=’center’ styling=” hover=” link=” target=” caption=” font_size=” appearance=” overlay_opacity=’0.4′ overlay_color=’#000000′ overlay_text_color=’#ffffff’ animation=’no-animation’ admin_preview_bg=” av_uid=’av-1mygjm0′][/av_image]
[av_image src=’http://solidforms.de/solid_wp_2014/wp-content/uploads/2018/12/SAP-Office-365-14.png’ attachment=’17031′ attachment_size=’full’ align=’center’ styling=” hover=” link=” target=” caption=” font_size=” appearance=” overlay_opacity=’0.4′ overlay_color=’#000000′ overlay_text_color=’#ffffff’ animation=’no-animation’ admin_preview_bg=” av_uid=’av-13x6mbs’][/av_image]
Step 6) Schedule a send job
- Transaction SCOT
[av_image src=’http://solidforms.de/solid_wp_2014/wp-content/uploads/2018/12/SAP-Office-365-15.png’ attachment=’17032′ attachment_size=’full’ align=’center’ styling=” hover=” link=” target=” caption=” font_size=” appearance=” overlay_opacity=’0.4′ overlay_color=’#000000′ overlay_text_color=’#ffffff’ animation=’no-animation’ admin_preview_bg=” av_uid=’av-22wp2g’][/av_image]
Schritt 7) Testing the mail send process
- Transaction SBWP
- Write a mail to a recipient from the Office 365 domain.
- In transaction SOST, the dispatch can be triggered and the status checked.
- If the email arrives successfully at the receiver, one chooses now an email receiver from any domain. If an error occurs here, the authorization must be checked in the Office 365 / MS Exchange.
Further informations
