Hi ABAPers, I want to Download the PDF file using Program which is already generated in the SPOOL, I Tried using the below code FM CALL FUNCTION ‘CONVERT_ABAPSPOOLJOB_2_PDF’ EXPORTING src_spoolid = lv_spool_id no_dialog = ‘X’ dst_device = ‘PDF1’ pdf_destination = ‘X’ IMPORTING pdf_bytecount = lv_bin_size pdf_spoolid = ev_spoolid bin_file = lv_xstring TABLES pdf = lta_lt_pdf 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. IF sy-subrc <> 0.* Implement suitable error handling here ENDIF. LTA_LT_PDF internal table is getting not any data from the FM, I can only see the binsize and xstring getting filled up, How to proceed further, Tried to convert xstring to …
Want to download PDF from Spool using ‘CONVERT_ABAPSPOOLJOB_2_PDF’ Read More »