cancel
Showing results for 
Search instead for 
Did you mean: 

CREATE PDF WITH ABAP

Former Member
0 Kudos

Hi! I would like to know if there is a class to create a pdf with abap (not open or redirecting the spool to a pdf). I see this class cl_gui_pdf_viewer ,but this clas is only for open a pdf I think.

Accepted Solutions (1)

Accepted Solutions (1)

Peter_Inotai
Active Contributor
0 Kudos

Hi,

Take a look on the FMs in Function Group SX03, it might help you.

Peter

Former Member
0 Kudos

hi Xavi,

As far as I know, there is no FM to create a PDF file, however there was a big discussion in BSP forum and till now the only ways that have been found out are(unless someone throws more light on it) :

a) Using FM spool (which I guess, you don't want)

b) Smartforms

Look at this weblog, where Craig explains how he used ABAP to create PDF file. In this weblog, he also gives link to the forum, where this was discussed.

/people/sap.user72/blog/2004/11/10/bsphowto-generate-pdf-output-from-a-bsp

Regards,

Subramanian V.

eddy_declercq
Active Contributor
0 Kudos

Or you can opt for external commands like htmldoc.

But as Subramanian says, it is nicely put together by Craigs weblog.

Answers (0)