03-31-2006 4:28 PM
Hi,
I have a selection screen with purchase order number as "select-options" and 2 radio buttons one for downloading and opening the SAP Script output to the local file and the other raido button would convert the SAP Script output into .pdf file and send that file as an attachment via e-mail to the receipent(only one).
I'm through with the first operation. Now need to know about the e-mailing procedure and the function module(s) to be used and their import, export, etc. parameters.
Thanks & Regards,
Rajesh
03-31-2006 4:54 PM
03-31-2006 5:03 PM
03-31-2006 5:03 PM
Hi Rajesh,
You can use standard SAP program <b>RSTXPDFT4</b> to convert SAPSript spools request to PDF.
Also please check this link for sample code to sending an attachment (PDF) via email:
http://www.sapgenie.com/abap/code/abap31.htm
Hope this will help.
Regards,
Ferry Lianto