ABAP: XML + template = PDF?

Hi,
I'm trying to create an interactive pdf form in ABAP using the form's template (defined in FSP) & some XML data.
data: LV_PDF type XSTRING,
      LV_FORM type ref to IF_FP_WB_FORM,
      LV_FORMOBJ type ref to IF_FP_FORM,
      LV_LAYOUT type ref to IF_FP_LAYOUT,
      LV_XFT type XSTRING,
      LS_LAYOUT type FPLAYOUT
LO_PDFOBJ->RESET( ).
LO_PDFOBJ->SET_DATA( exporting FORMDATA = LV_XML_DATA ).
select single * from FPLAYOUT into LS_LAYOUT where NAME = 'ZTEST_FORM'.
LO_PDFOBJ->SET_TEMPLATE( exporting XFTDATA = LS_LAYOUT-LAYOUT FILLABLE = 'X').
LO_PDFOBJ->SET_OUTPUTPDF( exporting DYNAMIC = 'X' ).
LO_PDFOBJ->EXECUTE( ).
LO_PDFOBJ->GET_PDF( importing PDFDATA = LV_PDF ).
At LO_PDFOBJ->EXECUTE( ) I get a CX_FP_RUNTIME_SYSTEM exception: "processing exception during Render Operation, com.adobe.ProcessingError: SOM expression error while configuring the XMLForm module. Please validate the input files or".
The XML in LV_XML_DATA is correct since I retrieved it from an interactive pdf form that has been generated using the ZTEST_FORM template.
What am I missing?
Thanks,
Jeroen

It sounds like you're talking about making a form. You can do this in Acrobat by adding interactive form fields. Exactly how you do this depends on which version of Acrobat you're using. More information is in the Acrobat Help doc, but post again if you have more questions. Another useful resource for tutorials about creating form is: http://www.AcrobatUsers.com

