Hi mate!! You want to know, how to configure mail configuration – SMTP/SCOT in SAP. Don’t worry, Here I explained the step by step procedure as below. Also described the different other available options and usage & other drawbacks. Also provided the guide lines for Gmail host & for other SSL protocol issues.
Prerequisites for SCOT Configuration :
Before start the SCOT configuration, we need to enable protocol through parameter and need to active the Host services in SAP. For that you suppose to follow the below steps…
- Enable the SMTP protocol in SAP system (In which system that you want to configure) through parameter [Tcode-Rz10].
Parameter : icm/server_prot_2 (here, you can use any port, by default)
&
Value like : PROT=SMTP,PORT=0,TIMEOUT=600,PROCTIMEOUT=600 - Now activate the host service by using the transaction code SCIF.
- Then you need to restart the ICM at SAP level by using the t-code SMICM.
Note :
If your server is in distributed landscape or in Cloud rather than Email Host, then you need to map the SAP server public IP and also do the host entry of that IP with global domain name in that mail server. Then only, it will be deliver.
SCOT (SMTP) – Mail Configuration :
- For SAP Mail configuration, we need to configure the “SMTP” node through SCOT.
- First of all login to, which system suppose to you want to configure the Mail like in Development or in Quality or in Production system.
- Then run the transaction code SCOT in the transaction field then you can able to see the screen like as below…
- You can create the SMTP node from here and here two ways you can create it. One is, we can create the node using wizard and second one is without wizard
-
Create Node using wizard :
- Now select the pencil button with “Create Node Using wizard” option.
- Then give the Node name and description.
- then click on continue and you will get the another screen.
- Here you need to provide mail host name and mil port and give security if you want.
- Then click on continue. Then…
- Each node having several address types, So you need to select address type generally we will use “Internet” address type. Then click on continue.
- Specify the address area for which the node is to be responsible. Better to provide as a star. then continue it.
- Specify the output formats into which documents in SAP-internal formats are to be converted as like below screenshot otherwise give what ever you want .
- Then continue for further then it will show conformation screen for address type and in that, you can also provide other address types. Here, RAW text should be TXT, otherwise your output of the body text is appear in different way.
- If you give it as PDF then body txt of inbound mail is appear as pdf file.
- Then, it will ask the Maximum waiting time for repeat send attempt procedure. So, provide what time you want. Then click on continue. That’s it, your node will create successfully.
-
Create Node without wizard :
- By selecting this option, What ever your enter in the above process, you can enter & provide in a single window like as below image.
- Fill the above fields and click on tick mark. That’s it, your node will create.
- By selecting this option, What ever your enter in the above process, you can enter & provide in a single window like as below image.
- Then go to settings in SCOT, like as shown in the below path SCOT –>Business Communication Administration–>Settings–>Outbound Messages–>Settings. Then give the “Default Domain” name like as shown in below screen shot.
- Now, In the same path, select the “Send jobs” option. Then Activate and Scheduled Send job with the same selected address type.
- Now do it, a test mail using the transaction code : SO01 [Business workplace of Admin].
- Then check in session of Send request by using the T-code : SOST.
For Gmail Host :
If you have gmail as a mail host sever for your company, then you must and should follow the below steps. Then only, the configuration will works perfectly.
Prerequisites for Gmail Host :
- Mail Host : smtp.gmail.com
- Mail Port : 587, 465 or 25
- SMTP Authentication details
Here, We need to use the mail host as smtp.gmail.com, which is gmail default service provided by Google. Then we need to configure the ports as 587 for TLS security or 465 for SSL security or also we can use port 25. If you use 25 as mail port, then the mail can only be sent to Gmail/G Suite users and TLS also not required. For this port, aspmx.1.google.com is the host .
Use ‘Default SSL client’ as client identity & set the security authentication details like user name as “[email protected]” and password. Remaining configuration is same.
Note : Even after you configured the above configuration, still the mail can not be delivered some times. Because of the below reason…
- The mail server SSL is not supporting the TLS protocol.
- Here, SAP supports only TLS SSL. Please check with respective team.
Other Related Articles :
- Transaction Codes for SAP Basis Consultant – S4 HANA, ERP, Solution Manager
- SAP Basis Transaction codes & executable programs working status in S/4 Hana 1610 1709
- Some Tricks/shortcuts for SAP consultants, those are makes your work easy
- Commands To manage the SAP ERP/S4 with Hana DB on Linux-suse/redhat servers
- How to get quick updates from SAP SE – S/4 Hana Solman Analytics Whatsapp
Thank you!!
“If you like this Article, hit me with Facebook like button and If you have any doubts, let me know as a comment as below”