WEB.SHOW_DOCUMENT sometimes doesn't display the generated PDF file

Hi all,
I'm using the following code to generated my report from Forms:<br><br>
V_REPORT_ID := FIND_REPORT_OBJECT(V_REPORT_NAME);
V_REPORT_SERVER_JOB:= RUN_REPORT_OBJECT(V_REPORT_ID,P_LIST);
    V_JOB_ID := substr(V_REPORT_SERVER_JOB,length(:GLOBAL.REPORTS_SERVER)+2,length(V_REPORT_SERVER_JOB));
    V_REPORT_STATUS := REPORT_OBJECT_STATUS(V_REPORT_SERVER_JOB);
LOOP
   IF V_REPORT_STATUS = 'FINISHED' THEN          
      V_TMP_PDF := :GLOBAL.APACHE_HTML_FOLDER ||'rpt'|| V_JOB_ID  ||'.pdf' ;
     COPY_REPORT_OBJECT_OUTPUT(V_REPORT_SERVER_JOB, V_TMP_PDF );
    WEB.SHOW_DOCUMENT(:GLOBAL.AS_HOME_URL ||  'rpt'|| V_JOB_ID  ||'.pdf' ,'_BLANK');     
    END IF;
END LOOP; <br><br>
Everything works fine except the WEB.SHOW_DOCUMENT part. In some clients, this command does what it required from it and opens a new browser window with the PDF report displayed on it. In some other clients, this command does nothing: now window dispalyed. When I refer to the Application Server, I see the PDF report successfully generated there. When I put the URL of the generated report manually in the browser address, I can see the report.
<br><br>
<b>Why the WEB.SHOW_DOCUMENT doesn't display the generated PDF report in some clients?</b>

I agree with the previous 2 posters.
Also firefox and ie handle it differently. Make sure you test on what your clients use.
Sometimes acrotray.exe is completely retarded and doesn't work.

