how to perform mail configuration in sap
TRANSCRIPT
-
7/28/2019 How to Perform Mail Configuration in SAP
1/18
How to perform mail configuration in SAP?
This article answers the following queries:
How to perform mail configuration in SAP? How is the tcode for mail configuration in SAP? What are the steps involved in mail configuration in SAP? What profile parameters to be defined to enable mailconfiguration in SAP?
How to perform SMTP configuration in SAP? How to activate SMTP server host in SAP? How to schedule SAPCONNECT mail send job in SAP?-----------------------------------------------------------
The kernel of the SAP Web Application server supports SMTP (Simple Mail
Transfer Protocol). This protocol enables email exchange between SAP
system and each SMTP mail server, without having to use additional
external components.
The SAP system sends the outbound emails to a separate mail server,
whilst the mails in the inbound direction can be received by any number
of mail servers.
To use the SMTP functionality, below mentioned profile parameters are
to be maintained, in the application servers of SAP using RZ10
transaction.
icm/server/port_ = PROT=, PORT=
In the above line protocol can be any one of SMTP, HTTP or HTTPs. For
web dispatchers, there is an additional protocol named ROUTER
For Example, this parameter may look like one of these below:
icm/server/port_0 = PROT=SMTP, PORT=3
icm/server/port_1 = PROT=HTTP, PORT=1086
icm/server/port_2 = PROT=HTTPS, PORT=1444
Optionally, we can also set TIME_OUT parameter to define maximum
waiting time (in seconds) to be applied for a mail server to respond.
This parameter icm/server/port_, opens a TCP/IP port for receivingmails through the SMTP plugin. describes the port that is to be
-
7/28/2019 How to Perform Mail Configuration in SAP
2/18
used. If no mails are to be received in a given SAP system, then please
maintain the port number as 0.
Please find below screenshot, which gives an idea on how to maintain
this parameter in RZ10 profile of SAP application server
Please make sure RZ10 parameter rdisp/start_icman is set to true asshown below. This setting ensures that ICM(Internet Communicationmanager) is started so that application server can directly processall external protocols like HTTP
http://2.bp.blogspot.com/-kQW6s0RjwZA/UN28OHX834I/AAAAAAAAAjc/2WEwFId8Quc/s1600/capture1.PNG -
7/28/2019 How to Perform Mail Configuration in SAP
3/18
Another profile parameter to be maintained is :is/SMTP/virt_host_ = :,,...;
Example values will look as shown below:
is/SMTP/virt_host_0 = *.25010;
is/SMTP/virt_host_1 = *:25011;
This parameter defines a virtual mail host for receiving mails. If all
incoming mails are to be received and processed by one single client of
the sap system, then this parameter is not required to be set. In this
scenario, is/SMTP/virt_host_0=*.* will be used by default.
If multiple clients are to be used as recipients, a virtual host to be
created for each of these clients. indicates the name of the host to which the incoming mails are
addressed. If mails are to be sent independent of the host being
addressed, * can be entered.
describes the number of the port to which the incoming mails are
addressed.
Please find below screenshot which helps you in understanding how to
set this parameter in sap system
http://1.bp.blogspot.com/-apf8N1ik3-4/UN28cuuZSuI/AAAAAAAAAkc/_M0ttjDAmQk/s1600/Capture2.PNG -
7/28/2019 How to Perform Mail Configuration in SAP
4/18
In the above example, value * is set for both host and port
Creation of Service User
After maintaining these parameters, a service user to be created using
SU01 transaction. S_A.SCON profile need to be assigned to this user.
This service user can be used for processing incoming mails in every
SAP system client
Assigning Email address to Users
After this, every user who is supposed to receive emails in an sap
system should require an email id. This email id should be maintained
in Email section of address tab in SU01 transaction
Activation of SMTP Node in SICF Transaction
Every SAP system that is to receive and process incoming mails must
have a SMTP server. One SMTP server has already been created in SICF
and is delivered by default in every SAP system. Please use this to
create the first client and create another SMTP server for each
additional client.
Goto transaction SICF and provide SAPCONNECT in the Virtual Host field
as shown below and execute
http://3.bp.blogspot.com/-DYsZ25PJhlA/UN28dQe5nsI/AAAAAAAAAkk/q39oH85m-d4/s1600/Capture3.PNG -
7/28/2019 How to Perform Mail Configuration in SAP
5/18
It displays the below screen
http://3.bp.blogspot.com/-HnSWk3EKIB4/UN28fl7eShI/AAAAAAAAAk0/-X6Se3ufEV8/s1600/Capture5.PNGhttp://2.bp.blogspot.com/-bWwE-9aLv7s/UN28eD8cv-I/AAAAAAAAAks/Gvk06tQvU1s/s1600/Capture4.PNGhttp://3.bp.blogspot.com/-HnSWk3EKIB4/UN28fl7eShI/AAAAAAAAAk0/-X6Se3ufEV8/s1600/Capture5.PNGhttp://2.bp.blogspot.com/-bWwE-9aLv7s/UN28eD8cv-I/AAAAAAAAAks/Gvk06tQvU1s/s1600/Capture4.PNG -
7/28/2019 How to Perform Mail Configuration in SAP
6/18
Double click on SAPconnect entry highlighted above which displaysbelow screen
In the above screen, in the host data tab, please maintain the
the sequence number of parameter is/SMTP/virt_host_# from the profile.If you have created only one client, enter 0.
After this navigate to Logon Data tab in the above screen. It
results in below screen
http://4.bp.blogspot.com/-jdgfwD7fIGU/UN28hO9yk5I/AAAAAAAAAk8/QOjbiAZki4U/s1600/Capture6.PNG -
7/28/2019 How to Perform Mail Configuration in SAP
7/18
http://4.bp.blogspot.com/-dBycaCT3qXg/UN28iFvGUFI/AAAAAAAAAlE/VFoaBSAl2Jg/s1600/Capture7.PNG -
7/28/2019 How to Perform Mail Configuration in SAP
8/18
In the above screen, please maintain client, language and user/password
details. The user to be maintained here is nothing but service user
created by you for incoming mails.
After this, navigate to Handler list tab of the above
screen, which will be similar to below screen
-
7/28/2019 How to Perform Mail Configuration in SAP
9/18
Please maintain CL_SMTP_EXT_SAPCONNECT in handler list as shown
in the above screen.
Also, please note that each SMTP server must be activated afterbeing created or changed. To activate, please goto tcode SICF and
navigate as shown below. Please note inactive servers are grayed out
http://2.bp.blogspot.com/-yMesHzZA1I0/UN28iz2RCSI/AAAAAAAAAlM/I3kXsU-Vtd0/s1600/Capture8.PNG -
7/28/2019 How to Perform Mail Configuration in SAP
10/18
http://1.bp.blogspot.com/-ymzCH3IuwDY/UN28j-fTurI/AAAAAAAAAlU/psb1tF-z--U/s1600/Capture9.PNG -
7/28/2019 How to Perform Mail Configuration in SAP
11/18
SAPCONNECT Administration using SCOTWe have to configure SAPconnect settings for every client of sap
system that is used for send process
Domain Configuration:
First of all, domain configuration to be done. To perform that,
please goto SCOT transaction and navigate as shown below ( Settings ->
Default domain)
http://1.bp.blogspot.com/-1p_OQXYyBSg/UN28SxDSKSI/AAAAAAAAAjk/h9L5OtMhuYI/s1600/Capture10.PNG -
7/28/2019 How to Perform Mail Configuration in SAP
12/18
It results in below screen and system prompts you to provide your
organizations domain name. Please provide the same and click on tick
mark to confirm
http://3.bp.blogspot.com/-9zNdKqRzyoQ/UN28UaY3b8I/AAAAAAAAAjs/d3kreUH9FQs/s1600/Capture11.PNG -
7/28/2019 How to Perform Mail Configuration in SAP
13/18
Once you the provide the same, please navigate to SCOT
transaction again and double click on SMTP node which was
highlighted in green below in the below screen
http://4.bp.blogspot.com/-I-sHRvxneT4/UN28Vou94rI/AAAAAAAAAj0/D_Eu20NuUjo/s1600/Capture12.PNG -
7/28/2019 How to Perform Mail Configuration in SAP
14/18
Once you double click on SMTP, it results in below screen
http://3.bp.blogspot.com/-uombplqdUys/UN28XRpVUtI/AAAAAAAAAj8/LASepZfyHmY/s1600/Capture13.PNG -
7/28/2019 How to Perform Mail Configuration in SAP
15/18
In the above screen, please maintain Mail host details. After
that under Supported address types section, click on Set
pushbutton, which is next to Internet. It results in below screen
http://4.bp.blogspot.com/-0hf5teFjAJI/UN28ZexmEyI/AAAAAAAAAkE/QZ0F5t-L0x0/s1600/Capture14.PNG -
7/28/2019 How to Perform Mail Configuration in SAP
16/18
In the above screen, in the address area, which make sure your
organisations domain address details are maintained.
For example: if your company name is XYZ345. It will be like
XYZ345.COMLeave all other default settings unchanged.
Scheduling Email-Send JobThe emails that are sent by SAP are stored in a queue. A periodicalbackground job gets the email from this queue and sends them overthe internet. To schedule this job, goto transaction SCOT andnavigate to menu View -> Jobs as shown in below screen
-
7/28/2019 How to Perform Mail Configuration in SAP
17/18
http://3.bp.blogspot.com/-ctcnvAvWR5Y/UN28a6VIQLI/AAAAAAAAAkM/p8QMRMMvGvQ/s1600/Capture15.PNG -
7/28/2019 How to Perform Mail Configuration in SAP
18/18
It results it screen similar to below.
If no other job is scheduled, choose Job -> Create. Please providejob name and confirm it
Select the variant SAP&CONNECTALL by positioning the cursor on
it. Choose schedule job periodically. Select the desired interval like
every 15mins. Choose create and complete the job schedule.
This completes the mail/SMTP configuration in an SAP system
http://1.bp.blogspot.com/-ziC9CD2GVFk/UN28bjeqpVI/AAAAAAAAAkU/UGs07lT4u1M/s1600/Capture16.PNG