02-02-2011 5:50 AM
hi friends,
i want convert the alv report to pdf and mail the same pdf.
have used function REUSE_ALV_LIST_DISPLAY to display alv report.
i am using CONVERT_ABAPSPOOLJOB_2_PDF to convert the alv report to pdf.
now i need to mail the pdf implicitly to the email address.
i have used some function to mail the pdf but it is asking for the path which has to be hard coded.
the path cannot be hard coded.
cant use F4_GETFILENAME or gui_upload to attach the file or to get the path because the pdf has to be sent directly to some email address.
thanks.
regards,
akshay ruia.
02-02-2011 5:58 AM
Hello,
What is the FM you're using to send the PDF as email?
Generally the widely used FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' won't ask you to upload a PDF file!
BR,
Suhas
02-02-2011 6:28 AM
02-02-2011 9:37 AM
Please refer the link below.............
Sample Program To Convert Smartform To PDF Document & Mail It To The Concerned As An Attachment.
http://www.abapmadeeasy.com/2011/02/sap-abap-sample-program-to-convert.html
Regards,
Uttam Agrawal
Edited by: uttamagrawal on Feb 22, 2011 9:19 AM