cancel
Showing results for 
Search instead for 
Did you mean: 

Mozilla and PDF

Former Member
0 Kudos

Hello all,

I have created a WD4A in which the user can select a PDF-icon, which will get a standard output from the backend in PDF format and which is attached to the reponse like this:

*-Append the pdf to the response:

cl_wd_runtime_services=>attach_file_to_response(

i_filename = zlv_filename

i_content = zlv_pdf

i_mime_type = 'application/pdf'

i_in_new_window = 'X'

i_inplace = 'X' ).

This will open a new window in which the PDF is displayed. Everything works fine with IE, but not in Mozilla Firefox: After the icon has been pushed the "wait..." symbol is visible for a few seconds (as in the IE), but after the "wait" symbol has disappeared nothing happens.

Does anyone has a clue for me?

Kind regards,

John.

Accepted Solutions (1)

Accepted Solutions (1)

SergioFerrari
Active Contributor
0 Kudos

and what happens if use comment out the parameters:

i_in_new_window

i_inplace

leaving them to the default?

Sergio

Answers (1)

Answers (1)

dirk_dautermann
Explorer
0 Kudos

Hi John,

now I´ve the same situation!

Firefox does not show the PDF-Popup-Dialog!

With MS-Internet Explorer everything works fine:

cl_wd_runtime_services=>attach_file_to_response(
      i_filename      = pdf_filename
      i_content       = lv_pdfsource
      i_mime_type     = `APPLICATION/PDF`
     i_in_new_window = abap_false
     i_inplace       = abap_false )

Do you received a solution in the past?

Kind regards

Dirk