Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Increased file attachement size.

Former Member
0 Kudos

Hi

I am trying to send some attachment via Zprogram and providing email id's in the respective recipient field at SELECTION-SCREEN of my report.

In case if the file is too heave, its throwing an error.

MESSAGE No. XS841.

   Msg: "No delivery to user because message too long, maximum length 20,000,000 bytes."

Is there any way to handle this so that before the maximum length exceed I will send the data as an attachement and same process for the rest of the records.

Please let me know.

Satish.

1 REPLY 1

venkateswaran_k
Active Contributor
0 Kudos

Dear Satish, Vikas

The email attachment size can be modified/reviewed in the SCOT tcode.

Please refer to the note: SAP note 690020.

As per SAP Note 690020:

If you want to allow larger emails to be sent, increase the mpi/total_size_MB parameter in the SAP

profile to a value that is greater than the largest mail to be sent.

Regards,

Venkat