Configuring Email in SAP
As of SAP Web Application Server 6.10, the SAP system's kernel supports SMTP (Simple Mail Transfer Protocol) directly, meaning that e-mails can be exchanged between the SAP system and any SMTP-compliant mail server without the need for any additional external components. In the outbound direction, the SAP system passes the mails to a single mail server, whereas in the inbound direction mails can be received from any number of mail servers.
As of SAP Web Application Server 6.20, faxes and text messages (pager/SMS) can also be exchanged via SMTP. For this purpose, the faxes and messages are packed into e-mails. For sending, the mail server refers to the domain of their recipients' addresses and forwards the e-mails either to an internal fax/text message server (for example SMS=+919820654321@sms-server.company.com), or to an external provider (for example FAX=+18006756543@fax-provider.com). For receiving, the fax/text message server or provider sends e-mails to addresses with the SAP system's domain (for example FAX=+18009873456@crm-prod.company.com).
Plese ensure:
The mail servers involved must be SMTP-compliant.
If you want to use text messaging in the SAP system, names for the messaging services to be used, such as SMS, must be defined using transaction SA14.
Configuring Profile Parameters (tcode RZ10)
You must adapt the SAP Web Application Server’s profile if the SMTP functionality is to be used. The SAPconnect send job can only be scheduled for servers on which SMTP is active, so ideally you should activate SMTP on all of the SAP system’s application servers.
You must set the profile parameters below. The placeholder <*> stands for the sequence number (starting with zero) of parameters that occur several times.
- icm/plugin_<*> = PROT=SMTP,PLG=
This loads the SMTP plug-in. It is a dynamic library that implements the SMTP protocol.
- icm/server_port_<*> = PROT=SMTP,PORT=
This opens a TCP/IP port for the reception of mails by the SMTP plug-in.
You can use TIMEOUT to define an optional maximum time (in seconds) that is to be waited for a response from the mail server.
- is/SMTP/virt_host_<*> =
: , ,...;
This defines a virtual mail host for the reception of mails. If all inbound mails (including status notifications) are to be received and processed in a single client of the SAP system, this parameter is not required and is/SMTP/virt_host_0 = *:*; is taken as the default. If several clients are to receive, a virtual mail host must be created for every client.
Under UNIX, the profile parameters could be:
rdisp/start_icman = true
icm/plugin_0 = PROT=HTTP,PLG=./httpplugin.so
icm/plugin_1 = PROT=HTTPS,PLG=./httpplugin.so
icm/plugin_2 = PROT=SMTP,PLG=./smtpplugin.so
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;
Create a User (tcode SU01)
- System user
You must create a system user to process the inbound mails in every SAP system client in which mails (or status notifications) are to be received. You use transaction SU01 to create a user of the type System and assign the profile S_A.SCON to it.
- User addresses
No comments:
Post a Comment