Anda di halaman 1dari 8

The kernel of the SAP Web Application Server supports SMTP (Simple Mail Transfer Protocol).

This
enables e-mail exchange between the SAP system and each SMTP mail server, without having to
use additional external components. The SAP system sends the outbound e-mails to a separate
mail server, whilst the e-mails in the inbound direction can be received by any number of mail
servers.

Setting the Profile Parameters (Transaction RZ10)

The following profile parameters have to be configured. The placeholder <*> stands for the
sequence number (starting at zero) of frequently occurring parameters.

icm/server_port_<*> = PROT=SMTP,PORT=8025

Parameter icm/server_port_<*> opens a TCP/IP port for receiving mails through the SMTP plug-in.
<port> describes the number of the port that is to be used. The port cannot yet be used by
another program on this host.

is/SMTP/virt_host_<*> = <host>:<port>,<port>,...;
This parameter defines a virtual mail host for receiving mails. If all incoming mails
(including status notifications) are to be received and processed by one single client of the
SAP system, this parameter is not required. In this instance, is/SMTP/virt_host_0 =
*:*; is used by default. If multiple clients are to be used as recipients, a virtual host has to
be created for each of these clients. <host> describes the name of the host to which the
incoming mails are addressed. You can enter * here if the mails are to be sent independently
of the host being addressed. <port> describes the number of the port to which the
incoming mails are addressed.

rdisp/start_icman TRUE
icm/server_port_0 PROT=HTTP,PORT=1080
icm/server_port_1 PROT=HTTPS,PORT=1443
icm/server_port_2 PROT=SMTP,PORT=25000,TIMEOUT=180
icm/server_port_3 PROT=SMTP,PORT=25001,TIMEOUT=180
is/SMTP/virt_host_0 *:25000;
is/SMTP/virt_host_1 *:25001;
icm/host_name_full icadvw02

Validate these parameters with transaction SMICM  Goto  Parameters  Display.

User Administration (Transaction SU01) mailadm

Service user
You have to create a service user for processing incoming mails in every SAP system client
in which you want to receive mails (or status notifications). Call transaction SU01 to create a
user with type Service and assign the profile S_A.SCON to this user.
User addresses
Every user that is to receive e-mails in an SAP system requires an Internet mail address. This is
also used as a sender address. Enter the Internet mail address for a user in transaction SU01,
under E-Mail on the tab page Address.

Last name Mailadm


Address
Email testmail@wazzan.com
Logon data Initial password Xxxxyyy
User type System
S_A.SCON
Profile Profile
S_A.USER

Client Assignment (Transaction SICF)

Each SAP system client in which inbound mails (or status notifications) are to be received and
processed must have an SMTP server. In transaction SICF, there should be one SMTP server
(called SAPconnect) supplied in every SAP system. You use this one for the first client then create
an additional SMTP server for each additional client. You make the following settings on the SMTP
servers:

1. Call transaction SICF.


2. Choose .
3. Specify the name of the virtual host.
4. Select the server type SMTP server.
5. Choose .
6. Make settings in the following areas:
• Host data
Enter the sequence number of a parameter is/SMTP/virt_host_<*> from the profile. If
you have only created one client and therefore have not specified this parameter type, enter
0.

• Service Data
Enter the client to which the mails received through the virtual mail host are to be
forwarded, and then enter the logon data of the system user that you created for the
incoming mails.
• Handler List

Enter CL_SMTP_EXT_SAPCONNECT at position 1.

Note that each SMTP server must be activated (Service/Virt. Host → Activate) after being created or
changed. Inactive servers are grayed out.
SAPconnect Administration (Transaction SCOT)
You must make the SAPconnect settings in each client that is to be used to send
communications.

• Default Domain

Under Settings → Default Domain, you define the domain of this SAP system client. This is
used for the following purposes:

 The SMTP plug-in logs on to the mail server using the domain as ID.
 The message ID of outbound e-mails is compiled with this domain.
 If an SAP user who has no Internet mail address maintained sends an e-
mail, a sender address composed of the SAP user name and this domain
is generated.

• Node

There is always one SMTP node in each client. This node is created by the SAP system
and cannot be deleted. To configure the node for sending Internet mail, you:

i. Ensure you are in the Node view.


ii. Double-click on the node name.
iii. Select Node in use.
iv. Specify the mail server to which outbound mails are to be passed in Mail
Host and Mail Port.
v. Choose Set adjacent to Internet.
vi. Specify the address areas of recipient addresses that are to be reached via
this node. This is usually * if all e-mails are to be sent using SMTP.
vii. Enter output formats for SAP documents. The following settings are
recommended here
Double click Internet
Set the output formats as required.

• Send job
E-mails sent from an SAP application are first stored in a queue. A periodical background
process, the SAPconnect send job, gets the e-mails from this queue and sends them over
the Internet. To schedule this job in SAPconnect: Administration, proceed as follows:
1. Choose View → Jobs.
2. If no other job has been scheduled, choose Job → Create.
3. Enter a job name and confirm it.
4. Select the variant SAP&CONNECTALL by positioning the cursor on it.
5. Choose Schedule Job.
6. Choose Schedule periodically.
7. Select the interval you require, such as 10 minutes.
8. Choose Create.
Thus the background job is scheduled for every 10 minutes.

Mail can be sent from the SAP system to outside world.

Anda mungkin juga menyukai