Skip to Content
0
Former Member
Sep 17, 2007 at 12:47 PM

Converting Internal table to PDF format.

1840 Views

Hi All,

I need to convert the contents of my Internal table into PDF format, then need to send mail as attachment..

I tried to convert my internal table to PDF format using creating the spool by function modules...RSPO_OPEN_SPOOLREQUEST, RSPO_WRITE_SPOOLREQUEST, RSPO_CLOSE_SPOOLREQUEST.

The spool is getting created by the values in the internal table. But if I read that spool number using program RSTXPDFT4, I am getting a message "There is an error in Opening the document.The file cannot be opened because it has no pages". The same result I am getting when I use the FM 'CONVERT_ABAPSPOOLJOB_2_PDF'

Should I need to mention additional things,, Please help..

Regards,

Philip