07-02-2012 1:39 PM
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.
07-02-2012 2:33 PM
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