11
1.1 Purpose To enable mail communication between SAP systems and SMTP mail server, without having to use additional external components, kernel of the SAP Web Application Server should be SMTP (Simple Mail Transfer Protocol) compatible. Using this SMTP functionality, it is possible to exchange faxes and messages which are packed as e-mails. For this mail server should analyze the domain of the recipient addresses. Mail server either forwards the e-mails to an internal fax-/text message server or to an external provider To receive any fax or text message, server or provider sends e-mails to addresses that have the domain of the SAP system. 1.2 Prerequisite s To enable mail communication, mail server must be SMTP-compati ble. 1.3 Process Flow 1.3.1 Settings for the Profile Parameters (Transaction RZ10) If you want to use SMTP functionality, you have to adjust the profile of the SAP web application server because SAPConnect send job can only be scheduled for SMTP activated servers. Run tcode rz10 and create a profile.

Information Broadcating Settings

Embed Size (px)

Citation preview

7/27/2019 Information Broadcating Settings

http://slidepdf.com/reader/full/information-broadcating-settings 1/11

1.1 PurposeTo enable mail communication between SAP systems and SMTP mail server, without having touse additional external components, kernel of the SAP Web Application Server should be SMTP(Simple Mail Transfer Protocol) compatible.Using this SMTP functionality, it is possible to exchange faxes and messages which are packedas e-mails. For this mail server should analyze the domain of the recipient addresses. Mail server either forwards the e-mails to an internal fax-/text message server or to an external provider To receive any fax or text message, server or provider sends e-mails to addresses that have thedomain of the SAP system.1.2 PrerequisitesTo enable mail communication, mail server must be SMTP-compatible.1.3 Process Flow1.3.1 Settings for the Profile Parameters (Transaction RZ10)If you want to use SMTP functionality, you have to adjust the profile of the SAP web applicationserver because SAPConnect send job can only be scheduled for SMTP activated servers.Run tcode rz10 and create a profile.

7/27/2019 Information Broadcating Settings

http://slidepdf.com/reader/full/information-broadcating-settings 2/11

Configure the following two profile parameters:

 A) icm/server_port_<*> = PROT=SMTP,PORT=<port>

(this parameter opens a TCP/IP port for receiving mails through SMTP)here <*> stands for the sequence number (starting from zero)offrequently occurring parameters.

 <port> the number of the port that is to be used ( can’t yet be used by another program on this

host.)In my case here value of * (sequence number) is 2 and PORT = 25000

7/27/2019 Information Broadcating Settings

http://slidepdf.com/reader/full/information-broadcating-settings 3/11

B) is/SMTP/virt_host_<*> = <host>:<port>,<port>,...;This parameter defines a virtual mail host for receiving mails.Here <host> describes the name of the host to which the incoming mails are addressed.

 <port> describes the number of the port to which the incoming mails are addressed.Note:1- This parameter is not required If one single client of the SAP system is receiving and processing allincoming mails).2-Default value for this parameter is/SMTP/virt_host_0 = *:*;

3-In case of multiple clients, a virtual host has to be created for each of these clients.

In my example I have used *:25000 here * is used because I want the mails to be sent independently of 

the host being addressed and 25000 is the value of PORT.

7/27/2019 Information Broadcating Settings

http://slidepdf.com/reader/full/information-broadcating-settings 4/11

1.3.2. User Maintenance (Transaction SU01)Create a service user to process incoming mailsCall transaction SU01 to create a user with type Service and assign the profile S_A.SCON to this user.

Click on create

7/27/2019 Information Broadcating Settings

http://slidepdf.com/reader/full/information-broadcating-settings 5/11

User addressesAssign the valid Internet mail address to your user (which is supposed to receive e-mails) in transaction

SU01, under  E-Mail on the tab page Address.

7/27/2019 Information Broadcating Settings

http://slidepdf.com/reader/full/information-broadcating-settings 6/11

1.3.3. Assigning the Clients (Transaction SICF)One SMTP server (SAPconnect ) has already been created in transaction SICF and is delivered with every

SAP system. Now Use this to create the first client and then create another SMTP server for each additional

client. Run tcode SICF and enter the following details:

Press F8 . In the next screen double click on SAP connectSAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 10 Hostdata tab

7/27/2019 Information Broadcating Settings

http://slidepdf.com/reader/full/information-broadcating-settings 7/11

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.As shown in the figure:

Enter *:* in host configuration information.Handler listEnter CL_SMTP_EXT_SAPCONNECT at position 1.

1.3.4. SAPconnect Administration (Transaction SCOT)

In this step, Define SAPconnect settings for the client that is to be used for send processes.Run tcode SCOTUnder Settings  Default Domain, define the domain of the SAP system client.

7/27/2019 Information Broadcating Settings

http://slidepdf.com/reader/full/information-broadcating-settings 8/11

Each client has an SMTP node. This node is created by the SAP system and cannot be deleted.The following steps need to be carried out to configure the node so that sending Internet mail ispossible:

1. First confirm that you are in the Node view, and then double click on that node name.

2. Choose Node in use.

3. In the Mail Host and Mail Port fields, specify the mail server to which the outbound mails are tobe sent.In my case , Mail Host = smtp.rediffmailpro.com (or you can use IP address also ) andMail Port = 25.

4. Next to Internet , click on set button and Enter the address area of the recipient addresses thatare to be reached using this node. In general, * is used if all e-mails are to be sent using SMTP.

5. Enter the output format for SAP documents and Confirm your selection

7/27/2019 Information Broadcating Settings

http://slidepdf.com/reader/full/information-broadcating-settings 9/11

7/27/2019 Information Broadcating Settings

http://slidepdf.com/reader/full/information-broadcating-settings 10/11

Note: If you also want to configure the node for sending text messages (pager/SMS) or faxes, please follow the

reference link given at the end of this document.

Send Job (shift +F7)E-mails sent from an SAP application are first stored in a queue. A periodical backgroundprocess, the SAPconnect send job, gets the e-mails from this queue and sends them over theInternet. To schedule this job in SAPconnect: Administration, proceed as follows:

Press shift+F7 or click on the job button as shown in the figure below:

1. Choose View  Jobs.

2. If no other job has been scheduled, choose Job Create.

3. Enter a job name ( for ex: MailSend)and confirm it.

4. Select the variant SAP&CONNECTALL by positioning the cursor on it.

7/27/2019 Information Broadcating Settings

http://slidepdf.com/reader/full/information-broadcating-settings 11/11

5. Choose Schedule Job. In the next window, Choose Schedule periodically . Select the intervalyou require, such as 10 minutes. Choose Create.

 Any file that you send through broadcaster you will receive a mail in your box like the screenshotbelow: (either in .xml or .zip as choosen)