Skip to Content
0
Nov 29, 2006 at 10:13 AM

PDF viewer into new browser window

119 Views

Hello,

I use following code to open new browser window with PDF file. The URL passed to the method is link to SICF service which returns the PDF in the request with content-type = 'application/pdf'. New window is open with correct URL, but the content is not displayed - Refresh or Go button has to be pressed to display it. Don't you experience similar problem? Is this WD error or some IE security setting?

Thank you and best regards,

Ludek

  lr_window = lr_w_manager->create_external_window(
      url = ld_url
      title = ''
      modal = abap_false
      has_menubar = abap_true
      is_resizable = abap_true
      has_scrollbars = abap_true
      has_statusbar = abap_true
      has_toolbar = abap_true ).
  lr_window->open( ).