Mail Interface with SMTP Plug In in SAP

  • Slides: 11
Download presentation
Mail Interface with SMTP Plug. In in SAP WAS Based Components Parlin Sitanggang

Mail Interface with SMTP Plug. In in SAP WAS Based Components Parlin Sitanggang

Communication Possibilities with SAPConnect In this documentation, only sending mail to outside SAP is

Communication Possibilities with SAPConnect In this documentation, only sending mail to outside SAP is discussed using any SMTP mail server ã SAP AG 2004, Title of Presentation / Speaker Name / 2

Communication Using SMTP As of SAP Web Application Server 6. 10, SMTP (Simple Mail

Communication Using SMTP As of SAP Web Application Server 6. 10, SMTP (Simple Mail Transfer Protocol) is supported directly by the SAP kernel. This means that it is possible to exchange e-mails between the SAP system and any SMTP-compatible mail server without using additional external components (such as connectors or gateways). You can use any product that meets the SMTP standard as a mail server. As of SAP Web Application Server 6. 20, it is also possible to exchange faxes and text messages (pager/SMS) using SMTP. Faxes and text messages are packed into e-mails for this purpose. ã SAP AG 2004, Title of Presentation / Speaker Name / 3

Outbound Mails – Process Scenario twdf 1107. wdf. sap. corp domain 01. sap. com

Outbound Mails – Process Scenario twdf 1107. wdf. sap. corp domain 01. sap. com • • ã SAP server: twdf 1107. wdf. sap. corp Domain configured on twdf 1107. wdf. sap. corp is domain 01. sap. com SAP AG 2004, Title of Presentation / Speaker Name / 4 twdf 5000. wdf. sap. corp training. sap. com mail port 25

Overview of Configuration Process SEND MAIL for SMTP 1. Maintain parameters for SMTP 2.

Overview of Configuration Process SEND MAIL for SMTP 1. Maintain parameters for SMTP 2. Maintain user addresses 3. Activate and configure the SMTP node using transaction SCOT 4. Schedule the send job ã SAP AG 2004, Title of Presentation / Speaker Name / 5

1. Maintain parameters for SMTP (WAS ABAP) Maintain SAP WAS ABAP parameters: 1. rdisp/start_icman

1. Maintain parameters for SMTP (WAS ABAP) Maintain SAP WAS ABAP parameters: 1. rdisp/start_icman = true u This parameter automatically starts the ICM process during the system startup 2. exe/icman = <path for the executable of the ICM> u Should be like E: usrsapT 10SYSexerunicman. EXE 3. icm/plugin_<*> = PROT=SMTP, PLG=<prog> u u This parameter loads the SMTP plug-in Should be ok if the configuration is like this: l l l icm/plugin_0 = PROT=HTTP, PLG=E: usrsapT 10SYSexerunhttpplugin icm/plugin_1 = PROT=HTTPS, PLG=E: usrsapT 10SYSexerunhttpplugin icm/plugin_2 = PROT=SMTP, PLG=E: usrsapT 10SYSexerunsmtpplugin 4. icm/server_port_<*> = PROT=SMTP, PORT=<port> u u This parameter opens a TCP/IP port for receiving mails using the SMTP plug-in Normally configuration is like below: l l icm/server_port_0 = PROT=HTTP, PORT=8030, EXTBIND=1 icm/server_port_1 = PROT=SMTP, PORT=0 Restart SAP system. ã SAP AG 2004, Title of Presentation / Speaker Name / 6

2. Maintain User Address Maintain the user addresses, as every user that wants to

2. Maintain User Address Maintain the user addresses, as every user that wants to send emails requires an Internet e-mail address. This is used as the sender address. Maintain e-mail address here ã SAP AG 2004, Title of Presentation / Speaker Name / 7

3. 1 Activate and configure the SMTP node using transaction SCOT In transaction SCOT,

3. 1 Activate and configure the SMTP node using transaction SCOT In transaction SCOT, define the domain of the SAP system client under Settings→ Default Domain [domain 01. sap. com] Set the node so that it is in use. 1. In the Mail Host and Mail Port fields, specify the mail server to which the outbound mails are to be transferred. 2. Configure SAPconnect so that no confirmation of receipt is expected for Internet mails. Choose Settings→ Confirmation of Receipt, and define that SAPconnect does not expect confirmation for Internet Mail. 3. When you set the node so that it can be used, enter the address area of recipient addresses that are to be reached using this node (such as *, if all e-mails are to be sent using SMTP). 4. Enter the output format for SAP documents, such as PDF for SAPscript/Smart Forms, HTM for ABAP lists, and Business Object/links and TXT for RAW text. ã SAP AG 2004, Title of Presentation / Speaker Name / 8

3. 2 Activate and configure the SMTP node using transaction SCOT ã SAP AG

3. 2 Activate and configure the SMTP node using transaction SCOT ã SAP AG 2004, Title of Presentation / Speaker Name / 9

4. Schedule the SEND Job In transaction SCOT, choose View→ Jobs. The system displays

4. Schedule the SEND Job In transaction SCOT, choose View→ Jobs. The system displays how often the send process has already run in your client (you can change the evaluation period). Choose the Create button and enter a job name (such as SEND INT EMAILS). On the next screen, adjust the time if required (you can view the system time by choosing System→ Status) and then choose Schedule Periodically. Choose the required period and confirm. The job that you have just created now appears in the Job Overview (transaction SM 37). ã SAP AG 2004, Title of Presentation / Speaker Name / 10

Done! ã SAP AG 2004, Title of Presentation / Speaker Name / 11

Done! ã SAP AG 2004, Title of Presentation / Speaker Name / 11