Problem un PDF generation

Hi all,
      I have a litle problem in the generation of a PDF file that become in a base64 file, from R3, later, i'm proces it and get the URL to finally show incide in a IFRAME in the propertie "SOURCE".
     That work successfully but only for PDF's that contain only 1 page. Now for other files with more than 1 page, the IFRAME not solve the archive, que keep a loop to never end, obviously because not found the second page.
     Some idea's ???, some that was the same problem???
Thaks in advance.
Jorge.

Hi Chaitanya,
     The URL that is generated, besides i'm displaying in a textEdit to look the URL. This text i'm make a copy / paste in other page, and neither show the same loop. Now using a Link to URL show the same problem.
     By the way, i'm send the same routine to a friend and he's make a deploy to other WAS and was generated correctly the PDF, but in my was not work.
Thanks in advance.
Jorge

Similar Messages

  • Problem With PDF Generation With CFDOCUMENT

    I am having a problem with generating PDF's from my web
    pages.
    For example...if you go here
    http://www.michaelpumo.com
    and click the "Convert to PDF" link on the left you'll see that the
    output is totally wrong.
    Is it to do with my markup? I can't figure this out.
    Many thanks in advance.

    I, along with many others have had these types of problems
    and so far adobe hasn't addressed them (or at least I couldn't find
    anywhere where they have).
    Kapitaine, Have you tried outputting to flashpaper? Most of
    my formatting problems only occur in PDF.
    For instance, align right does not work properly. It pushes
    everything to the right, but is not flushed to the right so the
    output looks very unprofessional. This cfdocument was a good idea,
    and a good selling point but it is embarrassing to have sold my
    boss on it only to find out it is almost worthless in it's current
    state. BTW I'm working on a CFMX7.0.2 on Linux RHEL4.

  • Presentation variable problem in PDF generation

    Hi,
    I have created the custom field using the following code
    *case when (V_balance.yr<=@{var_year}{2009} and V_balance.yr>=@{var_year-3}{2006}) then 1 else 0 end*
    Use this field I have created the filter and remove the field from report.
    When I run the report with different prompts, its working fine as I expected in dashboard.
    But when I generate the PDF for different prompt values ( var_year=2008 ) , I got same result. That is its generate var_year=2009 (default presentation variable)
    Its generate the pdf with 'presentation variable default values' instead of presentation variable.
    How could I rectify this problem.
    Any one facing this problem.
    Is there any alternative for this condition
    Note:
    We are using bise1 10.1.3.2.1
    but I got a right answer in obiee 10.1.3.4.0
    Thanks
    Mohan
    Edited by: Mohan 8732779 on Nov 23, 2009 5:50 AM

    This is a known issue in 10.1.3.2. Oracle solved this problem in the new upgraded 10.1.3.4. Check the Meta link for the service request numbers raised for this problem. How hard it would be for you to migrate to 10.1.3.4.
    Thanks
    Prash

  • Problem with PDF generation from Interactive Report

    Greetings,
    I created an interactive report and chose CSV and PDF download options. I am able to create CSV but when I try to download a PDF it says that that acrobat reader cannot open the created pdf file. I am not sure what I should do to make it work. Please help.
    -Vatsa

    Hey there,
    That happened to me when I had an & sign in the page title name. If you have some weird symbols in the page title, try changing them. Then it will work.
    PS
    Make sure in the title name and page name there are no weird symbols.
    Mike
    Message was edited by:
    weezy f

  • APEX 4.1 - APACHE FOP PDF generation problem.

    Hi all,
    I'm having problem with PDF generation using APACH FOP on OC4J.
    When I test my print server as described here:
    http://marcsewtz.blogspot.com/2008/06/heres-another-posting-on-pdf-printing.html
    everything works without problem. But when I upload my Layout to APEX and try to generate PDF from apex I'm getting error:
    oracle.xml.parser.v2.XMLParseException: Unexpected EOF.
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
         at oracle.xml.parser.v2.XMLReader.popXMLReader(XMLReader.java:549)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1375)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:362)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:308)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:337)
         at oracle.xml.xslt.XSLProcessor.newXSLStylesheet(XSLProcessor.java:714)
         at oracle.xml.xslt.XSLStylesheet.<init>(XSLStylesheet.java:322)
         at oracle.xml.parser.v2.XSLStylesheet.<init>(XSLStylesheet.java:114)
         at apex_fop._jspService(_apex__fop.java:71)
         [SRC:/apex_fop.jsp:21]
    I could see similar post here:
    Handling Special characters in call to apex_util.download_print_document
    But it doesn't explain my case as it's crashing even when I generate empty pdf(no data so no special characters, only empty XML file with no data should be sent to print server)
    Is there any way to see what xml is sent do print server for processing? That could eventually show where is a problem.
    Palo

    My mistake, there was really an "&" character in my template. now when I replaced it with %26 it works.
    However I would be still interested if there is a way to see what data is APEX engine sending to print server cause it will help me to find this kind of errors.
    Palo

  • BI 7.0 Web PDF Generation

    Hi folks,
    I do have a severe problem with PDF generation and it looks like a common issue.
    I integrated Button to convert my Management Webreport to PDF, no big issue so far.
    But the generated PDF is not bevaing like expected. We do have a BI report that contains 3 charts horizontally alligned by a table to fit the screen and 1 table below
    those charts.
    This report fits perfectly on one page landscape.
    When generating PDF locally (PDF generator installed on client PC) Internetexplorer ==>PDF works as expected.
    When using the Button in Webtemplate to use the BI functionality to export to PDF the PDF is a mess.
    All template items are displayed in sequence taht means instead of 3 horizontal charts I see 3 charts and 1 table underneath each other.
    It looks like the old fashioned 3.x print function.
    My question:
    Is there a way to influence the PDF generation. Maybe a class ( like former 3.x  Table Interface) to modify to render the PDF like the template appearance?
    We cannot install PDF clients locally nor can we ship management those reports coming from BI. Report designer is no alternative because of missing functionality.
    TIA
    Joerg

    Thanks so far,
    currently when using the container item and referring by command wizard ( export to PDF) the system is not generating any item.
    Error Message 'file has no page and can't be opened...' occurs.
    I think this is a really urgent Development issue because I think printing via PDF is getting more and more important since not everyone is using IE7 ( which is not fully supported by SAP either) to scale pages for printing.
    Best regards
    Joerg

  • PDF Generation has problems

    Hi there,
    Our company uses Colffusion to make PDFs for our client.
    Recently, the PDF generation is incredible instable, causing
    corrupt PDF files or performance issues.
    I found out, that the problem lies within the including some
    picture. This slows down almost everything or sometimes the
    generation does not happen at all.
    Is there a solution for this? Is there a hot fix for that?
    Thanks for your reply

    Try <cfreport> instead of <cfdocument> which give
    better results for these type of pdf conversion and image
    issues...

  • PDF generation : FileNotFoundException problem

    Hi all,
    I'm developing a dynamic PDF generation module in web application using iText framework. This module creates PDF on the server side then sends it to the client. Sometimes, Even though the PDF file is created on the hard disk, I got FileNotFoundException when calling the servlet that sends it.
    My program is very simple (no thread used) :
    1- The client calls enters some inputs,
    2 - The iText based class generates the PDF,
    3 - The PDF created is saved as an attribute in the client session (HttpSession).
    4 - The request is redirected to servlet that sends the PDF.
    What could be the problem ?
    thx,

    In fact, I don't know what you mean by:
    3 - The PDF created is saved as an attribute in the client session (HttpSession).What do you mean by this? Did you save the proprietry PDF object? Or the java.io.File object? If it is the PDF object, does its class implement java.io.Serializable?
    Um ... Here are some suggestions ...
    First of all, make sure that the file really exists there.
    Secondly, try to write a Java SE program to read the file using the absolute path you provided.
    Then, if the Java SE program works, I think the reason may be that you haven't closed the "OutputStream" which writes the PDF file, or the security settings of your JSPServer prevents you from getting the file.
    Asuka Kenji (UserID = 289)
    (Duke Dollar Hunting now ...)

  • Help: PDF Generation Problems in Reports 3.0

    Hi Techies,
    We are generating PDFs from Oracle Reports 3.0
    The PDF generation is fine in some datbases.
    But in some database,when the records are more, during PDF
    generation, Dr.Watson error is encountered, saying access
    violation.
    Can any one please clarify whether the error is due to memory
    constraints on the system or if it has something to do with
    Oracle Reports setting, while generating PDFs.
    Do note that the reports are running fine, when the report has
    less number of records.
    Any suggestion/tip is awaited at the earliest.
    Thanks in advance,
    Geoff
    null

    Hi!
    Remove cache from output dir from time time.
    (i.e. from virtual dir where report server puts output)
    let me know ...
    later
    Geoff (guest) wrote:
    : Hi Techies,
    : We are generating PDFs from Oracle Reports 3.0
    : The PDF generation is fine in some datbases.
    : But in some database,when the records are more, during PDF
    : generation, Dr.Watson error is encountered, saying access
    : violation.
    : Can any one please clarify whether the error is due to memory
    : constraints on the system or if it has something to do with
    : Oracle Reports setting, while generating PDFs.
    : Do note that the reports are running fine, when the report has
    : less number of records.
    : Any suggestion/tip is awaited at the earliest.
    : Thanks in advance,
    : Geoff
    null

  • PDF Generation problems in Reports 3.0

    Hi,
    I am generating PDFs from Oracle Reports 3.0
    The PDF generation is fine in some datbases.
    But in some database,when the records are more, during PDF
    generation, Dr.Watson error is encountered, saying access
    violation.
    Can any one please clarify whether the error is due to memory
    constraints on the system or if it has something to do with
    Oracle Reports setting, while generating PDFs.
    Do note that the reports are running fine, when the report has
    less number of records.
    Any help in this matter is appreciated.
    Regards,
    PRAKASH
    null

    Hi!
    Remove cache from output dir from time time.
    (i.e. from virtual dir where report server puts output)
    let me know ...
    later
    Geoff (guest) wrote:
    : Hi Techies,
    : We are generating PDFs from Oracle Reports 3.0
    : The PDF generation is fine in some datbases.
    : But in some database,when the records are more, during PDF
    : generation, Dr.Watson error is encountered, saying access
    : violation.
    : Can any one please clarify whether the error is due to memory
    : constraints on the system or if it has something to do with
    : Oracle Reports setting, while generating PDFs.
    : Do note that the reports are running fine, when the report has
    : less number of records.
    : Any suggestion/tip is awaited at the earliest.
    : Thanks in advance,
    : Geoff
    null

  • Very slow PDF generation when conditional text is hidden in FM 9.0

    I am working on 96-page chapter of a larger book. A 7-page section of the chapter needs to be hidden until the next release, so I hid it with conditional text. After doing this, the "Save as PDF" printing process goes from taking 6-7 seconds to taking several minutes. If I unhide the conditional text in the same session, printing is very quick again.
    I have no problem generating very PDF files with the PDF printer in other applications (Word, PowerPoint). The issue is specific to FrameMaker and the use of conditional text. What might be causing this?
    I am using FrameMaker 9.0p255 and Distiller 9.0.
    - Chris

    Hi Jeff,
    These were good suggestions to try. Saving the document first has no effect on PDF generation.
    However, I did find that printing to the Adobe PDF printer remains fast when the conditional text is hidden. That's quite an interesting finding! I did also notice that these two methods of PDF generation aren't identical:
    "Save as PDF" opens an Adobe Distiller window, while printing to the Adobe PDF printer opens a different "Creating Adobe PDF" progress box (looks like it's from the printer driver itself).
    "Save as PDF" generates a 1188k PDF file, while printing to the Adobe PDF printer generates a 1049k PDF file.
    "Save as PDF" defaults to placing the PDF in FrameMaker's working directory, while printing to the Adobe PDF printer defaults to saving to the last place to saved a printed PDF file (awkward when working with multiple directories, as I often do).
    When I do a "Save as PDF", FrameMaker does still spool to the PDF printer. It is this spooling that takes a long time. Once spooling is complete, then the Distiller window opens and the PDF is created very quickly.
    I would still like to get "Save as PDF" working since it knows where to place the PDF file. No solution to the runtime yet, but at least there is progress...

  • PDF generation with FOP throws NPE

    Hi,
    Stack trace
    at oracle.xml.jaxp.JXTransformer.reportXSLException(JXTransformer.java:769)
    at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:342)
    I'm using standard Java 1.4 API calls to create a PDF document from a DOM with Apache FOP 0.20.5.
    The servlet is deployed to Oracle 10g Application Server 9.0.4.0.0. With Tomcat 4.1.30 the same code executes without exceptions
    Because I have to port our web application to Oracle for a new customer it is important for me to get this fixed soon.
    Thank you
    Eckard

    Light at the end of the tunnel: It seems to work when FO and PDF generation are separated. Until now the DOM was piped into FOP who internally created the FO from SAX events and then seems to parse it again to create PDF.
    I separated the two steps: There is no problem in FO generation, but due to a namespace problem subsequent parsing fails
    ("org.apache.fop.apps.FOPException: null:2:10 Root element is missing the namespace declaration: http://www.w3.org/1999/XSL/Format")
    Now the correct exception comes up. Whether FOP SAX event listener is buggy or XML parser's error handling has a problem, I don't know
    Thank you anyway
    Eckard

  • Layout problem in PDF conversion

    Hi all,
    i am downloading spool data using the function module CONVERT_ABAPSPOOLJOB_2_PDF. But i am facing layout problem. e.g. RFBILA00(financial statement generation program) has written balancesheet data to the spool. This spool data has some 6 columns. but CONVERT_ABAPSPOOLJOB_2_PDF is writing only first 3 columns to the generated PDF file. i used 'GET_PRINT_PARAMETERS' function module also with values like layout as 'X_65_132' and 'X_90_120'. but no success. if anybody knows the answer, please let me know.
    Thanks in advance,
    Naveen

    Hi All,
    i am following the below approach to download the information from spool.
    program/spool output is an ALV List output data having 8 columns. but below approach is converting only first 5 columns in to PDF format. other 3 columns are getting truncated.
    FUNCTION /ngl/download_spoolinfo_as_pdf.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(I_SPOOL_REQUEST) LIKE  TSP01-RQIDENT
    *"     REFERENCE(I_FILENAME) LIKE  RLGRAP-FILENAME
    *"  EXCEPTIONS
    *"      DOWNLOAD_ERROR
      TABLES tsp01.
      DATA: mtab_pdf LIKE tline OCCURS 0 WITH HEADER LINE,
            mc_filename LIKE rlgrap-filename.
      DATA: mstr_print_parms LIKE pri_params,
            mc_valid(1) TYPE c,
            mi_bytecount TYPE i.
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          copies                 = '1'
          cover_page             = space
          destination            = 'locl'
          expiration             = '1'
          immediately            = space
          mode                   = space
          new_list_id            = 'X'
          no_dialog              = 'X'
          user                   = sy-uname
          line_size              = 200
          line_count             = 65
         layout                 = 'X_65_200'
          layout                 = 'X_90_120'
          sap_cover_page         = 'X'
        IMPORTING
          out_parameters         = mstr_print_parms
          valid                  = mc_valid
        EXCEPTIONS
          archive_info_not_found = 1
          invalid_print_params   = 2
          invalid_archive_params = 3
          OTHERS                 = 4.
      IF sy-subrc EQ 0.
        CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
          EXPORTING
            src_spoolid              = i_spool_request
            no_dialog                = 'X'
            dst_device               = mstr_print_parms-pdest
          IMPORTING
            pdf_bytecount            = mi_bytecount
          TABLES
            pdf                      = mtab_pdf
          EXCEPTIONS
            err_no_abap_spooljob     = 1
            err_no_spooljob          = 2
            err_no_permission        = 3
            err_conv_not_possible    = 4
            err_bad_destdevice       = 5
            user_cancelled           = 6
            err_spoolerror           = 7
            err_temseerror           = 8
            err_btcjob_open_failed   = 9
            err_btcjob_submit_failed = 10
            err_btcjob_close_failed  = 11
            OTHERS                   = 12.
        IF sy-subrc EQ 0.
          mc_filename = i_filename.
          DATA: lv_filename TYPE string.
          lv_filename = i_filename.
          CALL FUNCTION 'GUI_DOWNLOAD'
            EXPORTING
              bin_filesize = mi_bytecount
              filename     = lv_filename
              filetype     = 'BIN'
            TABLES
              data_tab     = mtab_pdf
            EXCEPTIONS
              OTHERS       = 22.
          IF sy-subrc EQ 0.
            WRITE:/ mc_filename, 'CONVERTED TO PDF AND DOWNLOADED'.
          ELSE.
            WRITE:/ 'PROBLEM WITH DOWNLOAD'.
            RAISE download_error.
          ENDIF.
        ELSE.
          WRITE:/ 'PROBLEM WITH PDF CONVERSION'.
          RAISE download_error.
        ENDIF.
      ELSE.
        WRITE:/ 'PROBLEM GETTING PRINT PARAMETERS'.
        RAISE download_error.
      ENDIF.
    ENDFUNCTION.

  • CFDOCUMENT PDF generation peformance on Linux running CF server 8 or 9 is horrible

    Can anyone help me understand how I can get the <cfdocument> tag to generate PDFs in reasonable time (and without throwing timeout errors) when running on CF 8 on Linux? Running on CF 9 doesn't make a difference, either. I can run the same code that generates a PDF on a Win 7 system and it completes the 1-2 page PDF in seconds.  Do the same thing in CF8/9 on Linux and it takes so long (minutes) and then throws a timeout error. When we tried using Railo instead of CF8/9 it ran fine as well.

    Our apps guy figured out the problem after googling the error log message. To put this in context, the deployed app is running in a Tomcat container on Linux.
    The root cause is Java's AWT thinking there should be an Xserver available to talk to.  Somehow in the code interactions during the PDF generation,  calls are made to an Xserver that doesn't exist, with an absurdly long  timeout.  Adding the line "-Djava.awt.headless=true" to the catalina.sh  script has solved the issue.
    Hope this helps others!
    Tea man

  • Truncation in PDF generation

    PDF generation via iBots produces only the first 8 pages. Last 4 pages are missing. At the end, it says 'Records 1 - 250'. This problem is not there when I generate pdf from Answers directly. Any clues as to where I should be looking?
    Best Regards,
    Dinesh.

    Hi Dinesh,
    I suspect that the <DefaultRowsDisplayedInDelivery> tag in the instanceconfig.xml got reverted or, is set to 250. Please review Note 530222.1 in MOS for more information on how to modifiy the value.
    Regards,
    Jeff

