Setting Depth of PDF displayed in HTMLLoader

Is there anyway to set the depth of the HTMLLoader that is displaying a PDF in my air application?
Right now the PDF seems to be on top of everything.
Thanks.

No. PDFs always render in front of everything else.

Similar Messages

  • PDFs display differently in Internet Explorer 9 versus FireFox

    We use Adobe Reader X in all cases (10.4.1)
    On old computer, we have a website we go to using Internet Explorer (version 8.x on XP) where we ope/save & print to a PDF file. The information on the PDF prints vaules in a certain order - for example:   A,B, C    --works great--this is what we want it to do.
    We buy a new computer, Windows 7 with IE9, and the PDF displays with the same values in this order:  C,B, A  -   not good, do not want that.
    We try FireFox on the new computer  -- works great --just like it did on the old computer.
    What setting in IE9 is causing this PDF to display differently than in FireFox (or IE8)?
    UPDATE:  We did load IE8 on Windows 7 (by uninstalling IE9) and the PDF works fine --so it's not just something unique to FireFox. IE9 is displaying information in this PDF differently--why?

    Add/update these params in your web.xml and redeploy so the style class names are not optimized and client debugging is easier.
    <context-param>
        <param-name>org.apache.myfaces.trinidad.DEBUG_JAVASCRIPT</param-name>
        <param-value>true</param-value>
      </context-param>
      <context-param>
        <param-name>org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION</param-name>
        <param-value>true</param-value>
      </context-param>

  • How to correct bad PDF display of Excel 2007 graph-Adobe Pro X?

    Just installed Adobe Acrobat Pro X; previously had Adobe Pro 8, which worked fine.  Have Excel 2007 files with an Excel graph and a JPG image on the spreadsheet tab.  Both the graph and the JPG are too big, are displaced, and hide spreadsheet data, when the Excel file is Saved As a PDF using Adobe Pro dialog or Excel dialog, or the Excel Plug-In to Create PDF.  For some strange reason, printing to PDF works, although that is limiting.  All of the settings are the same for the Adobe Printer as Adobe Pro settings.  Changing them or going to default did not help.  Just did the latest update; that did not help.
    The graph and JPG are too large for the PDF page.  Paper printing from Excel still works fine. Producing a PDF on another machine with Pro 8 still works fine.  Could not find this problem discussed anywhere.  Using XP, fully patched.  This should not be a complicated process, nor a complex spreadsheet. What is going on?
    Thanks

    Regardless of the method and Adobe product used to create the PDF, including the Excel tool button, the single common factor whether the PDF correctly displays a JPG or graph in the Excel file that is being done at anything other than 100% size is whether the Adobe Printer or a Physical Printer is selected as the default printer in the Windows Printers and Faxes-Settings.  This is true even though the printer is not being used. I have created the same PDF using every method/product and the results are always the same, and only properly display when either the setting is 100% size or the system printer is selected as Adobe Printer.  This is true only after installing Adobe X (8 was previously installed, and worked as expected).
    Jeffry Calhoun
    Workforce Analytics Manager
    Ohio Department of Job & Family Services
    P.O. Box 1618, Columbus, OH 43216-1618
    InterAgency: F376, 4020 E. 5th Avenue
    614-644-0564
    Fax 614-728-5938
    [email protected]
    OhioMeansJobs.com -
    The next best thing to having an HR department.
    OhioMeansJobs.com -
    Ohio's premier website for connecting businesses and job seekers - quickly, easily, and for free!
    >>> "Bill@VT" <[email protected]> 4/7/2012 7:21 AM >>>
    Re: How to correct bad PDF display of Excel 2007 graph-Adobe Pro X? created by Bill@VT ( http://forums.adobe.com/people/Bill%40VT ) in Creating, Editing & Exporting PDFs - View the full discussion ( http://forums.adobe.com/message/4319297#4319297 )
    You say the settings for the printer work fine, but do not for PDF Maker (I am assuming this is what you meant). PDF Maker no longer uses the printer and the settings are independent. Check the settings for PDF Maker under the create PDF menu.
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4319297#4319297
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4319297#4319297. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Creating, Editing & Exporting PDFs by email ( mailto:discussions-community-acrobat-creating__editing_%[email protected] ) or at Adobe Forums ( http://forums.adobe.com/choose-container!input.jspa?contentType=1&containerType=14&contain er=4697 )
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.
    Ohio Means Jobs
    You're looking for something unique. Use more than an ordinary site.
    http://www.ohiomeansjobs.com
    This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain private, confidential, and/or privileged information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, employee, or agent responsible for delivering this message, please contact the sender by reply e-mail and destroy all copies of the original e-mail message.

  • C-Plus set bookmark for PDF to FO_PgfFmt when FO_PgfFmt is defined in master page

    Using the following across all documents in a book
    pgfId = F_ApiGetNamedObject(docId, FO_PgfFmt, "100_TOC_Header01");
    F_ApiSetInt(docId, pgfId, FP_AcrobatLevel, 1);
    pgfId = F_ApiGetNamedObject(docId, FO_PgfFmt, "010_01_00_Heading01");
                            F_ApiSetInt(docId, pgfId, FP_AcrobatLevel, 2);
    F_ApiSetInt( bookId, docId, FP_DocAcrobatElements, False);
    F_ApiSetInt( bookId, docId, FP_PDFBookmark, True);   
    F_ApiSetInt( bookId, docId, FP_PDFBookmarksOpenLevel, FV_PDFBookmarksOpenAllLevels);
    F_ApiSetInt( bookId, docId, FP_PDFRegistrationMarks, FV_PDFRegistrationMarksNone);
    F_ApiSimpleSave(docId, F_ApiGetString(FV_SessionId, docId, FP_Name), False);
    to set bookmarks for PDF when doing a save as PDF on the book.
    This works for all FO_PgfFmt's defined in the document except when the FO_PgfFmt is defined in a master page.
    Is there some setting that is needed to get bookmarks from master page FO_PgfFmt's?
    Or is there some setting that needs to be done on the master page to get the bookmark set?
    Any advice or directions would be helpful.
    Using FrameMaker 7.1 on Windows 7.

    Whoever created the Master Page didn't know what they were doing from a workflow perspective. There should never be live content on a Master page.
    The title is placed in a background frame on what is probably defined as the "First" master page and is only used once in your document. It would have been better if this was a variable (it might be, have you checked?) and then you could get at the content easily.
    Option 1: In order to use FM's internal bookmark generation tools, you will need to get that content onto the Body page and into the same flow (and at the correct location) in order to have it appear at the correct location in the Bookmarks panel of the PDF.
    From a programming point of view you will probably need to do the following.
    1. Get the text string from the background frame on the specific Maser Page in the document
    2. Create a custom colour that will be applied to the Text in order to render it "invisible" on the Body page using FM's Color Views option (set the colour to the Invisible column in the View number for the document). (FM will still know that it is there but will not display nor output that string). You could also have this pre-defined in a template and import the template into all files in the book (including the desired paratag for that paragraph on the Master page).
    3. Insert an an anchored frame (outside of text frame position) at the start of the flow.
    4. Insert a text frame into that anchored frame
    5. Insert the text string from the background text frame
    6. Apply the appropriate paratag that uses the Invisible colour for the text
    7. You can now add the paratag to the bookmark list and generate the PDF.
    Option 2: Create the bookmark code directly using pdfmark commands in a postscript text frame on the Body page. Postscript text frame contents are interpreted by Distiller from the output and do not display.
    1. Get the text string from the background frame in the document
    2. Insert an an anchored frame (outside of text frame position) at the start of the flow.
    3. Insert a postscript text frame into that anchored frame
    4. Insert the bookmark pdfmark code including the text from step 1.
    Sample pdfmark code:
    [/Title (the string from the background text frame here) [options for font, colour and hierarchy] /OUT pdfmark
    The minimum info required is in bold.

  • How do i set up a second display for my iMac desktop?  I want to use both displays at the same time.

    how do i set up a second display for my iMac desktop?  I want to use both displays at the same time.  My iMac is the 24" Late 2006 model.  I recall that there is a cord for plugging in a second monitor, but I want to make sure that i can use both monitors side-by-side at the same time.  thank you.

    If the Display supports DVI, then you will need a > Mini-DVI to DVI Adapter and a DVI cable.
    If the Display only supports VGA, then you wiil need a > Mini DVI to VGA Adapter and a VGA cable.
    Noting that the (digital) DVI is far better than the (analog) VGA connection.
    Also see > Using Dual Displays on Mac OS X: The Experience

  • How to set up a pdf embeded with different code so that people can get different excess code after they paid on-line?

    For example, I want to set up a pdf embeded with code, and send it on-line. People who want it should pay for it first and get the access code. I need to set different access code in order to avoid people A give the access to people B.

    Unless you use a very expensive DRM protection measure, I don't see how it's possible. How can you prevent someone from sending a file with the password to someone else?

  • How to set a view in display mode??

    Hi,
    I have created a new view in overview page of BT111H_OPPT.
    This view is of table type and associated with value node .
    I am able to display contents of table on UI but they are in editable mode.
    I need them in display mode .
    How to achieve this functionlaity??
    Any suggestions will be helpful.
    thanks
    kanika

    Hi Kanika,
    There are 2 ways:
    In the configuration of your view you can set the fields as display mode.
    In the method get_i* of your atributtes you can disable the field too.
    I think the better solution is using the configuration.
    Best regards,
    Caíque Escaler

  • How do I set up a .pdf form to save filled data without having to print the form?

    How do I set up a .pdf form to save filled data without having to print the form?  I have provided my clients a lifecycle .pdf form they can use to record data for unique client meetings.  They want the ability to save their completed data whenever they use the form under a unique file name.  I've told them the only way I know how to do this is to print the completed form as a .pdf document and then save it. 
    Is their a way to save the data to a unique file name without printing the filled form?
    Is there a way to reset the form with blank fields after saving? or to add a clear fields button?
    Thanks.

    If you reader extend  a pdf using livecycle reader extensions then you can save the filled in data - this is true if you are using Adobe reader to view the PDF's. If you open it in Acrobat then the functionality is already there.

  • Setting password in pdf file in oracle apps

    Hi
    Here is my requirement to set password protech in pdf file and send to email.Can anyone help me how to set password in pdf file in oracle apps 11i
    Thanks

    File > Properties. Then under Security change Security method to None; enter the Control password when prompted. Then Save As.

  • Pdf display issues in IE.

    I seem to have a tricky issue with displaying pdf through a java servlet in IE. The pdf displays properly when i hit the servlet for the first time; but when i try to open a new window I get a blank screen. I see in the browser status that the pdf is downloading but nothing appears in the IE7 browser window. There is no such issue in firefox or safari. I have a pretty standard generic servlet to display all content files and not just pdf files. I can post the code if required. Let me know if any ideas on how to debug/solve this ?

    Thanks for the pointers. I havent had the chance to debug a lot. but after seeing your comment it does look like some kind of caching or session related issue. So if you open a completely new IE browser window then the pdf opens up fine but not from the same window (in a new tab) ? Unfortunately we have a the pdf in a iframe in our portal and a link to open the pdf in a new window !!

  • Pdfs display fine in every other browser and on pc, just not in ie

    Can't view PDF on the web
    have done EVERY single thing on this page to no avail, pdfs display fine in every other browser and on pc, just not in ie
    I have acrobat pro 11 and windows 8.1
    have tried every help article on the internet I can find and still nothing...am probably going to have to get used to another browser, this issue has taken hours and hours and still cannot get it to work

    Install the latest update of Reader or Acrobat (done, no effect)
    Adobe releases free security updates quarterly. It is important to update your version of Reader or Acrobat to the latest release. The updates often include fixes to common problems. Download the latest free update:
    Note: Microsoft Windows 7 requires Adobe Reader 9.2 or later.
    1.      Open Reader or Acrobat.
    2.      Choose Help > Check for Updates. If a new update is available, it installs automatically.
    3.      Once installed, restart your computer.
    To the top<http://helpx.adobe.com/acrobat/kb/cant-view-pdf-web.html>
    Refresh or reload the page (done, no effect)
    Often, just refreshing the page allows the PDF to load fully.
      Hold down the Shift key and press the    Refresh or    Reload button in the browser.
    Try to view a different PDF (done, no effect)
    Try viewing a different PDF. For example, see if this sample form<http://help.adobe.com/en_US/Acrobat/9.0/Samples/flatform.pdf> displays in your browser.(DOES NOT OPEN) If Acrobat or Reader can open the sample form, then the other PDF could be damaged or the web server could be having problems. If possible, contact the individual or company who manages the website.
    1.      Try to view a PDF on your hard drive .  (ALL PDFS OPEN ON HARD DRIVE)
    To the top<http://helpx.adobe.com/acrobat/kb/cant-view-pdf-web.html>
    Problem with the browser or its settings?
    Use a different web browser  (Pdf'S open in alternate browsers)
    Certain conditions on your computer, such as security settings or browser cookies, can prevent you from viewing a PDF. Often, the fastest solution is to try to open the page using a different browser. Try any of the following browsers that you have not already tried:
    Mozilla Firefox<http://www.mozilla.com/firefox/>
    Microsoft Internet Explorer<http://www.microsoft.com/windows/internet-explorer/default.aspx>
    Apple Safari<http://www.apple.com/safari/download>
    For a list of compatible browsers for Reader and Acrobat X, see this list of Compatible web browsers<http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html>.
    Switch to Compatibility View (Internet Explorer) (done, no effect)
    Some websites display better in the Compatibility View of Internet Explorer. The Compatibility View displays a page as if it was an earlier version of the browser. For instructions on how to switch to this view, see one of these documents on the Microsoft website:
    Internet Explorer 9: How to use Compatibility View in Internet Explorer 9<http://windows.microsoft.com/en-us/windows7/How-to-use-Compatibility-View-in-Internet-Expl orer-9>
    Internet Explorer 8: Why are some web pages blank or incorrectly displayed in Internet Explorer<http://windows.microsoft.com/en-US/windows7/webpages-look-incorrect-in-Internet-Explorer>.
    Restart your computer and try opening the PDF again (done, no effect)
    Restart your computer, then open the web page again. Restarting clears the computer memory and memory cache. It is surprising how often simply restarting your computer resolves a display issue.
    Delete temporary Internet files (Internet Explorer, Firefox, and Chrome) (done, no effect)
    Clear the browser cache (sometimes called 'temporary Internet files') to ensure that you are viewing a fresh version of the page. When you open a web page, the browser saves a temporary copy so that it opens more quickly next time. You want to force the browser to load the entire page directly from the server, rather than displaying a stored copy.
    Reset the Display PDF In Browser preference (done, no effect)
    1.      In Reader or Acrobat, right-click the document window, and select Page Display Preferences.
    2.      From the list at left, select Internet.
    3.      Deselect Display PDF In Browser, and then click OK.
    4.      Choose Edit > Preferences > Internet, select Display PDF In Browser, and then click OK.
    5.      Try to open the PDF again from the website.
    View PDF in 32-bit version of Internet Explorer or Safari (done, no effect)
    Acrobat and Reader are 32-bit applications on Windows. If you try to open a PDF in a 64-bit version of Internet Explorer, the PDF opens in stand-alone Acrobat or Reader, not in Internet Explorer.
    Remove DreamFactory (Firefox only) (done, no effect)
    If you receive the error "Cannot use Adobe Reader to view PDFs in your web browser," do the following:
    1.      Choose Start > Run, type appwiz.cpl in the Open text box, and then click OK to open the Add Or Remove Programs dialog box.
    2.      Select Change Or Remove Programs in the Add Or Remove Programs dialog box, select DreamFactory Runtime for Netscape, Mozilla and Firefox, and click Change/Remove.
    3.      Click OK in the Remove Programs From Your Computer dialog box.
    To the top<http://helpx.adobe.com/acrobat/kb/cant-view-pdf-web.html>
    Problem with Reader or Acrobat?
    Remove unmatched or multiple versions of Reader or Acrobat  (already did this including running a cleaner from the Adobe site) (done, no effect)
    Repair Reader or Acrobat (done, no effect)
    Reader or Acrobat could be damaged. Repairing the installation is a quick troubleshooting safeguard.
    Repair from within Reader or Acrobat (done, no effect)
      (Reader) Choose Help > Repair Adobe Reader Installation.
      (Acrobat) Choose Help > Repair Acrobat Installation.
    Repair using Control Panel (Windows) (done, no effect)
    You can also repair your Acrobat or Reader installation using the Windows Control Panel.
    Enable the Adobe PDF browser add-on (Internet Explorer) (done, no effect)
    Make sure that the Adobe PDF browser add-on, AdobePDF.dll, is enabled.
    Run Acrobat or Reader in a new local administrator account (done, no effect)
    Optimize large PDF files (not the problem)
    If the PDF file is 4 MB or larger, ask the provider to optimize the PDF file. For information about optimizing PDF files, see
    Check the registry path for Acrobat or Reader (Windows) (done, no effect)
    Repair the HKCR\AcroExch.Document registry key (Windows) (done, no effect)

  • Does Safari support a interactive PDF with hidden layers? I'm on version  5.0.3 and the interactive PDF displays just fine, but our web development team tells me all the layers display when they view the same PDF on Safari.

    Does Safari support interactive PDFs with layers? Through the use of hidden layers and buttons we built in interactivity that allows the viewers to click on buttons to display different content. When I view the PDF in Safari 5.0.3 on my Mac OS 10.5.8 the PDF displays fine and the interactivity works. However our web design firm tell me the PDF displays all the hidden layers when they view it in Safari. Who's right?

    Try updating your Safari to the latest version, 5.0.5.
    Also check whether the rest of your system is up to date by going to Software Update in the Apple menu.

  • In PDF display of smartform in polish langauge - copyright character prob

    hi gurus!
    In PDF display of smartform in polish langauge - copyright character is not displaying properly.its showing # for copyright character. but It displays in english language.
    please need ur help.
    thanks
    SG

    Please note - the duplicate post in General has been deleted  Please only post a question in one forum.
    Thank-you

  • [Bug Report] CR4E V2: Exported PDF displays Japanese characters incorrectly

    We now plan to transport a legacy application from VB to Java with Crystal Reports for Eclipse. It is required to export report as PDF file, but result PDFs display Japanese characters incorrectly for field with some mostly used Japanese fonts (MS Gothic & Mincho).
    Here is our sample Crystal Reports project:   [download related resources here|http://sites.google.com/site/cr4eexportpdf/example-of-cr4e-export-pdf]
    1. PDFExportSample.rpt located under ..\src contains fields with different Japanese fonts.
    2. Run SampleViewerFrameClient#main(..) to open a Java Report Viewer:
        a) At zoom rate 100%, everything is ok.
        b) Change zoom rate to 200% or 50%, some fields in Japanese font collapse.
        c) Export to PDF file,
             * Fonts "MS Gothic & Mincho": both ASCII & Japanese characters failed.
             * Fonts "Meiryo & HGKyokashotai": everything works well.
             * Open PDF properties, you will see all fonts are embedded with built-in encoding.
             * Interest to note that copy collapsed Japanese characters from Acrobat Reader, then
               paste them into a Notepad window, Notepad will show the correct Japanese characters anyway.
               It seems PDF export in CR4E mistaking to choose right typeface for Japanese characters
               from some TTF file.
    3. Open PDFExportSample.rpt in Crystal Report 2008 Designer (trial version), and export it as PDF.
        The result PDF displays both ASCII & Japanese characters without any problem.
    Test environment as below:
    * Windows XP Professional SP3 (Japanese) with MS Office which including extra fonts (i.e. HGKyokashotai)
    * Font version: MS Gothic, Mincho, Meiryo, all in Version 5.0
        You can download MS Meiryo from Microsoft's Site:
        http://www.microsoft.com/downloads/details.aspx?familyid=F7D758D2-46FF-4C55-92F2-69AE834AC928&displaylang=en)
    * Eclipse 3.5.2
    * Crystal Reports for Eclipse, V2, 12.2.207.r916
    Can this problem be fixed? If yes how long will it take to release a patch?
    We really looking forward to a solution before abandoning CR4E.
    Thanks for any reply.

    I have created a [simple PDF file|http://sites.google.com/site/cr4eexportpdf/inside-the-pdf/simple.pdf?attredirects=0&d=1] exported from CR4E. It is expected to display "漢字" (or in unicode as "\u6F22\u5B57"), but instead being rendered in different ones of "殱塸" (in unicode as "\u6BB1\u5878").
    Look inside into this simple PDF file (you can just open it with your favorite text editor), here is its page content:
    8 0 obj
    <</Filter [ /FlateDecode ] /Length 120>>
    stream ... endstream
    endobj
    Decode this stream, we get:
    /DeviceRGB cs
    /DeviceRGB CS
    q
    1 0 0 1 0 841.7 cm
    13 -13 569.2 -815.7  re W n
    BT
    1 0 0 1 25.75 -105.6 Tm     <-- text position
    0 Tr
    /ttf0 10 Tf                 <-- apply font
    0 0 0 sc
    ( !)Tj                      <-- show glyphs [20, 21], which index is to embedded TrueType font subset
    ET
    Q
    The only embeded font subset is defined as:
    9 0 obj /ttf0 endobj
    10 0 obj /AAAAAA+MSGothic endobj
    11 0 obj
    << /BaseFont /AAAAAA+MSGothic
    /FirstChar 32
    /FontDescriptor 13 0 R
    /LastChar 33
    /Subtype /TrueType
    /ToUnicode 18 0 R                            <-- point to a CMap object
    /Type /Font
    /Widths 17 0 R >>
    endobj
    12 0 obj [ 0 -140 1000 859 ] endobj
    13 0 obj
    << /Ascent 860
    /CapHeight 1001
    /Descent -141
    /Flags 4
    /FontBBox 12 0 R
    /FontFile2 14 0 R                            <-- point to an embedded TrueType font subset
    /FontName /AAAAAA+MSGothic
    /ItalicAngle 0
    /MissingWidth 1000
    /StemV 0
    /Type /FontDescriptor >>
    endobj
    The CMap object after decoded is:
    18 0 obj
    /CIDInit /ProcSet findresource begin 12 dict begin begincmap /CIDSystemInfo <<
    /Registry (AAAAAB+MSGothic) /Ordering (UCS) /Supplement 0 >> def
    /CMapName /AAAAAB+MSGothic def
    1 begincodespacerange <20> <21> endcodespacerange
    2 beginbfrange
    <20> <20> <6f22>                         <-- "u6F22"
    <21> <21> <5b57>                         <-- "u5B57"
    endbfrange
    endcmap CMapName currentdict /CMap defineresource pop end end
    endobj
    I can write out the embedded TrueType font subset (= "14 0 obj") to a file named "[embedded.ttc|http://sites.google.com/site/cr4eexportpdf/inside-the-pdf/embedded.ttf?attredirects=0&d=1]", which is really a tiny TrueType font file containing only the wrong typefaces for "漢" & "字". It seems everything OK except CR4E failed to choose right typefaces from the TrueType file (msgothic.ttc).
    Is it any help? I am looking forward to any solution.

  • Return after PDF display

    I have a BSP that generates a PDF from a smartform when the user clicks a button, returns it as an XSTRING, and displays it, based on notes i found on other threads here. The smartform comes up fine, but when i close the page with the PDF displayed, the BSP view that was displayed when the smartform was generated is still there, hanging... no navigation is possible.
    folowing is my code... loadsheet is an object that generates my smartform and returns the xstring with the otf data in it. this is working FINE, as i can see the data when i comes back. One thing is that the PDF comes up in its own window, which is fine. but like i said the original window becomes "locked"
    * create the truckload list
      create object loadsheet
        exporting
          trkid = truck-trkid.
      formdata = loadsheet->return_xstring( ).
      response->set_header_field( name  = 'content-type'
                                   value = 'application/pdf' ).
      response->set_header_field(
                         name  = 'cache-control'
                         value = 'max-age=0' ).
      response->set_header_field(
                         name  = 'content-disposition'
                         value = 'attachment; filename=test.pdf' ).
      formlength = xstrlen( formdata ).
      response->set_data( data   = formdata
                          length = formlength ).
      navigation->response_complete( ).
    i would like to have the PDF displayed, and have the original view simply return to where it was.
    i am pretty new to this BSP thing, so any help would be appreciated....

    Hi,
    Try this different approach to display PDF:
    <b>* onInputProcessing or Oninitialization - Depends upon your need</b>
    DATA: cached_response TYPE REF TO if_http_response.
    DATA: guid TYPE guid_32.
    * generated result: PDF format
      data: pdfcontent  type xstring,
            lt_lines       type table of tline,
            ls_line        type tline,
            l_pdf_len      type i.
        CREATE OBJECT cached_response TYPE CL_HTTP_RESPONSE EXPORTING add_c_msg = 1.
        l_pdf_len = xstrlen( pdfcontent).
        cached_response->set_data( data   = pdfcontent
                            length = l_pdf_len ).
        cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                           value = 'application/pdf' ).
        cached_response->set_status( code = 200 reason = 'OK' ).
        cached_response->server_cache_expire_rel( expires_rel = 180 ).
        CALL FUNCTION 'GUID_CREATE'
          IMPORTING
            ev_guid_32 = guid.
        CONCATENATE runtime->application_url '/' guid '.pdf' INTO display_url.
        cl_http_server=>server_cache_upload( url      = display_url
                                             response = cached_response ).
      ENDIF.
      RETURN.
    <b>* Page attibutes:</b>
    display_url type string.
    <b>Add this code in the layout</b>
    <%  IF display_url IS NOT INITIAL.
          %>
          <s  cript language="Javascript"> " remove space between s cript
            window.open("<%= display_url%>").focus();
          </script>
          <%
      ENDIF.
    %>
    Hope this should sove your problem.
    Raja T

Maybe you are looking for

  • Keep getting popup that says "Firefox requires that you type your Kerberos password"

    While using Firefox, a window will start popping up asking me to type in my Kerberos password. The fields they give are for Name, Realm and Password. Does anyone know how to make this stop? If I keep clicking "Cancel," it will eventually stop popping

  • Syncing Apple TV to watch movies

    Hi Everyone, I have the most up to date ITunes and the new Apple TV, my question is, I have previously bought content from ITunes (TV Shows,Movies) from my MBP and they have been available to watch on my apple TV. I have some older movies on my MBP t

  • Crystal Reports for VS 2010  SetDataSource Problem

    Hi guys, I am trying to pass a dataset table to Crystal report in run time by using:  rptDocument.SetDataSource(DTS) problem is the report is showing many records and not records that are relevant to the data source I have set. I assume it shows data

  • Unicode remedeation..

    In the SELECTs tatement below i am getting an error as :- "SRTFDLOW" and "SRTFD" are not mutually convertible in a Unicode program. The data type for the two is : SRTFD is a 40 charater type field from PCL4 table....and                              D

  • Photoshop online help does not display

    Hello, I am having exactly the same problem reported last year by Alex with online help. It has not been answered so far. I'm using Photoshop CC 2014 French version under W7 64bits.  I have tried with different browsers (IE, FF and Chrome). I get err