SAP Mail and SAPConnect configuration and optimization

Collection of SAP mail notes and instructions setting up mailing

SAP munich - Optimization
Configure SAP Mail and SAPConnect – to enable the sending and receiving of mails with SAP ERP system, some settings are necessary. For this we have collected some important SAP notes as well as a guideline for the device.

Collection about setup and optimization for IT, consultants and developers


  1. SAP Support Notes
  2. Mail Outbound Setup – Instructions
  3. Mail Inbound Setup – Instructions
  4. FAQ SAP Standard

▶ OSS Notes ▶ Mail Outbound Setup ▶ Mail Inbound Setup ▶ FAQ ▶ Abbreviations

Notes on EMail, SAPConnect, SMTP, SCOT, SOST

Below you will find useful information about the configuration on the ERP server. Find out here which SAPConnect parameters are important and how to set up email via SMTP in the SAP Web Application Server. Which prerequisites and steps are necessary within and outside the SAP system? Here you will find the suitable answers. Please have your S-User ready to log in to the Support Portal.

Note DescriptionSAP note numberSymptom
Configuration email, fax, paging / SMS via SMTP455140Instructions on how to configure and connect e-mail, fax or paging / sms via SMTP in the SAP Web Application Server
Email (SMTP) in different SAP-Releases455127Overview Note – How to send or receive emails from SAP systems?
Which components are needed? Which additional hardware and software is required?
Overview of documentation for installation, configuration and Administration of SAP connect
SMTP over TLS and SMTP authentication1747180You want to use SMTP via TLS or SMTP authentication.
SCOT: Settings for TLS and SMTP AUTH1724704Settings for the support of TLS and SMTP AUTH in transaction SCOT.
SAPCONNECT Performance598718Sending e-mails, faxes or SMSs/Paging through SAPconnect is too slow. The number of messages generated by SAP applications cannot be processed within an adequate time frame. What number of messages can be sent? How can the performance be improved and the throughput increased?
Testing of fax and e-mail152474How to test the sending of documents from R/3 applications via fax, paging or Internet mail. What are the system requirements? What do you have to configure?
SMTP plugin: MS Exchange will only send to port 25546147Port 25 is not enough or several clients receive emails
Support SAPCON. RFC interface1236270The SAPconnect RFC interface is no longer supported since SAP Netweaver 7.0 for e-mail. As of SAP Netweaver 7.3, only SMTP nodes can be maintained in transaction SCOT.
Configuration of e-mail using SMTP (outbound) [Video]2148070Mail should be send out from SAP System via SMTP. Quick and easy configuration guide is needed.
Size limit for outgoing e-mails1171138Only e-mails that do not exceed a defined size should be sent via the SAPconnect SMTP interface
Archiving of SAPOffice88970Archive documents from SAPoffice
SAPOffice: Reorganization – how to use?728063This note is outdated! Please note the new note 966854 and the new reorganization report RSBCS_REORG!
Send SAPConnect trace for testing to SAP194926Create and deploy a trace for SAP connect
Problem analysis when sending or receiving emails607108Emails are not sent or received in the SAP system. What should be done to investigate the problem?
Reorganization SAPoffice and Business Workplace966854Reorganize SAPoffice Business Workplace – reduce SOST tables SOOD, SOOS, SOC3, SOFFCONT1, BCST_SR, and so on
Sending e-mail from notification print control208271This note describes how to enhance the print control for notifications so that you can also send documents as attachments to e-mails. For this, the print document is attached to an e-mail as a PDF file. The e-mail address of the recipient is entered in the dialog box for the print control.
The change affects the papers in QM and PM, the notification and the order. – 2018
E-mail dispatch to distribution lists834102In Broadcasting, you want to send e-mails to distribution lists. The distribution lists are defined in a groupware solution (for example, Microsoft Exchange, Lotus Notes).

SAP Mail Add-On

Setting SAPConnect SAP mail delivery

– Quick Start Guide –

Important notes: The mail server with which the SAP system is both the input and the output side connected must be equipped with appropriate virus scanners and spam filters. It is recommended to separate the reception socket through the firewall to the outside, so that no delivery can be made by third parties. It is further recommended that the output side does not communicate directly with a mail server outside the firewall. These instructions may vary slightly in different SAP releases.