Similar Messages

  • Issue generating pdf from xml template, data and StreamServer webservices

    We purchased Abode LiveCycle Premium Print ES4. It included a product called StreamServe which we planned to use to merge xml templates and data into a pdf file using a StreamServe webservice (for developers). It seems the StreamServe webservices are not equal to that task.  Can anyone offer a hint how this automated pdf generation can be achieved using LCPP?  (I suspect it can be done using Workbench but I don't know this to be a fact.)
    TIA,
    Bill

    Was that another shameless book plug??
    Sorry, gotta run. I just got word the Fed Ex delivery of my copy of your book just arrived. Do you 'e-sign' personalized copies?
    p.s. The preview of Chapter 7 (Transforming XML with XSLT) is great and filled with good clean examples and explanation.

  • SMDIAG_WIZARD and XML template for EWA

    Hi all experts,
    I'm in SolMan 4.0 SP12 want to make a EWA report from Enterprise Portal 6.0.
    1) I have a problem when I run SMDIAG_WIZARD to my Enterprise Portal 6.0. error : <i>Localization failed: ResourceBundle='com.sap.engine.services.rfcengine.RFCRes jktgrhxsapepq (RC=)</i>
    any idea?
    2) I also try to setup from host:port/smd/wizard . On managed system setup, I can't go to the next step for setup.
    Error in troubleshooting :
    <i>XML Template could not be read : com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad Attribute value(:main:, row:2, col:15)(cause=com.sap.engine.lib.xml.parser.ParserException XMLParser: Bad Attribute value (:main:, row:2, col:15))
    </i>
    where's the location of xml template that to be transfered in SolMan system ?
    Thanks n Regards,
    adh

    Hi,
    You should not use the smd/wizard and troubleshooting section. If you managed system is not yet setup please follow chapter 4.5 of
    https://websmp201.sap-ag.de/~sapdownload/011000358700000548322007E/Setup_Guide_Solman40SPS12.pdf.
    But all you are doing there is not correlated with EWA. You will be able to setup EWA as soon as SMD has been completely setup. For more information about EWA for non ABAP please see <b>SAP Note 976054</b>.
    Regards,
    Stephan

  • Barcode printing in XML report PDF output

    Hi All,
            I want to print barcode of invoice number / purchase order number in the XML report PDF output.
            Anyone please suggest me with your ideas and experience.

    Hi Bogdan,
    The steps mentioned in the doc is what i did in order.
    I couldn't understand the step # 13 & 14.
    Log in as XML Publisher Administrator
    Navigate to Administration --> Font Files --> Create Font File
    Available fields are Font Name and File
    --> for Font Name, choose any descriptive name
    --> file will browse your PC to locate the font file
    Navigate to Font Mappings -->Create Font Mapping Set
    Mapping name is the name you will give to a set of fonts.
    Mapping code is the internal name you will give to this set
    Type: 'PDF Form' for PDF templates. 'FO to PDF' for all other template types.
    Create Font Mapping (this allows you to add fonts to a set)
    Font Family is the exact same name you see in MS Word under Font. If you don't use the same name the font will not be picked up at runtime.
    Style and weight must also match how you use the font in the RTF or PDF layout template. Normal and Normal are good defaults.
    Language and Territory should remain blank (NULL) unless you have a strong business reason, as these fields can cause the font not to be picked up at runtime.
    Navigate to Configuration General -> FO Processing -->Font Mapping Set. This can also be done at Data Definition and Template level, via the corresponding Edit Configuration button on those pages. The hierarchy is Site-> Data Def -> Template.
    Select your new mapping set.
    Make sure the font is not referenced under File --> Properties --> Custom in the RTF template file.
    Under General, set a Temporary Directory. The font will be stored under a /fonts directory at runtime, initially created the first time the font is used.
    Upload a template that uses your special font and test using preview or by submitting a concurrent request.

  • How to sort Data in XML template (rtf) file?

    Hi, I have an oracle 11i custom report (rdf) with an xml output to a PDF. There is a formula column in the report. Now I need the data to be sorted on this formula column. As we cannot sort on formula column, i have decided to find a way to sort it in the data in the XML template. But I don't really know how to sort and also where to specify the sort tag in the rtf file. I appreciate your response.
    Databse version : 9.2.0.8.0
    E-Biz Version : 11.5.10.2
    Oracle Reports Version : 6.0.8.27.0
    Oracle BI version : 10.1.3.2.1
    Note : I posted this question under : XML General forum also. But did not get any response. I assumed that may be thats not the right place to post it as my report is in e-Biz environment.

    Hi
    As long as you don't have your ^field commands grouped inside a ^group the order in the .dat file is not important. Your last command
    ^field BG_DOC_LN__LN_AM
    246624.12
    should populate field BG_DOC_LN_AM wherever you place it on your form. Obviously you need to name the fields according to your ^field commands and not just use tab (move to next field).
    Shout if this was not what you are asking.
    Stale Sodal

  • HELP:Merging External File (JPG/PDF) into XDP/XML Merged PDF on Client

    I need some serious help pointing me in the right direction.
    What I have...and is working:
    I have an Invoice Template/PDF/Form created by LiveCycle with form fields.  When requested by the user, in real-time I send XML from my server that is merged with the PDF template to create a single PDF file with multiple pages of invoices.  Each invoice fits on one page.  Works great...technically I think this is called or used XDP to merge the two on the client computer with a PDF and XML being supplied by the server.
    The server is just a generic Unix/PHP/MySQL environment...no Adobe products are installed (or can be installed on that machine).  I rely entirely on the client's computer to assemble and create the finished PDF.
    What I NEED:
    So the client is now asking that I be able to insert receipts into the invoice PDF stream.  So in order words you would still have the invoices above, but if we happen to have scanned receipts for a given invoice, they want those embedded into the PDF.  A finished product would look like:
    Page 1 - Invoice 00001
    Page 2 - Receipt #1 for Invoice 0001
    Page 3 - Receipt #2 for Invoice 0001
    Page 4 - Invoice 00002
    Page 5 - Invoice 00003
    Page 6 - Receipt #1 for Invoice 0003
    etc.
    Can someone point me in the right direction to make this happen?
    Perfect world, I would like to have the invoices be actual images of the receipts (assume we need to have a JPG or PDF scan of the receipt)
    Okay world, I guess we could just attach the actual document so if it is XLS, DOC, PDF...etc...I don't need to convert...just attach.
    Last choice, I could just include hyperlinks back to our server for the client to click on and open the receipt document as we store it.

    From your post it sounds like you are Central Pro (a product for which I am by no means an expert), but you say you want to upgrade to a newer product from your "legacy" one. Is there a reason for this? Have your requirements change so that it no longer fits them? Central is still in the current Adobe roster and as far as I know there is no plans to get rid of it any time soon, so if it does everything you want I don't see why you would want to change.
    There is no product in the LiveCycle suite that merges xml data into a form from the command line. LiveCycle (with the exception of Designer) is a suite of server products, so the closest you would come is LiveCycle Forms (merge the xml and create a fillable PDF) or LiveCycle Print (merge the xml and print the form).
    Hope this helps somewhat.
    Chris
    Adobe Enterprise Developer Support

  • XML TO PDF printing

    Hi,
    I managed to create a pdf File, from a XML document, using XSLT and XSL-FO.
    I'd like now to print this pdf File from my Java application. Is there a simple way of doing this ?
    Thank you in advance for any help.
    import java.io.*;
    import javax.xml.transform.*;
    import javax.xml.transform.stream.*;
    import javax.xml.transform.sax.*;
    import org.apache.avalon.framework.*;
    import org.apache.avalon.framework.logger.*;
    import org.apache.fop.apps.*;
    * This class converts an XML file to PDF using JAXP (XSLT) and FOP (XSL-FO).
    * @author
    public class XmlToPdf {
    private static final String BASE_DIR = "./test/";
    private static final String FILE = "test";
    * Converts an XML file to a PDF file using JAXP and FOP.
    * @param xmlFile The XML file
    * @param xslFile The XSLT stylesheet file
    * @param pdfFile The output PDF file
    * @throws IOException In case of an I/O problem
    * @throws FOPException In case of a FOP problem
    * @throws TransformerException In case of a XSL transformation problem
    public void convertXML2PDF(File xmlFile, File xsltFile, File pdfFile)
    throws IOException, FOPException, TransformerException {
    //Construct driver
    Driver driver = new Driver();
    //Setup logger
    Logger logger = new ConsoleLogger(ConsoleLogger.LEVEL_INFO);
    driver.setLogger(logger);
    //Setup Renderer (output format)
    driver.setRenderer(Driver.RENDER_PDF);
    //Setup output
    OutputStream out = new FileOutputStream(pdfFile);
    out = new BufferedOutputStream(out);
    try {
    driver.setOutputStream(out);
    //Setup XSLT
    TransformerFactory myFactory = TransformerFactory.newInstance();
    Transformer myTransformer = myFactory.newTransformer(new StreamSource(xsltFile));
    //Setup input for XSLT transformation
    Source src = new StreamSource(xmlFile);
    //The generated FO (resulting SAX events) must be sent to FOP
    Result res = new SAXResult(driver.getContentHandler());
    //Start XSLT transformation and FOP processing
    myTransformer.transform(src, res);
    } finally {
    out.flush();
    out.close();
    * Main method.
    * @param args command-line arguments
    public static void main(String[] args) {
    try {
    System.out.println("Starting XML TO PDF Transformation...\n");
    //Base Directory...
    File baseDir = new File(BASE_DIR);
    //Input and output files...
    File xmlFile = new File(baseDir, FILE+".xml");
    File xsltFile = new File(baseDir, FILE+".xsl");
    File pdfFile = new File(baseDir, FILE+".pdf");
    System.out.println("Input: XML (" + xmlFile + ")");
    System.out.println("XSL Stylesheet: " + xsltFile);
    System.out.println("Output: PDF (" + pdfFile + ")");
    System.out.println();
    System.out.println("Transforming...");
    XmlToPdf app = new XmlToPdf();
    // Do the transformation...
    app.convertXML2PDF(xmlFile, xsltFile, pdfFile);
    System.out.println();
    System.out.println("The pdf was created succesfully !\n");
    } catch (Exception e) {
    System.err.println(e.getMessage());
    e.printStackTrace();
    System.exit(-1);

    hi everybody
    i use the code of the class XmlToPdf but i have a problem when i run it
    [ERROR] Unsupported element encountered: html (Namespace: default). Source context: unavailable
    [ERROR] Expected XSL-FO (root, page-sequence, etc.), SVG (svg, rect, etc.) or elements from another supported language.
    java.lang.NullPointerException
    javax.xml.transform.TransformerException: java.lang.NullPointerException
         at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1226)
         at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:638)
         at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1088)
         at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1066)
         at com.clear2pay.toolbox.reports.fop.XmlToPdf .convertXML2PDF(XmlToPdf java:526)
         at com.clear2pay.toolbox.reports.fop.XmlToPdf .main(XmlToPdf .java:557)
    i don't see where is the problem.
    this is the XML File that i use
    <?xml version="1.0" encoding="UTF-8"?>
    <changelog>
         <entry>
              <date>2002-12-09</date>
              <time>14:21</time>
              <author><![CDATA[jmc]]></author>
              <file>
                   <name>develop/web/vds-rel1/c/su_rgd0_c.jsp</name>
                   <revision>1.9</revision>
                   <prevrevision>1.4</prevrevision>
              </file>
              <msg><![CDATA[moved cancel button into seperate for so it doesn't invoke js validation]]></msg>
         </entry>
         <entry>
              <date>2002-12-09</date>
              <time>13:41</time>
              <author><![CDATA[jmc]]></author>
              <file>
                   <name>develop/web/vds-rel1/c/su_pm0_c.jsp</name>
                   <revision>1.18</revision>
                   <prevrevision>1.124</prevrevision>
              </file>
              <msg><![CDATA[moved << and >> to the correct column]]></msg>
         </entry>     
    </changelog>
    and this is the XSL that i use
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet
    xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
    version='1.0'>
    <xsl:param name="title"/>
    <xsl:param name="module"/>
    <xsl:param name="cvsweb"/>
    <xsl:output method="html" indent="yes" encoding="US-ASCII"
    doctype-public="-//W3C//DTD HTML 4.01//EN"
    doctype-system="http://www.w3.org/TR/html401/strict.dtd"/>
    <xsl:template match="*">
    <xsl:copy>
    <xsl:copy-of select="attribute::*[. != '']"/>
    <xsl:apply-templates/>
    </xsl:copy>
    </xsl:template>
    <xsl:template match="changelog">
    <html>
    <head>
    <title><xsl:value-of select="$title"/></title>
    <style type="text/css">
    body, p {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 80%;
    color: #000000;
    background-color: #ffffff;
    tr, td {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    background: #eeeee0;
    td {
    padding-left: 20px;
    .dateAndAuthor {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-align: left;
    background: #a6caf0;
    padding-left: 3px;
    a {
    color: #000000;
    pre {
    font-weight: bold;
    </style>
    </head>
    <body>
    <h1>
    <a name="top"><xsl:value-of select="$title"/></a>
    </h1>
    <p style="text-align: right">Designed for use with Ant.</p>
    <hr/>
    <table border="0" width="100%" cellspacing="1">
    <xsl:apply-templates select=".//entry">
    <xsl:sort select="date" data-type="text" order="descending"/>
    <xsl:sort select="time" data-type="text" order="descending"/>
    </xsl:apply-templates>
    </table>
    </body>
    </html>
    </xsl:template>
    <xsl:template match="entry">
    <tr>
    <td class="dateAndAuthor">
    <xsl:value-of select="date"/><xsl:text> </xsl:text><xsl:value-of select="time"/><xsl:text> </xsl:text><xsl:value-of select="author"/>
    </td>
    </tr>
    <tr>
    <td>
    <pre>
    <xsl:apply-templates select="msg"/></pre>
    <ul>
    <xsl:apply-templates select="file"/>
    </ul>
    </td>
    </tr>
    </xsl:template>
    <xsl:template match="date">
    <i><xsl:value-of select="."/></i>
    </xsl:template>
    <xsl:template match="time">
    <i><xsl:value-of select="."/></i>
    </xsl:template>
    <xsl:template match="author">
    <i>
    <a>
    <xsl:attribute name="href">mailto:<xsl:value-of select="."/></xsl:attribute>
    <xsl:value-of select="."/></a>
    </i>
    </xsl:template>
    <xsl:template match="file">
    <li>
    <a>
    <xsl:choose>
    <xsl:when test="string-length(prevrevision) = 0 ">
    <xsl:attribute name="href"><xsl:value-of select="$cvsweb"/><xsl:value-of select="$module" />/<xsl:value-of select="name" />?rev=<xsl:value-of select="revision" />&content-type=text/x-cvsweb-markup</xsl:attribute>
    </xsl:when>
    <xsl:otherwise>
    <xsl:attribute name="href"><xsl:value-of select="$cvsweb"/><xsl:value-of select="$module" />/<xsl:value-of select="name" />?r1=<xsl:value-of select="revision" />&r2=<xsl:value-of select="prevrevision"/></xsl:attribute>
    </xsl:otherwise>
    </xsl:choose>
    <xsl:value-of select="name" /> (<xsl:value-of select="revision"/>)</a>
    </li>
    </xsl:template>
    <!-- Any elements within a msg are processed,
    so that we can preserve HTML tags. -->
    <xsl:template match="msg">
    <xsl:apply-templates/>
    </xsl:template>
    </xsl:stylesheet>
    Thank you in advance for any help.

  • Print stored pdf files to a XML Publisher PDF report

    I want to print PDF attachments to a XML Publisher PDF report. How can I do it?
    For eg. We have an iRecruitment vacancy IRC1309 for which the applicants upload pdf resumes. We want to print applicant resumes to a single PDF file for review.
    Any suggestions?
    Thanks in advance,
    Aakash

    Hi Guru,
    I have requirement to show attachment file in AR invoices which is .pdf files in BI Reports or Oracle Report.. Can ony one guide me please.
    Iam able to read blod data from fnd_lob table and also able to see junk data in xml output. Once rft template is generated then it is coming as blank. It does stream lob data. Can you please provide xsl fo statement to read.
    Thanks
    Simon
    Edited by: user13084103 on Nov 7, 2011 4:49 AM
    Edited by: user13084103 on Nov 7, 2011 4:50 AM

  • How to convert DTD files into XML(template) by using Java ?

    I am a beginner to java,and want to convert a random DTD file
    into a XML template(having no data).
    any guys can give me some suggestions ?
    thanks very much

    DTD allow you to validate a XML file.
    To do so, you can use API such as dom or xalan.
    To transform an XML file from a vocabulary A to vocabulary B, you have to write a XSLT style sheet, and use xerces to perform the transformation.
    Using tools such as XSL-FO, you can transform your XML into PDF.

  • How do you delete an  XML template?

    Does anyone know how to remove a custom XML template? I'm using 11.5.10 Rollup 2. I created an RTF template for AP Checks. But I've discovered that using a PDF template will be better suited to our needs. I can not change the template type to PDF. I deactivated the template, and tried to create a new template using a different template name , and code. I also created a new data definition using the new code. But when I try to save the new template I receive an error: "A template file already exists for this language/territory combination. Please use the update file option." I dont see an 'update file' option on this screen. I went back and tried to update the template by deleting the sample file, but it says "Delete button disabled". Does this mean, that I can only assign one template for the English/United States combination?! This is not a seeded template. How do I go about removing this template, so that I can set up a new one using the desired format. I've searched the net, but can't find any answers... Thanks in advance for any help. Thanks!

    Hello Dan.
    I never figured out how to delete a template.
    However, now that I think about it, you may be able
    to get around it. But you may have to jump through a few hoops first :)
    Using System Administrator..
    Try making a copy of the Concurrent Program.
    (Go to Concurrent >> Program >> Define)
    Query the existing program, then click the 'Copy To' button.
    Change the Short Name slightly.
    Be sure to check the "include parameters" and "include incompatible programs" boxes.
    You will also need to make a copy of the actual rdf file and rename it slightly.
    (In a subdirectory of $APPL_TOP i.e. /?/oracle/visappl)
    Then you would register your new report executable (Concurrent >> Program >> Executable).
    Once the new report executable has been registered, you can go back to your
    new Concurrent Program, and change the executable name to the one you just registered.
    Also, be sure to assign your new report to the same responsibility report group as the original
    (Concurrent >> Security >> Responsibility >> Request).
    Now, essentially you have cloned the original report, and you should be able to create a new RTF template for it. If you need more detailed steps, I may have some documentation for customizing reports somewhere.
    Good Luck!
    Mark K

  • Deposit Advice (XML) - Template Null.

    Hi Friends,
    After applying few patches, we could generate the Deposit Advice in XML format.
    When we migrate the same to another instance, We are facing the following problem.
    Request restarted at :26-MAR-2009 16:38:52
    032609_043858688][STATEMENT <=============> PDFDocMerger Properties list <=============>PropKey : pdf-security
    PropValue : true
    032609_043858690][STATEMENT <=============> PDFDocMerger Properties list <=============>PropKey : system-temp-dir
    PropValue : /tmp
    032609_043858690][STATEMENT <=============> PDFDocMerger Properties list <=============>PropKey : pdf-no-changing-the-document
    PropValue : true
    032609_043858691][STATEMENT <=============> PDFDocMerger Properties list <=============>PropKey : pdf-encryption-level
    PropValue : 0
    032609_043858718][STATEMENT /tmp/032609_043858710/0.pdf is created by PDFDocTokenizer.writeNextPDFDoc()
    032609_043858736][STATEMENT PDF template is being read and parsed......
    032609_043858737][STATEMENT PDFParser uses this tempDir ::: /tmp
    032609_043858782][STATEMENT PDFParser.readPDFFile ---> contents size : 5
    032609_043858782][STATEMENT Creating new hashtable of type: oracle.apps.xdo.template.pdf.util.FPHashtable
    032609_043858794][STATEMENT java.lang.StringIndexOutOfBoundsException: String index out of range: 5
    at java.lang.String.charAt(String.java:793)
    at oracle.apps.xdo.template.pdf.util.PDFFile.getVersion(PDFFile.java:232)
    at oracle.apps.xdo.template.pdf.Xref.initialize(Xref.java:89)
    at oracle.apps.xdo.template.pdf.Xref.<init>(Xref.java:72)
    at oracle.apps.xdo.template.pdf.PDFParser.initialize(PDFParser.java:261)
    at oracle.apps.xdo.template.pdf.PDFParser.<init>(PDFParser.java:160)
    at oracle.apps.xdo.template.pdf.PDFParser.<init>(PDFParser.java:151)
    at oracle.apps.xdo.common.pdf.util.PDFDocMerger$PDFUtility.<init>(PDFDocMerger.java:1603)
    at oracle.apps.xdo.common.pdf.util.PDFDocMerger.mergeDocs(PDFDocMerger.java:431)
    at oracle.apps.xdo.common.pdf.util.PDFDocMerger.process(PDFDocMerger.java:378)
    at oracle.apps.xdo.common.pdf.util.StreamPDFDocMerger.process(StreamPDFDocMerger.java:120)
    at oracle.apps.pay.core.documents.DocPDFMerger.process(DocPDFMerger.java:86)
    032609_043858795][STATEMENT This template's PDF version : null
    032609_043858797][STATEMENT oracle.apps.xdo.template.pdf.exception.FatalException: The template seems to be in either corrupted one or newer version than PDF1.4
    at oracle.apps.xdo.template.pdf.Xref.initialize(Xref.java:294)
    at oracle.apps.xdo.template.pdf.Xref.<init>(Xref.java:72)
    at oracle.apps.xdo.template.pdf.PDFParser.initialize(PDFParser.java:261)
    at oracle.apps.xdo.template.pdf.PDFParser.<init>(PDFParser.java:160)
    at oracle.apps.xdo.template.pdf.PDFParser.<init>(PDFParser.java:151)
    at oracle.apps.xdo.common.pdf.util.PDFDocMerger$PDFUtility.<init>(PDFDocMerger.java:1603)
    at oracle.apps.xdo.common.pdf.util.PDFDocMerger.mergeDocs(PDFDocMerger.java:431)
    at oracle.apps.xdo.common.pdf.util.PDFDocMerger.process(PDFDocMerger.java:378)
    at oracle.apps.xdo.common.pdf.util.StreamPDFDocMerger.process(StreamPDFDocMerger.java:120)
    at oracle.apps.pay.core.documents.DocPDFMerger.process(DocPDFMerger.java:86)
    032609_043858800http://oracle.apps.xdo.batch.FileSearchSTATEMENT /tmp/032609_043858710/0.pdf is deleted
    032609_043858801http://oracle.apps.xdo.batch.FileSearchSTATEMENT /tmp/032609_043858710 is deleted
    032609_043858801][EXCEPTION oracle.apps.xdo.XDOException: oracle.apps.xdo.template.pdf.exception.FatalException: The template seems to be in either corrupted one or newer version than PDF1.4
    at oracle.apps.xdo.common.pdf.util.PDFDocMerger.process(PDFDocMerger.java:382)
    at oracle.apps.xdo.common.pdf.util.StreamPDFDocMerger.process(StreamPDFDocMerger.java:120)
    at oracle.apps.pay.core.documents.DocPDFMerger.process(DocPDFMerger.java:86)
    Any help is appreciated.
    Thanks
    Rama                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    We could fix this issue..
    The issue was the value for DBC_FILE in Pay_action_parameters table was wrong. We corrected it and could fix this issue.
    Thanks

  • Error while trying to update the XML template using XML Publisher Administrator

    Hello Folks,
    We are on R12.1.3
    I changed a condition in a report and trying to upload the new XML template using XML Publisher Administrator.
    when i click the Apply button, it is throwing an error 'Bad Request'
    Navigation : XML Publisher Administrator > Data Definitions > query the report
    Click on the name of the report > click 'Update file' besides Data Template > Choose file > Click Apply
    I am getting the below error
    Bad Request
    Your browser sent a request that this server could not understand.
    Now, i could not upload a new XML template.
    Am I doing anything wrong.
    regards,
    Kris

    user10163762 wrote:
    Thank you Eugen and Hussein.
    The problem is not with the template.
    It seems to be a problem in that particular instance.
    Uploaded it in a different instance.
    However once i run the program, i cannot view the output as the browser window flashes and disappears.
    My colleague says , it is to do with the trusted site to download something from the browser.
    Can you please guide me on how to fix this ?
    http://bit.ly/1k8e2vi
    Thanks,
    Hussein

  • Converting from PDF directly to Java Objects/XML (and PDF format questions)

    Hi,
    I posted this originally in the Acrobat Windows forums but was told I might have more luck here, so here goes:
    I am desperately trying to find a tool (preferably open source but commercial is fine also) that will sit on top of a PDF and allow me to query it's text for content and formatting (I don't care about images). I have found some tools that get me part of the way there, but nothing that seems to provide an end-to-end solution but is quite lightweight. My main question is WHY are there so many tools that go from PDF to RTF, and many tools that go from RTF to XML, but NONE that I can find that go PDF to XML.
    To clarify, by formatting I simply mean whether a line/block of text is bold/italic, and its font size. I am not concerned with exact position on the page. The background is that I will be searching PDFs and assigning importance to whether text is a heading/bodytext etc. We already have a search tool in place so implementing a pure PDF search engine is not an option. I need a lightweight tool that simply allows me to either make calls directly to the PDF OR converts to XML which I can parse.
    Some tools I have tried:
    1) PDFBox (Java Library) - Allows the extraction of text content easily, but doesn't seem to have good support for formatting.
    2) JPedal (Java Library) - Allows extraction of text content easily, and supports formatting IF XML structured data is in the PDF (not the case for my data).
    3)  Nitro PDF (Tool) + RTF to XML (script) - This works quite nicely and shows that PDF to XML is possible, but why do I have to use 2 tools? Also, these are not libraries I can integrate into my app.
    4) iText (Java Library) - Seems great at creating PDFs but poor at extracting content.
    I don't really expect someone to give me a perfect solution (although that would be nice!).
    Instead, what I'd like to know is WHY tools support PDF to RTF/Word/whatever retaining formatting, and other tools support RTF to XML with the formatting information retained. What is it about PDF and RTF/Word that makes it feasible to convert that way, but not to XML. Also, as I found in 3) above, it is perfectly feasible to end up as XML from PDF, so why do no tools support this reliably!
    Many thanks for any advice from PDF gurus.

    XML doesn't mean anything - it's just a generic concept for structuring
    information.  You need a specific GRAMMAR of XML to mean anything.  So what
    grammar would you use?  Something standard?  Make up your own?
    However, there are a number of commercial and open source products that can
    convert PDF to various XML grammars - SVG, ABW, and various custom grammars.
    But the other thing you need to understand is that most PDF files do not
    have any structure associated with them (as you saw when using JPEDAL).  As
    such, any concepts of paragraphs/sections/tables/etc. Are WILD GUESSES by
    the software in question.

  • Using XSL-XML template to convert name value pairs into XML elements

    Hi,
    I have a xml document in the format:
    <?xml version=”1.0”?>
    <body title="Mr" firstName="Joesph" middeNames="George Harry" lastname="Smith" countrycode="GBP"/>
    I need to convert this using a XSL-XML template in BI publisher to return XML in the following format, while doing some conversion, e.g. converting countrycode from GBP to UK:
    <?xml version=”1.0”?>
    <body>
    <title>Mr</title>
    <firstName>Joseph</firstName>
    <middleNames>George Harry</middleNames>
    <lastname>Smith</lastname>
    <countrycode>UK</countrycode>
    </body>
    Would appreciate if anyone could point me in the correct direction.

    Hi Sweta,
    Why MTB??? Message Transformation bean is used to change the format of the message... If you are planning to call any XSLT or java mapping through that then you can give it a try..
    >>how to get the last and first 3 special characters in the output text using MTB?
    Put them in message mapping itself and write it in File
    Regards
    Suraj

  • XML mapping, PDF output

    Hi!
    I am working with the latest JDeveloper release. Does JDeveloper have a tool to create custom layouts from xml data and
    print(output) the results as a pdf file?

    I do not think there is something in JDeveloper. XSL-FO is what you would use for converting from XML to PDF, you will find a good tutorial here:
    http://www.w3schools.com/xslfo/default.asp
    Apache FOP ( http://xmlgraphics.apache.org/fop/ ) is a free implementation of an XSL-FO engine.
    If you want also a visual tool to avoid having to create your XSLFO file manually, you can look at some XSL-FO which are available, one of them is http://www.java4less.com/fopdesigner/fodesigner.php

Maybe you are looking for

  • Safari quit unexpectedly when I try to open it the first time

    Hi, Could anyone please help me? I just noticed that everytime I open Safari the first time, it quits unexpectedly. Then when I reopen it, it will work. I thought it was nothing but it is happening for 5 days now. So, now I tried to empty the cache,

  • Don't use Backstage option in Office 2013

    The new backstage view in Office 2010 was great for a business environment.  It showed a long list of recent workbooks and recent folders and so, even working on many workbooks, there was a very good chance that one, or at worst two, clicks would get

  • Query on bdc program

    hi friends,                I really have doubt on bdc program. I wantedto complete this task. 1.  Create a BDC program for the following   - Read a flat file containing Vendor Master details (keep the record structure as simple as possible).  The fil

  • Reducing resolution of digital photos

    I took a number of digital photos at very high resolution (new 2 GB memory card, so I thought, why not?). But the downloaded photos have so much data that I can't send even a single photo via email. Is there a way to reduce the photo resolution in iP

  • When running actions in Photoshop CC I am now getting an error.

    At my job I use actions all the time and on my last day of work, 02-04-15, all my actions were working just find and I came in yesterday, 02-09-15, and now all I am getting is the error. Absolutely NOTHING was changed on my computer at all. If anyone