‎2007 Oct 23 9:58 AM
hi,
my requirement is convert standard sap script to pdf format and send it as attachment via email.send me some sample code ASAP.
‎2007 Oct 23 9:59 AM
Hi,
Please refer this simple program:
http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
Best regards,
Prashant
‎2007 Oct 23 10:07 AM
Set the "options" parameter of the FM "OPEN_FORM" to create a spool id.
Fetch the spool no from table TSP01.
Convert the spool to PDF using FM "CONVERT_ABAPSPOOLJOB_2_PDF"
then attch the PDF as an attachment to your email.