05-18-2006 2:35 PM
05-18-2006 2:40 PM
hi use this fm
<b>CONVERT_ABAPSPOOLJOB_2_PDF</b>
u can also use the fm
<b>CONVERT_OTFSPOOLJOB_2_PDF</b>
to convert otf to pdf
plz reward if useful
05-18-2006 2:41 PM
yes use FM <b>CONVERT_ABAPSPOOLJOB_2_PDF</b>
Check this link to know more
http://searchsap.techtarget.com/tip/1,289483,sid21_gci815337,00.html
http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
05-18-2006 2:41 PM
you can create a spool and then create a pdf using the FM CONVERT_OTFSPOOLJOB_2_PDF
05-18-2006 2:43 PM
Hi,
If you have generated the Spool ID then you can use this FM.
CONVERT_OTFSPOOLJOB_2_PDF which is used to convert the spool number into pdf file.
regards
Aashish Garg
05-18-2006 2:44 PM
Hi
you need to create a print spool and then convert the spool by program RSTXPDFT4.
You can directlty use the fm CONVERT_OTFSPOOLJOB_2_PDF (see RSTXPDFT4)
Visit this link for SAMple code of SAPSCRIPT to PDF.:
http://www.sapgenie.com/abap/pdf_creation.htm
and check the following weblog for code samples.
/people/sap.user72/blog/2004/11/10/bsphowto-generate-pdf-output-from-a-bsp
rgds,
latheesh
05-18-2006 2:46 PM
Check this progrma also.
RSTXPDFT4
It converts the Spool request to PDF.
05-18-2006 2:47 PM
hi,
Visit this link for SAMple code of SAPSCRIPT to PDF.:
http://www.sapgenie.com/abap/pdf_creation.htm
and check the following weblog for code samples.
/people/sap.user72/blog/2004/11/10/bsphowto-generate-pdf-output-from-a-bsp
chk this one
http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
some function modules useful would be
CONVERT_OTF
SO_NEW_DOCUMENT_ATT_SEND_API1 to send mails with attachments
plzz refer to this link..it will solve ur problem
Regards,
Naveen