Generate to PDF file anomaly

The generate to PDF file option produces duplicate rows for fields in the lowest level group under the following circumstances:
1. Report has been run to the viewer and the viewer window is open.
2. The PDF file to be produced does not exist already.
If the PDF file is then generated a second time, no duplicate rows are produced.
Also, when the PDF file to be produced does not exist already, if the PDF file is generated after the report has been run to the viewer but the viewer window has been closed, no duplcate rows are produced.
Is this a Reports bug or is there something in my report I should address? We are running Report Builder 6.0.8.23.0

sounds like a bug, however make sure you are on the latest patchset and it still reproduces there. then you need to open a service request with oracle support services and they will, in case this issue is not already logged as one, create a bug for this.
thanks,
ph.

Similar Messages

  • How to preserve a background color, when generating a PDF file

    I am trying to create a PDF file from some application. Please note that the picture in this application has the black background. So I invoke a Print command and set a printer as "Adobe PDF". As a result, I have generated
     a brilliant PDF file of my picture, but on the WHITE background. When selecting the Adobe PDF printer, I have looked through all its settings ( in the Adobe PDF settings, I have found several tabs: General, Images, Fonts, Color, Advanced, PDF/X), none of them generated the original background color. 
    So how can a generate a PDF file, having the original background color (black, in my case) ?
    Oleg

    Now I feel that the background definition in the Adobe PDF printer and the background definition in the application the Adobe PDF printer is invoked from -- two different things. So I guess how can I define the black background in the Adobe PDF printer? I cannot find such settings.

  • Parameter issue - report not generating any pdf files

    Hi All,
    I'm trying to run a report which generates pdf files. Is there any limitation on the parameter string size? For one of the parameter values - '11F EA Accept nonhonor ASnSOMnSON_20091201090150846' the report is not generating any pdf files. I assumed the reason is of the keyword 'AS' in it and created another parameter value - '11F EA Accept nonhonor AnS-SOM-SON_20091202074331997', but it is also not generating any pdf files. I get this message from Adobe Reader " There was an error opening this document. This file cannot be opened because it has no pages. " The report is working normally when i hardcode the same parameter values into the logic. Any suggestions on this?
    Thanks.
    Edited by: user1049091 on Dec 2, 2009 9:17 AM
    Edited by: user1049091 on Dec 2, 2009 12:37 PM

    Tim,
    That report is working normally for all the parameter values, except this one. It is not working only if i pass the value - ''11F EA Accept nonhonor ASnSOMnSON_20091201090150846' as a parameter. It is generating the pdf files when i hardcode the same value into sql query logic in the data template, instead of passing it as a parameter. Please advise.
    Thanks.

  • Images present in datagridview not exporting to file only text contents are generating into PDF file..

    Hi Everyone,
       I have created simple Desktop app in that I trying to generate PDF file from Datagridview...when I click on ExportPDf button Pdf file is generation successfully but the issue is in that pdf whatever the images has present in datagridview that images
    are not generation into PDF only the text contents are Present in PDF file.
      Does any one can tell me how to generate the PDF file along with images.
    Here is my code:
      private void btnexportPDF_Click(object sender, EventArgs e)
                int ApplicationNameSize = 15;
                int datesize = 12;
                Document document = null;
                try
                    SaveFileDialog savefiledg = new SaveFileDialog();
                    savefiledg.Filter = "All Files | *.* ";
                    if (savefiledg.ShowDialog() == DialogResult.OK)
                        string path = savefiledg.FileName;
                        document = new Document(PageSize.A4, 3, 3, 10, 5);
                        PdfWriter writer = PdfWriter.GetInstance(document, new FileStream(path + ".pdf", FileMode.Create));
                        document.Open();
                        // Creates a phrase to hold the application name at the left hand side of the header.
                        Phrase phApplicationName = new Phrase("Sri Lakshmi Finance,Hosur-560068", FontFactory.GetFont("Arial", ApplicationNameSize, iTextSharp.text.Font.NORMAL));
                        // Creates a phrase to show the current date at the right hand side of the header.
                        Phrase phDate = new Phrase(DateTime.Now.ToLongDateString(), FontFactory.GetFont("Arial", datesize, iTextSharp.text.Font.NORMAL));
                        document.Add(phApplicationName);
                        document.Add(phDate);
                        iTextSharp.text.Image img = iTextSharp.text.Image.GetInstance("D:\\logo.JPG");
                        document.Add(img);
                        iTextSharp.text.Font font5= iTextSharp.text.FontFactory.GetFont(FontFactory.TIMES_ROMAN, 5);
                        iTextSharp.text.Font font6 = iTextSharp.text.FontFactory.GetFont(FontFactory.HELVETICA_BOLD, 6);
                        //float[] columnDefinitionSize = { 2.5f, 7.0f,6.6f, 8.6f, 6.6f, 5.0f, 4.5f, 7.0f, 6.3f, 7.0f, 3.5f, 6.0f, };
                        PdfPTable table = null;
                        table = new PdfPTable(dataGridView1.Columns.Count);
                        table.WidthPercentage = 100;
                        PdfPCell cell = null;
                        foreach (DataGridViewColumn c in dataGridView1.Columns)
                            cell = new PdfPCell(new Phrase(new Chunk(c.HeaderText,font6)));
                            cell.HorizontalAlignment = PdfPCell.ALIGN_CENTER;
                            cell.VerticalAlignment = PdfPCell.ALIGN_CENTER;
                            cell.BackgroundColor = new iTextSharp.text.BaseColor(240, 240, 240);
                            table.AddCell(cell);
                        if (dataGridView1.Rows.Count > 0)
                            for (int i = 0; i < dataGridView1.Rows.Count; i++)
                                PdfPCell[] objcell = new PdfPCell[dataGridView1.Columns.Count];
                                for (int j = 0; j < dataGridView1.Columns.Count - 0; j++)
                                    cell = new PdfPCell(new Phrase(dataGridView1.Rows[i].Cells[j].Value.ToString(), font5));
                                    cell.HorizontalAlignment = PdfPCell.ALIGN_LEFT;
                                    cell.VerticalAlignment = PdfPCell.ALIGN_LEFT;
                                    cell.Padding = PdfPCell.ALIGN_LEFT;
                                    objcell[j] = cell;
                                PdfPRow newrow = new PdfPRow(objcell);
                                table.Rows.Add(newrow);
                        document.Add(table);
                        MessageBox.Show("PDF Generated Successfully");
                        document.Close();
                    else
                        //Error 
                catch (FileLoadException fle)
                    MessageBox.Show(fle.Message);
                    MessageBox.Show("Error in PDF Generation", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
    Runtime Gridview content:
    Generated PDF File:
    Thanks & Regards RAJENDRAN M

    Hi Everyone,
       I have created simple Desktop app in that I trying to generate PDF file from Datagridview...when I click on ExportPDf button Pdf file is generation successfully but the issue is in that pdf whatever the images has present in datagridview that images
    are not generation into PDF only the text contents are Present in PDF file.
      Does any one can tell me how to generate the PDF file along with images.
    Here is my code:
      private void btnexportPDF_Click(object sender, EventArgs e)
                int ApplicationNameSize = 15;
                int datesize = 12;
                Document document = null;
                try
                    SaveFileDialog savefiledg = new SaveFileDialog();
                    savefiledg.Filter = "All Files | *.* ";
                    if (savefiledg.ShowDialog() == DialogResult.OK)
                        string path = savefiledg.FileName;
                        document = new Document(PageSize.A4, 3, 3, 10, 5);
                        PdfWriter writer = PdfWriter.GetInstance(document, new FileStream(path + ".pdf", FileMode.Create));
                        document.Open();
                        // Creates a phrase to hold the application name at the left hand side of the header.
                        Phrase phApplicationName = new Phrase("Sri Lakshmi Finance,Hosur-560068", FontFactory.GetFont("Arial", ApplicationNameSize, iTextSharp.text.Font.NORMAL));
                        // Creates a phrase to show the current date at the right hand side of the header.
                        Phrase phDate = new Phrase(DateTime.Now.ToLongDateString(), FontFactory.GetFont("Arial", datesize, iTextSharp.text.Font.NORMAL));
                        document.Add(phApplicationName);
                        document.Add(phDate);
                        iTextSharp.text.Image img = iTextSharp.text.Image.GetInstance("D:\\logo.JPG");
                        document.Add(img);
                        iTextSharp.text.Font font5= iTextSharp.text.FontFactory.GetFont(FontFactory.TIMES_ROMAN, 5);
                        iTextSharp.text.Font font6 = iTextSharp.text.FontFactory.GetFont(FontFactory.HELVETICA_BOLD, 6);
                        //float[] columnDefinitionSize = { 2.5f, 7.0f,6.6f, 8.6f, 6.6f, 5.0f, 4.5f, 7.0f, 6.3f, 7.0f, 3.5f, 6.0f, };
                        PdfPTable table = null;
                        table = new PdfPTable(dataGridView1.Columns.Count);
                        table.WidthPercentage = 100;
                        PdfPCell cell = null;
                        foreach (DataGridViewColumn c in dataGridView1.Columns)
                            cell = new PdfPCell(new Phrase(new Chunk(c.HeaderText,font6)));
                            cell.HorizontalAlignment = PdfPCell.ALIGN_CENTER;
                            cell.VerticalAlignment = PdfPCell.ALIGN_CENTER;
                            cell.BackgroundColor = new iTextSharp.text.BaseColor(240, 240, 240);
                            table.AddCell(cell);
                        if (dataGridView1.Rows.Count > 0)
                            for (int i = 0; i < dataGridView1.Rows.Count; i++)
                                PdfPCell[] objcell = new PdfPCell[dataGridView1.Columns.Count];
                                for (int j = 0; j < dataGridView1.Columns.Count - 0; j++)
                                    cell = new PdfPCell(new Phrase(dataGridView1.Rows[i].Cells[j].Value.ToString(), font5));
                                    cell.HorizontalAlignment = PdfPCell.ALIGN_LEFT;
                                    cell.VerticalAlignment = PdfPCell.ALIGN_LEFT;
                                    cell.Padding = PdfPCell.ALIGN_LEFT;
                                    objcell[j] = cell;
                                PdfPRow newrow = new PdfPRow(objcell);
                                table.Rows.Add(newrow);
                        document.Add(table);
                        MessageBox.Show("PDF Generated Successfully");
                        document.Close();
                    else
                        //Error 
                catch (FileLoadException fle)
                    MessageBox.Show(fle.Message);
                    MessageBox.Show("Error in PDF Generation", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
    Runtime Gridview content:
    Generated PDF File:
    Thanks & Regards RAJENDRAN M
    Hello,
    Since this issue is mainly related to iTextSharp which belongs to third-party, I would recommend you consider posting this issue on its support website to get help.
    Maybe the following forum will help.
    http://support.itextpdf.com/forum/26
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • After the last update that was pushed out by Adobe, my Acrobat 9 Pro will not generate a PDF file fr

    After the last update that was pushed out by Adobe, my Acrobat 9 Pro will not generate a PDF file from; [right click], Combine files into one PDF multiple files chosen in the explorer.  A message pops up asking if I want to run repair.  Answering in the afirmative results in another message stating files are missing.  And we are back at square one.

    What is the exact error?  Else you could always reinstall your software.

  • How to generate a pdf file from Excel

    Hi all,
    I've a Excel file i want to generate a pdf file by using java...can any one explain wht r the things r required. If ur answer is "iText" or "apache FOP" then wht r the things to be needed...I want to know the exact answer...step by step....plz help me out...
    Eagarly waiting for reply...
    regards
    [email protected]

    hi,
    I've a idea on jdk,,,i need to know who to use FOP packages?
    regards,
    [email protected]

  • How to generate a pdf file using javascript?

    I would like to generate a pdf file having images in it using javascript. I tried jsPDF but getting some exceptions like
    Uncaught ReferenceError: pageWidth is not defined,
    fail to load pdf document
    Could anyone show me some pointers?
    Thank You
    Rahul

    Here is my code
    var myImg=new Image();
      myImg.src=arrData['employee'][1]['Image'];
      myImg.crossOrigin ="Anonymous";
       var imgData = this.getBase64Image(myImg);
       var doc = new jsPDF();
       doc.setFontSize(40);
       doc.text(35, 25, "Test Image");
       doc.addImage(myImg, 'JPEG', 15, 40, 180, 160);
       doc.save("sample1.pdf");
    I'm receiving the following error at 'addImage' function.
    Uncaught Error: getJpegSize could not find the size of the image
    Could you please help in pointing out where am I going wrong.
    Thank You

  • Generate a PDF file Using Adobe Document Service

    Hi All,
    How can I generate a PDF file using Adobe Document Service? The content of the PDF can be from any DataSource (Oracle/ BW/ R3 ).
    Can anyone get me some information.Points will be rewarded
    Thanks in advance
    Deepak Raj

    Hi Raj,
    You can look into this blog
    Creating your first application using Interactive forms
    If you get your answer ...set the thread as "answered"
    Regards,
    Sekhar

  • How to generate a pdf file

    hi i want to generate a pdf file using a java program, i have a string of xml format i want read the string and get each node of the string then
    pass it to generate pdf.how to do this, the problem is if i want to read
    xml then i must use org.w3c.dom.Element, but for pdf generation i must use com.lowagie.text.Element , so how to solve this.
    please help.
    rafel

    Well, obviously XML and PDF are two very different kinds of format, and it's up to you how one is going to be mapped into the other. There are at least two PDF APIs available free, but it's not a trivial format to manage.
    It's impossible to give you any more advice with the limited information you've supplied.

  • Generate a PDF file

    Hi all
    I am trying to generate a PDF file from the browser contents(html).
    if i give the mime type as owa_util.mime_header(ccontent_type => 'application/vnd.ms-excel'); i am able to genetate a excel file
    but on the other hand if i use owa_util.mime_header(ccontent_type => 'application/pdf');
    i thoucht that i will et pdf output but
    nothing happens
    i am using pl/sql language to generate this code (i mean it is a pl/sql portlets).
    can any one help me on this plz.
    thanks
    Balaganesh

    hi, Jaber,
    The basic coding is listed as following:
    package mypackage1;
    import com.lowagie.text.Image;
    import com.lowagie.text.Element;
    import com.lowagie.text.Document;
    import com.lowagie.text.DocumentException;
    import com.lowagie.text.PageSize;
    import com.lowagie.text.Paragraph;
    import com.lowagie.text.Rectangle;
    import com.lowagie.text.html.HtmlWriter;
    import com.lowagie.text.pdf.PdfWriter;
    import com.lowagie.text.rtf.RtfWriter2;
    import com.lowagie.text.Image;
    import com.lowagie.text.pdf.PdfPCell;
    import com.lowagie.text.pdf.PdfPTable;
    import java.awt.Color;
    import com.lowagie.text.pdf.BaseFont;
    import com.lowagie.text.Font;
    import com.lowagie.text.Chunk;
    import com.lowagie.text.pdf.BarcodeEAN;
    import com.lowagie.text.pdf.PdfContentByte;
    public class Servlet1 extends HttpServlet
    public void doGet (HttpServletRequest request, HttpServletResponse response)
    throws IOException, ServletException {
    // step 1
    // Create new document with A4 pagesize and standard margins: Left(3.18cm), Right(3.18cm), Top(2.54cm), Bottom(2.54cm).
    Document document = new Document(PageSize.A4, 93, 93, 72, 72);
    try {
    // step 2
    // Set the ContentType and create an instance of the corresponding Writer
    response.setContentType("application/pdf");
    PdfWriter writer = PdfWriter.getInstance(document, response.getOutputStream());
    //Define Chinese fonts.
    BaseFont bfChinese = BaseFont.createFont("STSong-Light", "UniGB-UCS2-H", BaseFont.NOT_EMBEDDED);
    Font font_section = new Font(bfChinese, 12, Font.NORMAL|Font.BOLD);
    // step 3
    // Open the document
    document.open();     
    // step 4
    // Add the text.
    Paragraph application_name = new Paragraph("System Account Application Form", font_application);
    application_name.setAlignment(Element.ALIGN_CENTER);
    application_name.setSpacingAfter(10);
    document.add(application_name);
    catch(DocumentException de) {
    de.printStackTrace();
    System.err.println("document: " + de.getMessage());
    // step 5: we close the document (the outputstream is also closed internally)
    document.close();
    thanks
    George
    My HK travel blog: http://hktour.blogspot.com
    (Update daily)

  • How do I generate the pdf file using the name of a field.  How can I help

    how do I generate the pdf file using the name of a field.  How can I help

    Hi,
    here's a sample.
    LiveCycle Blog: Formulare in bestimmte Verzeichnisse speichern und nach Inhalt aus Formularfeld benennen //Save forms to…

  • Automatically Generate a PDF File and a Paper Copy

    Is it possible to generate a PDF file automatically when a report is printed to paper?  I don't want the users to print to paper in one process then have to print a second time to a PDF file because that step will be forgotten.

    Hi Layne,
    I haven't heard of something like this. I'm sure CR does not have this functionality, however there could be third party add-ons for CR that could do this.
    -Abhilash

  • Each page of Oracle Report Generates separate pdf file.

    I have a problem that i want that oracle report runs for one time and generates sepatate pdf files for each oracle report page.eg. if there are 8 page of report then 8 pdf files should generate (one pdf file for each page) but the condition is that the print job is set to NO and page range should not be given each time.

    What version of Reports are you using?
    If it's 10g then have a look at Report Bursting as this should enable you to send the report to multiple files based on a repeating group.
    Mark

  • Error when I generate a PDF file - Can't parse printer configuration file:

    I am receiving an error "Can't parse printer configuration file: uiprint.txt" when try generate to PDF file. The pdf file is generated but when I open the forms builder and show canvas the same error appears and canvas is shown in crazy way.
    My uiprint.txt has the follows:
    REPORTS_TMP=/tmp; export REPORTS_TMP
    REPORTS_NO_DUMMY_PRINTER=TRUE; export REPORTS_NO_DUMMY_PRINTER
    REPORTS_TAGLIB_URI=/WEB-INF/lib/reports_tld.jar; export REPORTS_TAGLIB_URI
    REPORTS_CLASSPATH=$ORACLE_HOME/reports/jlib/rwbuilder.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/j2ee/home/oc4j.jar:$ORACLE_HOME/j2ee/home/lib/ojsp.jar;export REPORTS_CLASSPATH
    TK60_UNKNOWN=$ORACLE_HOME/guicommon6/tk60/admin; export TK60_UNKNOWN
    TK60_PPD=$ORACLE_HOME/guicommon6/tk60/admin/PPD; export TK60_PPD
    LE_HOME/guicommon9/tk90/admin/AFM; export TK90_AFM
    TK60_FONTALIAS=$ORACLE_HOME/guicommon6/tk60/admin; export TK60_FONTALIAS
    PRINTER=testprint;export PRINTER
    TK2_PRINTER=echo;export TK2_PRINTER
    testprint:PostScript:2:HP printer:hp4si3_1.ppd
    Can someone help me?
    Thanks

    Hello,
    The file uiprint.txt must not contain environment variables definitions.
    Put the lines :
    REPORTS_TMP=/tmp; export REPORTS_TMP
    REPORTS_NO_DUMMY_PRINTER=TRUE; export REPORTS_NO_DUMMY_PRINTER
    REPORTS_TAGLIB_URI=/WEB-INF/lib/reports_tld.jar; export REPORTS_TAGLIB_URI
    REPORTS_CLASSPATH=$ORACLE_HOME/reports/jlib/rwbuilder.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/j2ee/home/oc4j.jar:$ORACLE_HOME/j2ee/home/lib/ojsp.jar;export REPORTS_CLASSPATH
    TK60_UNKNOWN=$ORACLE_HOME/guicommon6/tk60/admin; export TK60_UNKNOWN
    TK60_PPD=$ORACLE_HOME/guicommon6/tk60/admin/PPD; export TK60_PPD
    LE_HOME/guicommon9/tk90/admin/AFM; export TK90_AFM
    TK60_FONTALIAS=$ORACLE_HOME/guicommon6/tk60/admin; export TK60_FONTALIAS
    PRINTER=testprint;export PRINTER
    TK2_PRINTER=echo;export TK2_PRINTER
    in the file reports.sh
    and keep only
    testprint:PostScript:2:HP printer:hp4si3_1.ppd
    in uiprint.txt
    Regards

  • Field error when generated to pdf file

    hi all,
    please help.
    I have an oracle report generated which will show numeric figures out. eg. 500.00
    when this report generated to pdf file, the numeric figures field becomes 4835.50.
    Does anyone comes across this issue? i checked with my software vendor and they said this is an oracle bug when generating oracle report 6i to pdf file.
    Is this true?
    Please advise. Appreciate anyone help here.
    Best Regards.

    Hi,
    check with this file.
    'uifont.ali ' file in "$ORACLE_HOME/guicommon6/tk60/admin " folder.
    try with this.
    --Basava.S                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • Error in transaction forein exchange purchase

    Good evening. I am created one transaction of foreing exchande purchased for USD 1.000.000. The transaction used is TX01. When I save the transaction the system display next message: FTR_TRD012. Recording position management: Error during distributio

  • Windows partition will not open using Boot Camp on iMac 10.9.5

    OS:  27" desktop iMac, Maverick 10.9.5, 8 GB RAM HD Partions:  iMac OS X, Windows 7,  Boot Camp For some unknown reason I am having problems getting Windows 7 to open after starting up in Boot Camp, and it's getting progressively worse. After startin

  • Error in accessing OLE registry

    Hi everyone, I encountered the error : title: SBOAddon Error error: Error in accessing OLE registry when installing Fixed Assets in client's machine. Anyone see this error before? I have sent log to SAP and they are not familiar with it too. Im still

  • NYT Editor's Choice app not loading

    I just got my iPad and everything is working fine except the NYT Editor's Choice app will not load. I try to open the app and it just says loading and doesn't do anything. I have tried reinstalling the app numerous times but that hasn't worked. Does

  • How to give free to a product

    hi, How can we give free to a product where and how it has to be done . i.e consider cycle i like to give a umberlla free then if a customer order 10 cycle then i have to give them 10 umberlla while delivery . how can do it help me ......