cancel
Showing results for 
Search instead for 
Did you mean: 

pdf

Former Member
0 Kudos

Hi

how to use this FM. <b>CONVERT_ABAPSPOOLJOB_2_PDF</b>

is this FM download the data to PC.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

This is the fun module used to convert the spool id of an Output to pdf format

and once you get the pdf format then use GUI_DOWNLOAD to download the PDF to desktop.

***Using Spoolid we are getting PDF formated file

data : pdf_table like tline occurs 0 with header line,

pdf_fsize type i.

spoolid = spdel-rqident = sy-spono.

spdel-sys = sy-sysid.

call function 'CONVERT_ABAPSPOOLJOB_2_PDF'

exporting

src_spoolid = spoolid

no_dialog = 'X'

importing

pdf_bytecount = pdf_fsize

tables

pdf = pdf_table

exceptions

others = 0.

<b>Reward points for useful Answers</b>

Regards

Anji