Maybe you are looking for

  • Premiere Elements 11 - Red Footage

    What is the best way to get Red (R3d) footage into Elements. Originally when I bought it I thought I was getting the Premiere with the direct import, but of course that was only for Premiere Pro CS5.5 or 6. But now just wondering what anyone has foun

  • Import into Lookup Hierarchy Multi-Value Field

    My source data contains two fields (Product ID, Product Notes). I need to map the Product Notes into a Hierarchy Lookup Field on main products table.  THe hierarchy table for product notes contains two text fields and both are display fields.  My sou

  • Requirements for a HA VMM Cluster

    Here is my situation.  I want to setup a HA VMM 2012 R2 Environment as outlined in this article:  http://blogs.technet.com/b/scvmm/archive/2014/07/03/setting-up-a-highly-available-vmm-2012-environment.aspx I have run into a couple of snags and I am h

  • DB to use stand alone Softwares ? Need Help

    Hi friends, My Housing Society has asked me to develop a software for their accounting purpose. As I am well versed with JAVA I would using it for GUI thing. But I could not decide on DB software. I would like to open source softwares and it should b

  • X100e keyboard broken! Which maintenance part to choose? Help!!

    well this is unfortunate.. after i spilt water on my macbook and broke the keyboard, i bought a x100e as an emergency replacement a week ago. then.. i spilt water on my x100e again. =[ now i think the keyboard, along with its logic board, are broken,