Similar Messages

  • Sometimes, when we open the multiple pdf files, menu bar is disappearing without any reason.

    Sometimes, when we open the multiple pdf files, menu bar is disappearing without any reason.

    Hi pramodg23752205,
    Okay, so are you facing this issue with all the machines or with a particular machine?
    Does 'F9' key resolves the issue?
    Regards,
    Rahul

  • Stacks doesn't display the icons for files

    My downloads stack doesn't show the icons for the files it contains
    Best way to describe is by showing a photo
    http://img130.imageshack.us/img130/6176/screenshot20100102at130.png
    I don't know why this happens, any help would be appreciated, tried searching the internet for answers but couldn't find anything listing a similar problem

    *THANK YOU!!!*
    I'd been having this problem for weeks and it was driving me nuts!! I tried installing the 10.6.3 v1.1 Combo Update today (thinking the problem was caused by the first upgrade to 10.6.3), but that obviously didn't work. Tried messing w/ Airfoil b/c some people complained about it screwing up icon previews; didn't work. Tried deleting the Quicklook.thumbnailcache; didn't work.
    After reading this post I opened the Console and saw a .mkv file was screwing with quicklookd.
    Deleted it -> problem solved!
    Thanks again!

  • How to dynamically set the name of the generated PDF file sent by email

    Hello,
    I am using Reports 10g and I managed to send PDF reports by email, specifying the recipient, subject, format etc, using the reports servlet URL.
    But there is one thing that I cannot find a way to do: I want to dynamically set the name of the attached file. It defaults to the name of the RDF file (eg monthly_sales.pdf). I would like it to be something more meaningful (eg monthly_sales_072010.pdf, where 072010 is the month and year passed by parameters).
    Is it possible to do it?
    Thanks
    Luis

    Use System.load(...) instead of System.loadLibrary(...).

  • (269091446) Q WWSD-10 Is the generated WSDL file by Weblogic use for UDDI registration?

    Q <WWSD-10> Is the generated WSDL file by Weblogic use for UDDI registration?
    A <WWSD-10> WLS6.1 does not provide UDDI services and it has no automatic way to
    register your web service with a service broker or repository. If you were to do
    it yourself one of the things you would have to supply would be the WSDL file that
    describes your web service.

    Q <WWSD-10> Is the generated WSDL file by Weblogic use for UDDI registration?
    A <WWSD-10> WLS6.1 does not provide UDDI services and it has no automatic way to
    register your web service with a service broker or repository. If you were to do
    it yourself one of the things you would have to supply would be the WSDL file that
    describes your web service.

  • Generated PDF file - damaged

    Hi there,
    We experience some problems when generating reports in PDF formats. The generated file cannot be opened, and it looks damaged.
    The XML Publisher enterprise runs on a Unix Platform, and the clients run with Windows XP SP2.
    On metalink, we found this note: 296750.1 (Reports PDF Output To File Is Damaged / Corrupted When Opened in Adobe Acrobat), but it refers to Oracle Reports Developer.
    Does someone know more about this?
    thank you,
    Liviu

    Hi all
    I have a requirement where I need pass few parameter & generate report in PDF output which will display data in table.
    I tried using XML Publisher, where I created the rtf template & run report through my web application using url with
    necessary parameters But after running the report, in the PDF output,the generated PDF file is damaged (not supporting file type error)
    Am I missing some setting?
    Thnks in advance
    Vishal Kulkarni

  • Difference in generated PDF file size between distiller 6.0 and 10.0

    Hi,
    we are currently using Distiller server 6.0.1 on Windows server 2003 to convert PS to PDF, we want to upgrade our operating system to Windows server 2008 R2 but distiller server is not supported on this,
    so we are evaluating Acrobat distiller 10 which comes along with Acrobat pro x but we noticed some slight difference in the generated PDF file size, for the same PS the distiller server 6.0 generated PDF
    file size of 55 KB whereas Acrobat distiller 10 generated PDF file is 53 KB. The output looks same but wondering whether is it safe to continue further with the file size difference, it would be good
    if you could provide some insight into why the file sizes are different between these two versions.
    Thanks,
    Anand

    LiveCycle PDF Generator is the successor to Distiller Server
    Modules | Adobe LiveCycle Enterprise Suite 4

  • Browser doesn't display the right web page

    Hey everyone,
    I have this problem with a web page that doesn't display
    right. What happen was my client has a news web page that is being
    updated once every week. The way I update it is changing the
    content on Dreamweaver and copy the codes and pasting them on the
    server interface, and resave them. Thus, over riding the old news
    page.
    Everything display right on my computer. The only thing is I
    have to refresh my browser in order for the right page to show up.
    Once it did, then it stays as that.
    The thing is, my client still sees the old news page even
    after I've replaced it with the new codes.
    I've done this for him for over 3 months, and this problem
    has never occur before.
    I don't understand why it's like this. If this is happening
    to him, wouldn't it be happening to other people's computer as
    well. If it is, then it's bad news, cause no one would like to
    always have to refresh their browser for the right news page to
    show.
    Could anyone explain why this is happening? And how would it
    affect other users? Or is this even possible.
    Thanks in advance, everyone.
    Jen

    It sounds like a cache issue. When you view the page, that
    page is loaded into your (or your client's) browser's cache memory.
    This is done so that when you return to that page it will load
    faster (since it is already loaded into memory).
    This will only happen if a person has been to the page
    recently. There is a limit on the amount of information your
    browser will store in cache memory. The more you surf, the more
    likely it is that the page will be replaced in the cache memory
    with some other information.
    You (and your client) can, depending on what browser you are
    using, set your preferences so that all web pages will be
    completely reloaded every time you visit them. In IE 6 for Win:
    Tools>Internet Options>Settings> Select 'Every visit to
    the page'. You can also set your cache to be the minimum amount of
    space alotted. Note: This doesn't really work very well in IE 6 for
    WIN. I use firefox for reviewing changes because I have found IE 6
    is completely unreliable for viewing the latest.
    Most other browsers will allow you to hold down Shift and hit
    'refresh' to throw out the cache for that page and view the latest.
    As far as I know this is standard operating procedure for proofing
    new pages.
    If there is a coding technique to force a browser to use only
    the latest information, I don't know what it is.
    Good luck.

  • Has Mozilla changed the way Firefox displays @font-face enbeded fonts? The site I'm codeing works in Safari, Chrome, and IE, but Firefox 8.0.1 doesn't display the embeded font.

    Has Mozilla changed the way Firefox displays @font-face enbeded fonts? The site I'm codeing works in Safari, Chrome, and IE, but Firefox 8.0.1 doesn't display the embeded font.

    No problems here with the H1 headers.
    Reload web page(s) and bypass the cache.
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)

  • Every time I try to access the ASPX pages, the browser doesn't display the pages. Instead, a popup box asks if I want to open or save

    every time I try to access the ASPX pages, the browser doesn't display the pages. Instead, a popup box asks if I want to open or save

    What site is doing this? 99% of the time it is a problem with the headers sent from the web server.

  • Some browser doesn't display the MW page correctly

    after installing Maintenance Wizard 2.17, some browser doesn't display the MW page correctly, some menu function is missing. The display problem is not for everyone, some user's browser have no problem. Some user's IE are displaying it correctly. i.e. one user has both IE and firefox working, however, after she clear her java cache, both browser refuses to display the MW page correctly.
    The resolution of PCs is set to the same value. however, the size of the text isn't. after changing the size of the text, some of our pc start to work. The display web page for MW doesn't show the right most menu item. After resize the screen, we find it is because of the blue frame for the MW page that stop to dynamical stretch up to 20 inches.
    The menu item is been streched out of the blue frame, they are no longer displayable
    any ideas?

    We have the same problem.
    And find it is caused by a combination of your screen resolution, font size and browser window size.
    The blue frame that displays the Oracle Mainentance Wizard banner doesnt dynamical strech to the full window size.
    After experiment with it, MW can display much better in our case.

  • Verify_function doesn't display the error messge in oracle forms

    We are planning to use the verify_function to validate the password when user password is expires.
    The users are using Forms 6i on web.
    When I set the profile to user verify_fucntion and then try to change the password with the default password change window , it doesn't display the error message if the crieteria doesn't match. Instead it just clears the screen. So the user doesn't get any idea what's going on.
    has anybody seen this. We are trying to utilize the default password change functionality instead of coding our own.....in forms
    Thanks,
    Dj

    It can be that the spry:content does not support the function::<syntax> or that your impelementation is wrong. You can try this:
    spry:content="function::FormatDate"
    Like you would implement the function statement in the spry:if statements.
    If that doesn't do the trick you need to modify the SpryData.js if you need this kind of support.

  • How to create a task list view in c# that doesn't display the timeline

    How can I create a view for a task list using c# that doesn't display the timeline.  I want to do this using server side code but I can't seem to find a view property that will hide the timeline.  I know how to do it manually through the UI but
    I need to automate it.
    Caroline

    Hi Garoline,
    We can set ViewData of the view to empty to achieve your requirement. The following code snippet for your reference:
    using (SPSite site = new SPSite("http://sp2013sps/"))
    using (SPWeb web = site.OpenWeb())
    SPList list = web.Lists["TaskList"];
    SPViewCollection allviews = list.Views;
    string viewName = "Test View";
    System.Collections.Specialized.StringCollection viewFields = new System.Collections.Specialized.StringCollection();
    viewFields.Add("Checkmark");
    viewFields.Add("LinkTitle");
    viewFields.Add("Due Date");
    viewFields.Add("Assigned To");
    string myquery = "<where><gt><fieldref name='ID' /><value type='Counter'>0</value></gt></where>";
    allviews.Add(viewName, viewFields, myquery, 100, true, false);
    SPView view=list.Views[viewName];
    view.ViewData = "";
    view.Update();
    Best Regards,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • My iphone 6 doesn't display the battery duration values

    My iphone 6 doesn't display the battery duration and standby in battery settings, and replaces the values with - even if I completely charged my battery last time. Can someone help me?

    Try these two:
    Restore from backup
    Restore as new
    http://support.apple.com/en-us/HT201252

  • After updating iPhoto to 9.2 Photoshop CS2 doesn't display the photo I have opened.  The photo shows in the Navigator on the side panel, but not on the screen.  MFF

    After updating iPhoto to 9.2, Photoshop CS2 doesn't display the photo on the desktop screen, even though the image is shown in the Navigator pallet well to the right.

    No, that is the problem.  I don't see how it should be, but that is what happened after I did the upgrade, which was for iPhoto 9.2.  The upgrade then required that the Library be upgraded.  Then CS2 stopped showing the photo when I opened CS2.  Maybe there was a system upgrade for the whole system, that went along with 9.2.  Before the upgrade CS2 worked.  I even tried photos that I had on backup disks, and they wouldn't show in CS2 even though I had draged them to the PS icon in the dock.  These photos were not on my computer when the Library was upgraded.  I even tried photos fresh from the camera. Elements 9 does work to open the photos.

Maybe you are looking for

  • Maximize Purchase Order -- Error -- Its Urgent!!!!

    Hai To All,               Iam customizing Purchase Order Form. There iam adding one button near cancel button. If i maximum purchase order form i got the following error and SAP Application is closed. The instruction at "0x77fcb333" referenced memory

  • SQL Loader/External Table multiple record delimiters

    Hi every one. I have a strange problem, I have an external csv file which i wish to deal with (external tables or sql loader). This csv is totally not organized in structure and it contains records that are mixed together, meaning that some records a

  • Looking for Freelance/ Part Time LabVIEW opportunities in Midlands UK

    Hi All, Along my full time Mon - Fri job as Automation Software Engineer (Siemens TIA Portal, step7 simatic manager, WinCC Flex, s7-graph, Proagent and NI LabVIEW), I am looking for additional freelance/ contract opportunities in writing LabVIEW code

  • Unable to pair to my TV using youtube

    I used to pair my iPhone to my smart TV using youtube to be able to type my search youtube using my iPhone virtual keyboard. I used to go to the page youtube.com/pair on my phone safari, and it used to work perfectly. Recently every time I type that

  • How to set to manual network selection

    How do I switch to manual network selection