Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

sending mails from SAP with Report Attachment

Hi experts,

I have a requirement to send the mails with attachment

I have searched in the forum .

Now i am able to send mail with attachment but it is working for only TEXT display .

i need to send the report attachment

the attachment should be same as the report

in forum i have searched but for the attachment everyone is using compress but the TABLE_COMPRESS is giving runtime error

I am using below FM

call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
exporting
document_data = lv_docchng
put_in_outbox = 'X'
commit_work = 'X'
tables
packing_list = li_objpack
object_header = li_objhead
contents_bin = objbin
contents_txt = li_objtxt
receivers = li_reclist

Please tell me how to attach my report to this

Note: My report has 10 pages.

regards,

Sri

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question