Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how to convert script into PDF

Former Member
0 Kudos

How to create a sap script into pdf format using FM

7 REPLIES 7

Former Member
0 Kudos

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

0 Kudos

Former Member
0 Kudos

you can create a spool and then create a pdf using the FM CONVERT_OTFSPOOLJOB_2_PDF

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Check this progrma also.

RSTXPDFT4

It converts the Spool request to PDF.

Former Member
0 Kudos

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