cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Downloading PDF file in ITS

Former Member
0 Kudos

Hi,

We are using SSFCOMP_PDF_PREVIEW function module , in ITS only blank screen appearing. There after we made Z function module where we called the ALEWB_DOWNLOAD function module of the screen PBO module. Now file is getting displayed in a full screen mode. We want that file should come within screen as it is normal R/3 scenario.Please help in this. Is there any other download function module which works in ITS(Internet Transaction Service)

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

First create the Samrtform for the preview and then convert the same using the FM below:

call function 'CONVERT_OTF'

exporting

format = 'PDF'

importing

bin_filesize = v_binfilesize

tables

otf = gt_otf[]

lines = gt_pdf[]

exceptions

err_max_linewidth = 1

err_format = 2

err_conv_not_possible = 3

others = 4.

if sy-subrc <> 0.

raise no_pdf_written.

endif.