Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error in 'CONVERT_ABAPSPOOLJOB_2_PDF' function module

Hi,

I'm using 'CONVERT_ABAPSPOOLJOB_2_PDF' function module for PDF conversion for sending mails. I'm passing the spool ID as given below. But the FM is giving error as "Spool request 30420 contains no ABAP list data".

Please help.

CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'

EXPORTING

src_spoolid = gv_spoolno

no_dialog = gc_no

dst_device = gc_device

  • PDF_DESTINATION =

IMPORTING

pdf_bytecount = gv_bytecount

  • PDF_SPOOLID =

  • LIST_PAGECOUNT =

  • BTC_JOBNAME =

  • BTC_JOBCOUNT =

TABLES

pdf = gi_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

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question