Empty PDF

Hello All,
When a group is not being displayed, i am using the following code in the template and added the Section Break before the if condition as well
<?if@section:not(//G_CUSTOMER)?>No Data Found<?endif?>
SampleData
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by Oracle Reports version 10.1.2.0.2 -->
<XXTA_SHIP_LABEL>
<LIST_G_CUSTOMER>
</LIST_G_CUSTOMER>
<CP_COUNT></CP_COUNT>
<CP_BOX></CP_BOX>
<CP_ORDER_NUMBER></CP_ORDER_NUMBER>
<CP_SHIP_DATE></CP_SHIP_DATE>
<CP_NDF_MESSAGE1>NO_DATA_FOUND</CP_NDF_MESSAGE1>
<CP_NDF2>FALSE</CP_NDF2>
</XXTA_SHIP_LABEL>
But i get the error , *"There was an error opening the document.This file cannot be opened because it has no pages".*
Please let me know.
Thanks
Rakesh
Edited by: Rakesh S on Nov 30, 2009 9:30 PM

use
<?if@section:not(/XXTA_SHIP_LABEL/LIST_G_CUSTOMER/G_CUSTOMER)?>No Data Found<?end if?>or
<?if@section:count(/XXTA_SHIP_LABEL/LIST_G_CUSTOMER/G_CUSTOMER) =0?>No Data Found<?end if?>

Similar Messages

  • Empty PDF in IE after opening FDF directly from Outlook

    Hi,
    im currently facing a old/known problem and i found no optimal solution for it.
    One of our clients migrated from XP to Win7 and since that the opening of a FDF-file from Outlook only opens the empty PDF in IE (Internet Explorer).
    (I found the problem in this forum, but no solution: "FDF file not opening in IE 8 with Adobe reader 9 or Adobe pro 9" - http://forums.adobe.com/message/3753591#3753591 )
    I did some investigation and found, that the problem seems to be the Folder "C:\Users\MYUSER\AppData\Local\Microsoft\Windows\Temporary Internet Files", where Outlook saves the FDF-file temporarily to open it with IE. (this folder is a Windows-'Systemfolder', the FDF-file can be found in a hidden subfolder 'Content.Outlook\????????\' (??..?? are various alphanumeric chars))
    If you browse to that folder and opens the FDF manually it shows the same behaviour (only empty PDF) as opened with Outlook.
    If you copy the FDF out of the 'Temporary Internet Files' eg. to 'C:\Users\MYUSER\AppData\Local\Microsoft\Windows\' or Desktop and then opens the FDF the PDF will be opened correctly filled within IE.
    After playing a lot with IEs Security-Settings i found that disabling the 'protected mode' for the 'Internet'-zone solves the problem and PDFs get opened filled, but for security reasons this is not an option (IE warns on disabling 'protected mode' that's a risk for your computer).
    Another way I found was using another temp-path for Outlook-attachments - defined by registry-key 'HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Security\OutlookSecureTempFolde r'  - eg. 'C:\temp' (our client is currently evaluating this solution - it's also not perfect for security reasons)
    Any other ideas to solve this problem (except my initially one - using Firefox ;-) - i think Firefox is a perfect solution, but sadly not accepted by the client)?
    thanks

    I hate to bring up an old post, but I also have the same issue.  We also found that disabling the UAC solved the issue, but is not an acceptable solution for our client either.
    I went on MS forum asking what the UAC might be doing and was told to come ask the Adobe forums (how convenient)
    So if anyone has found anything on this subject, I'm all ears!

  • If I want to create an empty PDF file how much disk space does it require?

    I want to creat empty PDF document of A4 size. How much disk space does it require ?
    Please let me know.

    I think I would have just tried, and probably already have my answer...

  • Empty PDF created by Acrobat XI Pro

    Hi,
    The more I am using Acrobat XI Pro for Mac, the more I find out some issues around that.
    I am using emacs to write a C++ program.  Emacs support postscript print so I print the buffer to a ps file.
    Preview can open the ps file  but the same file become empty when openning with Acrobat XI Pro (distriller).
    Is it to do with the fonts but those fonts are used by Apple Font manager as well. I think I am using Monaco size 12.
    Next question would be how can I make the Apple font used by Acrobat XI Pro
    I tried to check the settings in Acrobat Distriller but except things like standard, high quality, etc I do not find anything to note for postscript file conversion.
    Anybody come across this issue?
    Thanks,
    SS

    it says something like "compliance out of range".
    Acrobat Distiller 11.0
    Started: Friday, May 3, 2013 at 9:29 PM
    Adobe PostScript software version: 3018.101
    CID support library initialization completed.
    Error in /Library/Application Support/Adobe/Adobe PDF/Settings/PDFX4 2008.joboptions:
    /CheckCompliance out of range
    Distilling: smatrix.ps
    Start Time: Friday, May 3, 2013 at 9:29 PM
    Source: /Users/xyz/Documents/Cpp8th/notescpp/smatrix.ps
    Destination: /Users/xyz/Documents/Cpp8th/notescpp/smatrix.pdf
    Adobe PDF Settings: /Library/Application Support/Adobe/Adobe PDF/Settings/Standard.joboptions
    Distill Time: 0 seconds (00:00:00)
    **** End of Job ****
    I google it a bit and it probably says Acrobat Distriller does not support the "PDFX4 2008.joboptions". I have no idea why emacs create a .ps file which Distriller does not support it. 
    What do I do next?

  • GET_PRINT_DOCUMENT returns empty PDF

    I'm attempting to use the GET_PRINT_DOCUMENT API to create a pdf report and store it in a table. However, the api always returns an empty BLOB. The test report for the Report Query, 'testSQL', runs fine.
    The 'After Submit' process is as follows:
    DECLARE
    v_pdf blob;
    BEGIN
    v_pdf := APEX_UTIL.GET_PRINT_DOCUMENT (p_application_id => 16228
    ,p_report_layout_name => 'testSQL'
    ,p_report_query_name => 'testLayout'
    ,p_report_layout_type => 'rtf'
    ,p_document_format => 'pdf');
    INSERT INTO report_inbox(user_id, report_name,mime_type, report)
    VALUES ('ddornan','TestPDF', 'application/pdf',v_pdf);
    COMMIT;
    END;

    Hi David.
    I am using the same syntax code block with success. The only things I can suggest are..
    1) Double check the spelling and CaPiTaLiSaTiOn of your query name and template name.
    2) You may want to conisder declaring your application ID as a variable like this...
      v_app_id             NUMBER(10) := NV('APP_ID'); Thus avoiding any deployment issues with hardcoded application ID's.
    Aside from that, the syntax looks great.
    I'd be happy to take a look at the application for you if you put it on APEX.oracle.com
    I've got quite a bit of experience using this functionality and would be happy to share any knowledge I can.
    Simon.

  • Empty pdf report created by web service-Solved

    Hi, I'm trying to test the web service for BI Publisher with an xml data source and evn though I get no errors in jdeveloper, I get an empty report. Can anyone see anything wrong with my call to the webservice?
    public static void main(String[] args) {
    try {
    bip_webservice.proxy.PublicReportServiceClient myPort = new bip_webservice.proxy.PublicReportServiceClient();
    System.out.println("calling " + myPort.getEndpoint());
    String username = "cbashyb";
    String password = "testing";
    String reportAbsolutePath = "/~cbashyb/Contract Renewal/Contract Renewal.xdo";
    //Testing runReport
    ReportRequest repRequest = new ReportRequest();
    repRequest.setReportAbsolutePath(reportAbsolutePath);
    repRequest.setAttributeTemplate("Contract_Renewal_Upgrade");
    repRequest.setAttributeFormat("pdf");
    ReportResponse repResponse = new ReportResponse();
    repResponse = myPort.runReport(repRequest,username,password);
    String contentType = repResponse.getReportContentType();
    System.out.println(contentType);
    byte[] baReport = repResponse.getReportBytes();
    FileOutputStream fio = new FileOutputStream("C:\\Documents and Settings\\cbashyb\\My Documents\\XML Publisher\\renewal letter\\Brian.pdf");
    fio.write(baReport);
    fio.close();
    Edited by: user647407 on Dec 9, 2008 8:47 AM

    The missing slashes are from the formatting OTN uses, not something left out of your code?
    ("C:
    Documents and Settings\\cbashyb
    My Documents
    XML Publisher
    renewal letter
    Brian.pdf");

  • Mail - Empty PDF Attachments when moved from 'Junk' (Hotmail)

    Hi
    I've been using Mail with Hotmail (IMAP) for some time; a recent update resolved the constant errors you'd get when deleting or moving emails between folders.
    However, if I receive a PDF attachement from an unknown sender, this goes into Junk.. I then drag it to my Inbox. Occasionally (not consistently) this results in the PDF (when it finally gets round to resyncing the inbox) refusing to open with the message 'The file <name> could not be opened because it is empty'.
    This is really inconvenient when you get tickets, policy docs etc from a new sender address and then you have to try and get whoever sent it to you to resend.
    Once it has been moved it also appears empty on outlook.com and if you download it you get a zero-byte file.
    This has only happened since the last update to mail - I'm now on Version 7.2 (1874).
    Anyone else seeing this?
    Thanks
    Aaron

    You're welcome.
    It looks like you moved the missing messages into mailboxes stored on the server. Is that correct? Have you checked your .Mac account on the web to see whether they appear there? If they don't, I'm not positive that we'll be able to recover them.
    It also looks like the junk filter isn't working very well in your case (too many false positives). Do the messages that Mail incorrectly treats as junk come from people in your Address Book or in your Previous Recipients list?
    Verify/repair your disk first (not just permissions), as described here:
    The Repair functions of Disk Utility: what's it all about?
    After having fixed all filesystem issues, if any, and making sure that there's enough space available on the startup disk (a few GB, plus the space needed to make a backup copy of the Mail folder), try this:
    1. Quit Mail if it's running.
    2. In the Finder, go to ~/Library/Mail/. Make a backup copy of this folder, just in case something goes wrong -- e.g. by dragging it to the Desktop while holding the Option (Alt) key down.
    3. Locate Envelope Index and move it to the Trash. If you see an Envelope Index-journal file there, delete it as well.
    4. Move the entire "Mac-" account folder to the Trash. Note that you can do this with IMAP-type accounts because they store mail on the server and Mail can easily re-create them. Do not trash any "POP-" account folders (if there were any), as that would cause all mail stored there to be lost.
    5. Open Mail. It will tell you that your mail needs to be "imported". Click Continue and Mail will proceed to re-create Envelope Index -- Mail says it's "importing", but it just re-creates the index if the mailboxes are already in Mail 2.x format.
    Post back with your observations.
    Note: For those not familiarized with the ~/ notation, it refers to the user's home folder, i.e. ~/Library is the Library folder within the user's home folder.

  • Spool generates empty pdf page?

    Hi all,
    I am writing to spool using
    new-page print on parameters p_parame
    after that I get the spool number for the generated spool and use the following function to generate a pdf file:
        call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
             exporting
                  src_spoolid              = spool_num
                  no_dialog                = 'X'
             importing
                  pdf_bytecount            = pdf_length
             tables
                  pdf                      = it_pdf_file.
    But this function only generates an empty page? If I look at the sp01 with the spoolnumber the writing data is there.
    Does somebody already had this problem?
    Thanks for any help or information,
    Marcelo Moreira

    I'm having the same issue, check your apache error logs.
    Each time the page not found error in the browser is shown there is a error generated by the database:
    [Wed Sep 19 19:25:52 2007] [error] mod_plsql: /pls/apex/wwv_flow.accept ORA-22293
    ORA-22293: LOB already opened in the same transaction
    Someone was hinting that this issue could be related to the possibly the nlslanguage settings. I'd be interested to hear if anyone solves this one.
    My environment is on 10g running in Windows through an Apache mod_plsql that was installed with Oracle 9i install on Linux.

  • Getting empty pdf from oracle reports

    %PDF-1.4
    1 0 obj
    /Creator(Oracle11gR1 as Reports Services)
    /CreationDate(D:20
    Above is the content in the pdf when its gettig generated. My project involves multiple locations in the world. This error is happening only in particular location.
    Can anyone help me on why this is happening?
    Thanks,
    Kaushik. G

    ...from Java and returns an empty result setMy guess would be that something is wrong with your java code.

  • Why empty pdf ?

    I wrote same DPF files as text files in Android RFO-Basic. Plenty various Android and Windows programs read that files except Android Adobe Reader (shows 1 empty page only) ! Why?
    Read for example next one.
    miki
    %PDF-1.4
    2 0 obj
    [/PDF]
    endobj
    1000 0 obj
    <</Length 0>>
    stream
    50 50 m
    300 300 l
    S
    endstream
    endobj
    10000 0 obj
    <</Type/Page/Parent 10 0 R/MediaBox [0 0 612 792]
    /Contents
    [1000 0 R]
    /Resources<</ProcSet 2 0 R >>
    >>
    endobj
    1 0 obj
    <</Type/Catalog
    /Pages 10 0 R
    >>
    endobj
    10 0 obj
    <</Type/Pages
    /Kids [10000 0 R]
    /Count 1
    >>
    endobj
    xref
    0
    trailer
    <</Size 0/Root 1 0 R >>
    startxref
    0
    %%EOF

    Thanks for answer.
    I am developing quite big CAE program. The program creates Protocol of Analysis in form of PDF.
    Nobody  is allowed to edit and change this file (xref=0)
    PDF is created dynamically from various text and graphic data, to define the length of stream in advance is complicated (and for reason of file – see above - needless)
    In Adobe Reader for Windows (and plenty other programs) I can rely on repairing, as you said.
    I like programs witch work in the same way on all platforms. My question was: Why Adobe Reader works differently in Android?
    Is the answer “why, why too lazy” ?
    miki

  • Scan to computer using HP Officejet Pro 8500 produces empty pdf

    Hi,
    Since upgrading Windows on my computer from 8 to 8.1, the scan to computer function does not work properly. It produces a pdf file that is 0kb and when I try to open the file it says it is not a supported file or the file is damaged. The scan to USB works fine, and the scan to computer still works fine with other computers on the network that are using earlier versions of Windows.
    I have uninstalled and reinstalled the drivers, run the HP install wizard, run the HP diagnostic utility and the HP doctor. The HP doctor says that everything is working fine.
    What can I try next?
    Thanks,
    Beth

    Welcome to the forums Beth
    Thank you for posting in the community. I will certainly do my best to help you with the scanning issue you are running into after upgrading to Windows 8.1. I would like you to try a few things.
    Could you please run the HP Print and Scan Doctor again and report back to me with any errors it may show or if it shows the software is not installed. (If you can recall the tool showing if the software was installed or not, disregard running the tool again).
    I would also like for you to try scanning by using Microsoft Paint to see if the scan will work that way.
    There is a video on this post that will show you how to scan through Paint if you need assistance: Scanning with Paint in Windows 8
    Try scanning by using the Solution Center from your desktop and let me know if you see any errors as well.
    Hope to hear back from you!
    Enjoy your Thursday
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Empty pdf files?

    I'm saving an online document, but when i retrieve it, I get  a warning message that it cannot be open, because the file is empty.  What am I doing wrong?

    https://discussions.apple.com/message/24256959#24256959#24256959

  • Appendding page/pages to  existing non-empty PDF Document

    Hi !
    I am trying to append a page to existing PDF Document without creating new PDF document page.
    But I am not able to find the rigtht solution.
    I used IText, JPX libraries.
    can we append a page/pages to existing PDF document ? if , could you please give any example code....
    Thanks in advance..........

    Thanks Robert,
    I meant a "Log In" link in an existing page should NOW redirect to CRM Web UI login page.
    My question was, in the existing non-SAP page, should there be some html/javascript code to redirect the user to the CRM Web UI login page URL?...
    II don't think it's as simple as <a href="http://www.WEB_UI_URL.com"></a>  I will go thru what "URL rewriting" is all about but still wondering what it takes to fulfill the requirement...Coding / server settings etc...
    Sorry if repeating myself....
    JD

  • Empty PDF when printing from report

    I have a number of reports where I want to be able to download the report as both CSV and PDF.
    The CSV download works fine but the PDF only contains the headers, no data. The printer is set up otherwise I wouldn't be able to get a PDF at all.
    Is there anything obvious I might have overlooked?
    Thanks in advance.

    Hi,
    We have the exact same problem with an interactive report in Apex 3.2. The CSV export works fine, but the PDF file only shows the header.
    The problem only occurs when using a page item in the where clause. Is that a bug ? How can I fix this ?
    Thanks
    Patrick

  • Empty PDF File

    I am having a problem opening a PDF file. I downloaded a 3MB PDF file from Smartsheet and saved it onto my hard drive. When I open the saved downloaded PDF file it is blank and states in a box "the selected document cannot be opened". Why is the contents of this PDF file emply when it  is populated when I open it in Smartsheet?

    > Any idea why and what it would take to solve the problem?
    This files are damaged. Inform the creator of the files.

  • InteractiveForm results in empty PDF

    Hi,
    i've installed ADS on my WAS6.40 SP9 J2EE Engine and created a web dynpro application in which i've used some nodes/values in the interactiveform.
    when I start this application, i see an empty/white object where the intercativeform should be. no errors.
    do you have some hints, why this happens / where to look for errors?
    kr, achim

    i've found an error message in \j2ee\cluster\server0\log\services\XMLFormModule
    Jan 31, 2005 5:42:14 PM         com.adobe.document.XMLFormService [SAPEngine_Application_Thread[impl:3]_34] Error: $$$/ProcessResource/msg.getConfigPropertyStringErr=Exception while getting property - received com.adobe.service.NoSuchPropertyException: IDL:com/adobe/service/NoSuchPropertyException:1.0 for property ConfigXML
    any ideas?
    kr, achim

Maybe you are looking for

  • Ipod shuffle not recognized by win vista

    Hi, I just gave my sister my old ipod shuffle because i bought the iphone. however when she tries to sync the ipod, when she connects the ipod to the laptop itunes won't recognize the ipod and it does not show up under devices what do I do to fix thi

  • Error Message on Redirect

    Hi all, I have configured an error page in web.xml when an error occurs - e.g. the file size limit exceeded. This is a plain html page as I have not found a way to use a jsp. Is it possible to give a detail error message? I want an error page similar

  • Strange fan problem

    Whenever I plug my MBP into an external monitor (Apple brand), the fans go to 6,000rpm (basically max speed) and stay there. I've checked the core temperature and it's only about 60-65 celsius so there's not need for the fans to max out. I've also lo

  • Apple TV vs. Netflicks

    So I'm trying decide whether to get the apple tv or the netflicks movie streaming device. The largest fact keeping me from going with the atv is that you must pay like 3.99 for each movie while netflicks offers a subscription starting at 8.99 a month

  • What to do with a new Berry.

    I'm planning on upgrading my 8530 to a 9650.  How do I get all my info, apps, settings, and media transferred over to the new phone.  Will Desktop Manager do this or do I need different versions of everything.  Thanks. Got my first ever Blackberry on