sending mails from SAP with Report Attachment
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.