Connecting to the mail server and routing defined – in transaction SCOT take in “Business Communication Administration => Settings => Outgoing Messages => SMTP node” the following settings:

  • Set indicator “node in operation“
  • Mail Host: Here you enter the IP address or host name of the mail server
  • Mail Port: Usually, 25 or 587
  • Supported address types: Internet and address the “*”. In order for this node is used for all e-mail addresses

SAP SCOT


Set default domain – In SAPconnect administration is entered with the transaction SCOT “Settings => Domain” the default domain. Here the domain of SAP is determined by clients such. B. @ erp-prod.mycompany.com.

SAPConnect Default Domain

SAPConnect internet mail address


Sender maintain – In the user administration an e-mail address is stored on the transaction SU01 for each user. This is used when sending messages as the sender. Enter the email address in the “E-Mail Address”. Use as a domain if possible the domain of SAP clients, such as @ erp-prod.mycompany.com (s. Default Domain).

SAPConnect mailddress maintain


Create Test Mail – In SAPOffice transactions SO01, SBWP or any other sap mail tcode a test mail can be generated. So you can check whether the email can be sent from your SAP system.
SAP Business Workplace SBWP testmail


Control mail delivery from SAP – SAPconnect send jobs can be controlled via the transaction SOST. Here you can see the users email that was created in the previous step.
SAPConnect mailddress maintain


Configuring Mail Inbound – Quick Start Guide

Create user (TA: SU01)
Profile S_A.SCON
Maintain E-Mail Address: Einkauf@DEV.Mustermann.de
Profile parameters (TA: RZ10)

is / SMTP / virt_host_0 *: 25; => reset to 0
icm / server_port_2 PROT = SMTP, PORT = 25, TIMEOUT = 180, PROCTIMEOUT = 120
This will open a TCP / IP port for receiving mail through the SMTP plug-in.
Activate service (TA: SICF)

Customizing in the Development System (Transport) – Caution Client Assignment
Service Name: SAPconnect
Description: SAPconnect (E) SMTP
Handler: CL_SMTP_EXT_SAPCONNEC
Login data: (user, password, language) of the service user
Activate service after creating or changing
SAPconnect Administration (TA: SCOT)

Check Default Domain (s.o.)

Finished!


FAQ SAP Standard

How can I change the sender?

Yes, but only with programming. Please note note 2171371. SAP has developed the BADI – BADI_MM_PO_OC_EMAIL. This allows the change of sender e-may. Without programming, the email address can be maintained for the background user. If there is an address there, it will be used. Otherwise, SAPConnect generates an address from USERID and domain.

How can I change the subject?

If you want to send a document, you can maintain the mail title (subject) as well as a mail text in Customizing for the message type.

How do I get the signature in the mail?

Also with the E-Mail exists as with business letters also the obligation to minimum charges. You maintain this mandatory information in transaction SODIS.

Does sending mail from SAP also work via Office 365?

Sending SAP Mail via Office 365 is explained in the SAP Community Network. Setting up an SMTP service for an Office 365 Online Exchange mail account: SAP SMTP service with Office365 online exchange


Abbreviations

SMTP – The “Simple Mail Transfer Protocol” is a protocol for the exchange of e-mails in computer networks. Primarily it is used to initiate and to route e-mail. Fetching e-mails via other protocol such as POP3 or IMAP. Usually servers work for e-mail reception on Port 25 for user authentication and now are working with the newer server port 587.

TLS – Transport Layer Security (TLS) and its predecessor Secure Sockets Layer (SSL) is an encryption for secure data transmission over the Internet. With version 3.0, the protocol under the name TLS will be further developed and standardized.

SMTP-Auth – This authentication is a protocol and an addition of ESMTP. It allows the mail server to authenticate the mail client using its user name and password.

SCOT – SAPConnect transaction to external communications to set up and monitor the SAPConnect sending process.

SOST, SOSB and SOSG – SAP transactions for an overview of sending orders. All sent via SAPconnect messages can be displayed here.


Would you like further information about our products and services related to SAP Mail solutions e.g. MailCenter or SAP Outlook Integration? Check the links or simply arrange an appointment for a live demo. We are looking forward to get in contact with you!

You need help?

Contact form mail-solutions