Skip to Content
0
Jun 15, 2010 at 09:12 AM

CONVERT_ABAPSPOOLJOB_2_PDF have any Limitations??

358 Views

Hi all,

This is the following FM I used to convert my spool list to pdf. It works perfectly fine for 5 pages of spool. When I test it for 1038 pages of spool, the FM simply did not return any contents in lt_pdf_output. Is there any cap limit for this? If there is a limit, is there any way to get this FM to work for many pages of spool? Thanks in advance.

  • convert abap spool to pdf

CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'

EXPORTING

src_spoolid = lv_spool_id

no_dialog = lv_no_dialog

dst_device = lv_device

IMPORTING

pdf_bytecount = lv_bytecount

  • PDF_SPOOLID =

  • LIST_PAGECOUNT =

btc_jobname = lv_jobname

btc_jobcount = lv_jobcount

TABLES

pdf = lt_pdf_output

EXCEPTIONS

err_no_abap_spooljob = 1

err_no_spooljob = 2

err_no_permission = 3

err_conv_not_possible = 4

err_bad_destdevice = 5

user_cancelled = 6

err_spoolerror = 7

err_temseerror = 8

err_btcjob_open_failed = 9

err_btcjob_submit_failed = 10

err_btcjob_close_failed = 11

OTHERS = 12

.