Search This Blog

Friday, January 7, 2011

SAP Note 837300 - Size restriction when sending documents

Version: 5
Validity: Valid Since 21.05.2008

Summary
Symptom
You want to ensure that only e-mails under a certain size are sent using the SAPconnect SMTP interface.

Other terms
SMTP, mail, SCOT, send process, RSCONN01

Reason and Prerequisites
After you implement Note 1171138, you can use a parameter in SAPconnect to restrict the size of a complete outbound e-mail.
However, performance problems or even terminations (TIME_OUT, SYSTEM_NO_ROLL) can occur when individual or large body parts are processed (that is, individual documents, lists, attachments) within the SAPconnect send process. You want to prevent this by applying a size restriction.

Solution
Implement the corrections using the Note Assistant, or import the relevant Support Package.
You can then set the maximum size for a document to be sent by setting parameters in the table SXPARAMS. You can maintain the table SXPARAMS with transaction SM30.

Parameter Parameter value
MAXLEN_BODYPART_SMTP 0 ... 999999999999

The parameter value determines the maximum size of a document (in bytes)
that may be sent using the SAPconnect SMTP interface. The value 0 means: No
restriction

Documents with SAP internal formats (lists of the type ALI, SAPscript documents of the type OTF) may become slightly larger as a result of conversion to external formats. Since the original size for compressed data is calculated specifically for ALI lists, a termination may also occur during format onversion. For this reason, you can set an additional parameter for these types that checks the size before the format conversion:

Parameter Parameter value
MAXLEN_BODYPART_ALI_SMTP 0 ... 999999999999
MAXLEN_BODYPART_OTF_SMTP 0 ... 999999999999

If these parameters are not set, the system checks the parameter MAXLEN_BODYPART_SMTP before and after the conversion.

The system checks all parameters before the MIME conversion.

No comments:

Post a Comment