Skip to Content
Former Member
May 19, 2008 at 08:49 AM

PDF file not opening - created from Spool



I am using the FM, RSPO_OPEN_SPOOLREQUEST to create a spool request and then the RSPO_WRITE_SPOOLREQUEST to write the data and then the FM CONVERT_ABAPSPOOLJOB_2_PDF to convert the spool output to PDF. Though the file gets created in the desktop, while opening the file the below error is occuring,

The file cannot be opened because it has no pages.

Further the spool request created shows the pages as 0, though it is having multiple pages of data. But a normal spool request which is created by executing a program in background is getting downloaded properly. Please let me know where the issue is.