Dynamic Image Problem in xml publisher report

Hey guys,
I hope you doing well.
I am facing a problem in rtf template for offer letter. I have requirement that applicant signature will be print on Offer letter. For that insert dummy image and change his Alternative text to url:{concat('${OA_MEDIA}','/',IMAGE_FILE)}
Where IMAGE_FILE is image file name like 14.gif etc which is exist in OA_MEDIA.
The Problem is that when I check output from application the image is blank but when I change IMAGE_FILE to hardcoded 14.gif its show image. Please help me.
Waiting for your help
Thanks and regard’s
Mazhar

Assuming that the report is run on EBS, change it to url:{?${OA_MEDIA}/IMGFILE?}
Thanks
Shree

Similar Messages

  • Sorting Problem in XML Publisher Report

    Dear Members,
    I am facing problems with sorting data in my XML Publisher Report.
    We are using Oracle E-Business Suite 12.1 Version and i developed a rtf Template and executable is an RDF which generates XML Data.
    I want the whole report to group by element ITEM_NAME which is a character in the ascending order. I tried several ways but it is not working properly.
    I don't know how to upload the RTF template in this forum. I tried to post the XML Code and since its excceds 30000 characters i cant post it in the forum.
    Any help is greatly appreciated.
    Thanks
    Sandeep

    You can't upload the template here; you can post a part of the relevant XML code and template code here.
    or send me a sample XML and RTF template to [email protected] and I will take a look.

  • Excel Output problem with XML Publisher Report

    Hi Experts,
    I am working on XML Publisher report with EBS 11i and database 9i. My XML Report output type is EXCEL, i have below issue with the output.
    I have column 'quantity' with xml tag <?QUANTITY?>.
    In the XML file it's showing the value '028' for quantity, but when i open the output in EXCEL, it's showing up '28', removing leading zero. I want to show the data in EXCEL also '028'. Could somebody help me how to print the XML Tag value as it is in EXCEL output.
    Thanks in advance.

    Hi, try using this in your template.
    <fo:bidi-override direction="ltr" unicode-bidi="bidi-override"><?QUANTITY?></fo:bidi-override>

  • Problem in XML Publisher Report submission from OAF Pages

    Hi,
    I am trying to submit Concurrent Program from OAF Page which is an XML Publisher Report.
    The request is Submitting and Completing successfully but when we open to view the out put we are able to view the HTML tags.
    We checked the same Concurrent program by submitting from the SRS window After completing if we click on view output the rtf file is getting opened correctly.
    I tested with normal rdf report it is working fine with standard Concurrent program used in OAF
    So my doubt is
    Does the Standard Concurrent program used in OAF supports the rtf reports.
    Please suggest if any modifications to be done in the Concurrent program
    Krishna

    Krishna
    Modified your code a little bit.Use this
        public int submitCPRequest(String shipmentId) {
        System.out.println("into submitCPRequest");
            OAPageContext pageContext;
            OAWebBean webBean;
        try {
    OAApplicationModule am =pageContext.getApplicationModule(webBean);
        OADBTransaction tx = (OADBTransaction)am.getOADBTransaction();
        java.sql.Connection pConncection = tx.getJdbcConnection();
        ConcurrentRequest cr = new ConcurrentRequest(pConncection);
        String applnName = new String("XXAPL"); //Application that contains the concurrent program
        System.out.println("ApplName"+ applnName);
        String cpName = new String("XXAPLPOSMPRD"); //Concurrent program name
        System.out.println("Concc Name"+ cpName);
        String cpDesc = new String(" APL PO Shipping Material Pickup Request"); // concurrent Program description
        // Pass the Arguments using vector
        // Here i have added my parameter headerId to the vector and passed the
        //vector to the concurrent program
        Vector cpArgs = new Vector();
        cpArgs.addElement(shipmentId);
        System.out.println("Args"+ cpArgs);
        // Calling the Concurrent Program
        int requestId = cr.submitRequest(applnName, cpName,cpDesc, null, false, cpArgs);
        cr.addLayout("XXAPL", "XXAPLPOSMPRT", "ENG", "US" , "RTF");
        System.out.println("Req Id"+ requestId);
        tx.commit();
        return requestId;
            catch (RequestSubmissionException e) {
            System.out.println("Into Exception");
            OAException oe = new OAException(e.getMessage());
            oe.setApplicationModule(this);
            throw oe;
            catch(Exception exception)
            throw OAException.wrapperException(exception);
        }Thanks
    AJ

  • Problem with XML Publisher report when there are no detail records.

    I am working on an Oracle XML Publisher procurement report (Oracle E-Business Suite R12) that starts with a budget amount that is imported from our financial system, then lists all requisitions and orders that are in process (not approved). The amounts of all those unapproved requisitions/orders are totaled using a Sum form field, to be followed by a field where the unapproved requisition/order total is subtracted from the budget amount (amount available). I am running into a problem when there are no unapproved requisitions. When I run the report for such instances, it completes with a warning -- here is what it states in the OPP log:
    oracle.xdo.parser.v2.XPathException: Extension function error: Method not found 'sum'
    I have altered my sum field on the RTF template to include an if statement in case of a null value...
    <?sum (EXTENDED_COST)?> <?xdofx:if sum (EXTENDED_COST) = " then 0 end if?>
    ...but this does not work.

    Hi,
    You are on right track. Simply put summary field in header group and remember to set reset at property to Header Group Not Child and now you can use this field in format trigger.
    Format trigger must be written on header frame.
    Cheers !
    Adinath Kamode

  • Reg: Problem  in XML PUBLISHER Report

    Hi all,
    I am working building report using xml publisher. Problem i facing was ,
    *1. I created the template in RTF and attached to data definition*
    for eg: my rtf is
    sno item quantity price ( I created this field in table structure and mapped to xml data)
    Total Price ( this also i am getting from data definition)
    The below is sample constant sentence for my client and typed just below Total Price ( field i mentioned above)
    Inspected  By                                          Approved By     
    *1)*
    ________________________________     1)________________________________     Store Incharge : ______________________
    *2)*
    ________________________________       2)  ________________________________     Received           : _______________________
    *3)*
    ________________________________     3   ________________________________     Prepared  By    :             _______________________
    NOTE : ABOVE MENTIONED LINES ARE CONSTANT ONE.
    2. When i ran the report, if my data definition return 5 lines means , i am getting PDF output Correctly in single page (1st page)
    3) If my data definition returns lines more than 8 lines means, I am getting PDF output with Table structure values with item, in 1 st page and Constant sentence in 2nd page of PDF
    4) If my data definition returns lines between 5 and 8 means, I am getting PDf output with table structure values with item and some of Constant sentence of my client in 1 st page and few of the constanst sentence in 2nd page.
    Actually my need
    Even if the data definitions exceeds more than 5 lines the constant sentence should be placed either in the first page or in the next page based on the no. of lines in the data definition.
    How to resolve this... any approach most welcome. Wat changes i have to make.

    Krishna
    Modified your code a little bit.Use this
        public int submitCPRequest(String shipmentId) {
        System.out.println("into submitCPRequest");
            OAPageContext pageContext;
            OAWebBean webBean;
        try {
    OAApplicationModule am =pageContext.getApplicationModule(webBean);
        OADBTransaction tx = (OADBTransaction)am.getOADBTransaction();
        java.sql.Connection pConncection = tx.getJdbcConnection();
        ConcurrentRequest cr = new ConcurrentRequest(pConncection);
        String applnName = new String("XXAPL"); //Application that contains the concurrent program
        System.out.println("ApplName"+ applnName);
        String cpName = new String("XXAPLPOSMPRD"); //Concurrent program name
        System.out.println("Concc Name"+ cpName);
        String cpDesc = new String(" APL PO Shipping Material Pickup Request"); // concurrent Program description
        // Pass the Arguments using vector
        // Here i have added my parameter headerId to the vector and passed the
        //vector to the concurrent program
        Vector cpArgs = new Vector();
        cpArgs.addElement(shipmentId);
        System.out.println("Args"+ cpArgs);
        // Calling the Concurrent Program
        int requestId = cr.submitRequest(applnName, cpName,cpDesc, null, false, cpArgs);
        cr.addLayout("XXAPL", "XXAPLPOSMPRT", "ENG", "US" , "RTF");
        System.out.println("Req Id"+ requestId);
        tx.commit();
        return requestId;
            catch (RequestSubmissionException e) {
            System.out.println("Into Exception");
            OAException oe = new OAException(e.getMessage());
            oe.setApplicationModule(this);
            throw oe;
            catch(Exception exception)
            throw OAException.wrapperException(exception);
        }Thanks
    AJ

  • Xml publisher report problem

    I have a xml publisher report which list job names. After submitting concurrent program, I am getting below error
    A semi colon character was expected. Error processing resource
    some of the Jobs have special character '&'. below is code
    CREATE OR REPLACE PACKAGE BODY XML_RPT AS
        FUNCTION XML_TAG (p_tag IN VARCHAR2, p_data IN VARCHAR2) RETURN VARCHAR2 IS
        l_ret_str VARCHAR2(5000);
        BEGIN
            l_ret_str := '<'||p_tag||'>'||p_data||'</'||p_tag||'>';
            RETURN l_ret_str;
        END XML_TAG;
         PROCEDURE JOBS(errbuf          OUT  VARCHAR2,
                         retcode         OUT  NUMBER) IS
        CURSOR inv_Cur  IS
            select name          
            from per_jobs pv;        
         xmldata            varchar2(1000);
         l_sqlstr           varchar2(1000);
         l_seqnum           varchar2(3);
         l_job_name      varchar2(100);
        BEGIN
          xmldata := '<?xml version="1.0" encoding="UTF-8"?>';     
          xmldata :=xmldata|| '<JOB>';
          xmldata := xmldata||' <LIST_JOB>';
          fnd_file.put_line(fnd_file.output,xmldata);    
          FOR rpt_rec IN inv_Cur LOOP
              xmldata := '<JOB_REC>';
              l_job_name := replace(rpt_rec.JOB_NAME,'&','&amp');         
              xmldata := xmldata || XXMCG_XML_TAG('JOB_NAME',L_JOB_NAME);
              xmldata :=xmldata|| '</JOB_REC>';
              fnd_file.put_line(fnd_file.output,xmldata);
          END LOOP;
          xmldata := '</LIST_JOB>';
          xmldata := xmldata||'</JOB>';
         fnd_file.put_line(fnd_file.output,xmldata);
        EXCEPTION
        WHEN OTHERS THEN
             fnd_file.put_line(fnd_file.log,substr(SQLERRM,1,500));
        END JOBS;
    END XML_RPT;

    I resolved the problem. I have to put ; in the special character.

  • XML PUBLISHER report in Excel out put problem

    Hi Experts,
    I have developed one XML report which output type is EXCEL in Oracle Application.
    I am getting some -ve value in the report so I need to do the trailing sign
    Menace for example I got a value -8645 I need to display the value like (8645).
    This functionality is working in PDF output but in EXCEL out put it is not working.
    Could any body please help me on this..
    Its Urgent .
    Thanks in Advance.

    Check this metalink notes, did you got any error..?
    Note: 364547.1 - Troubleshooting Oracle XML Publisher For The Oracle E-Business Suite
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=364547.1
    Note: 359875.1 - Cannot View Xml Publisher Report Output In Excel Format
    Note: 358296.1 - How To Produce Requests In Formats Of HTML, RTF, and Excel From XML Publisher
    Note: 850685.1 - Wrong Output Format In Xml Publisher Output
    Note: 727031.1 - XML Publisher Requests Always Get Defaulted to Output Format as PDF Whatever the Template Type is Set To
    Note: 337343.1 - Unable to View Excel Output File Created by XML Publisher
    Note: 401328.1 - Default Layout Format for XML Publisher Concurrent Request Is Always PDF
    Re: XML Publisher Server on EBS 11.5.10.2

  • Problem with data size in XML Publisher report

    Hi Experts,
    I am working on EBS11i and database 9i. I working on XML Publisher reports, i have one XML Publisher report with generating output in EXCEL format. If i submit the report, if the data is huge (like 2.3 million records), it's ending up with warning, but if data is less, it's completing normal. Could somebody help me why it's behaving like this, is it because the report is XML Report, the xml file it's generating not have enough memory in server side if the data is huge.
    Could somebody help me how to solve this issue.
    Note: I need output in EXCEL format only.

    Pl identify the version of XMLP you are using.
    Pl post the complete warning message from the concurrent log file. Are there any additional error messages in the Output Post Processor log file ? Have you specified enough temp space using the XML Publisher Administrator responsibility ?
    How to Determine the Version of Oracle XML Publisher for Oracle E-Business Suite 11i and Release 12 (Doc ID 362496.1)
    Troubleshooting Oracle XML Publisher For The Oracle E-Business Suite (Doc ID 364547.1)
    How to set the Temp Directory for BI Publisher ? (Doc ID 1166024.1)
    Output Post Processor (OPP) Log Contains Error "java.lang.OutOfMemoryError: Java heap space" (Doc ID 1268217.1)
    HTH
    Srini

  • Error running XML Publisher report

    Hi,
    I am running a XML publisher report using xml file as the data source. The output format of the report is a PDF format. When I am running the report in a field change event or through an application engine, for both the things I am getting the following error.
    Error generating report output : %1 (235,2309)
    Error occured during the process of generating the output file from template file,XML data file, and translation XLIFF file.
    Please revert back if you have any suggestions with regards to the above problem.
    Thanks in advance.
    Regards,
    Vamsi.

    Well
    i m also struggling with the same error.
    What i m trying to do is to import/use images in my peoplesoft report. In the template file (rft), the iage element properties are set to
    <fo:instream-foreign-object content-type="image/jpg" xdofo:alt="An Image" ><xsl:value-of select=".//AD_COMPOSITE"/></fo:instream-foreign-object>
    But no output is shown and this error is occured.
    Error generating report output: (235,2309)
    Error occurred during the process of generating the output file from template file, XML data file, and translation XLIFF file.
    Will be Highly ThankFul if someone knows da solution

  • URGENT please !!! Problem with XML Publisher , OAF Integration

    Hi,
    I am trying to integrate an XML Publisher Report into OA Framework but running into issues.
    If you could help me or give any pointers I would greatly appreciate it.
    When run the report through Concurrent Manager, it runs without any problem. But, when I run
    it from OAF, nullpointer exception is raised at this statement i.e. datatemplate.processData();
    I did go through many threads related to this topic, but couldn't get any help.
    This is what I have done
    ========================
    1. Wrote a PLSQL package to generate XML output.
    BEGIN
    open c_person;
    fetch c_person into v_last_name;
    close c_person;
    fnd_file.put_line(FND_FILE.OUTPUT,'<?xml version="1.0" encoding="UTF-8"?>');
    fnd_file.put_line(FND_FILE.OUTPUT,'<QUALIFICATION_REPORT>');
    fnd_file.put_line(FND_FILE.OUTPUT,'<CANDIDATE>');
    fnd_file.put_line(FND_FILE.OUTPUT,'<CANDIDATE_NAME>'||v_last_name||'</CANDIDATE_NAME>');
    fnd_file.put_line(FND_FILE.OUTPUT,'<QUALIFICATIONS_LIST>');
    FOR c1_Rec IN c_qual LOOP
    fnd_file.put_line(FND_FILE.OUTPUT , '<QUALIFICATION>');
    WritetoXMLForRTF('NAME' , c1_rec.name);
    WritetoXMLForRTF('CATEGORY' , c1_rec.category);
    WritetoXMLForRTF('START_DATE' , c1_rec.start_date);
    WritetoXMLForRTF('END_DATE' , c1_rec.end_date);
    WritetoXMLForRTF('SUBJECT' , c1_rec.subject_meaning);
    WritetoXMLForRTF('GRADE_ATTAINED' , c1_rec.grade_attained);
    WritetoXMLForRTF('HQ_STATUS' , c1_rec.hq_status);
    fnd_file.put_line(FND_FILE.OUTPUT , '</QUALIFICATION>');
    END LOOP;
    fnd_file.put_line(FND_FILE.OUTPUT,'</QUALIFICATIONS_LIST>');
    fnd_file.put_line(FND_FILE.OUTPUT,'</CANDIDATE>');
    fnd_file.put_line(FND_FILE.OUTPUT,'</QUALIFICATION_REPORT>');
    retcode := 0;
    END;
    2. Defined a concurrent program to call this PLSQL package/procedure.
    3. Defined a RTF template.
    4. Registered both the data definition and report template using XML Publisher Admin.
    5. Within OA Framework, I have coded as follows.
    Controller
    Process Form Request
    Added a button to invoke the report.
    if (pageContext.getParameter("AddlQualRptBtn") != null)
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    String p1 = "17965";
    String TemplateApplicationShortName = "CPC";
    String TemplateCode = "CPC_QUAL_RPT" ;
    BlobDomain result = (BlobDomain) getXMLData(p1,pageContext,webBean);
    Properties prop = new Properties();
    prop.put("html-image-dir",pageContext.getTemporaryImageLocation());
    prop.put("html-image-base-uri",pageContext.getTemporaryImageLocation());
    try {
    DocumentHelper.exportDocument( pageContext,
    TemplateApplicationShortName,
    TemplateCode,
    "en" , //Language
    "US" , //Territory
    result.getInputStream(),
    Template.TEMPLATE_TYPE_RTF, //OutputType,
    prop);
    } catch (Exception e)
    throw new OAException("Exception" + e.getMessage(),OAException.ERROR);
    getXMLData
    public BlobDomain getXMLData(String pPersonId, OAPageContext pageContext, OAWebBean webBean)
    BlobDomain blobDomain = new BlobDomain();
    OAApplicationModule oaapplicationmodule = pageContext.getApplicationModule(webBean);
    OADBTransaction oadbtransaction = oaapplicationmodule.getOADBTransaction();
    try
    String dataDefCode = "CPC_IREC_QUALIFICATION_RPT" ;
    String dataDefApp = "CPC";
    DataTemplate datatemplate = new DataTemplate(((OADBTransactionImpl)oaapplicationmodule.getOADBTransaction()).getAppsContext(), dataDefApp,dataDefCode );
    Hashtable parameters = new Hashtable();
    parameters.put("p_person_id",pPersonId);
    datatemplate.setParameters(parameters);
    datatemplate.setOutput(blobDomain.getBinaryOutputStream());
    datatemplate.processData();
    catch(SQLException e)
    throw new OAException("SQL Error=" + e.getMessage(),OAException.ERROR);
    catch (XDOException e)
    throw new OAException("XDOException" + e.getMessage(),OAException.ERROR);
    catch(Exception e)
    throw new OAException("Exception" + e.getMessage(),OAException.ERROR);
    return blobDomain;
    6. When I run the report from OAF the statement "datatemplate.processData();" generates Null Pointer Exception error.

    Hi TyskJohan,
    Thanks a lot for your reply, I appreciate it !!
    Here is the full error stack. I added many debug statements and identified that it exactly fails at datatemplate.processData();
    I did run the PLSQL procedure and it does creates the XML output properly. Also, the report works fine if I run it through Concurrent Manager. Is there any other way I can check from within OA Framework?
    Thanks again.
    [031108_031818343][][EXCEPTION] java.lang.NullPointerException
         at oracle.apps.xdo.dataengine.DataTemplateParser.GetNodeNumChildren(DataTemplateParser.java:345)
         at oracle.apps.xdo.dataengine.DataTemplateParser.templateParser(DataTemplateParser.java:277)
         at oracle.apps.xdo.dataengine.XMLPGEN.setDataTemplate(XMLPGEN.java:599)
         at oracle.apps.xdo.dataengine.DataProcessor.setDataTemplate(DataProcessor.java:193)
         at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:136)
         at pgcps.oracle.apps.per.irc.selfservice.webui.pgcpsIrcAddlQualRptCO.getXMLData(pgcpsIrcAddlQualRptCO.java:114)
         at pgcps.oracle.apps.per.irc.selfservice.webui.pgcpsIrcAddlQualRptCO.processFormRequest(pgcpsIrcAddlQualRptCO.java:81)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:810)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processFormRequest(OAHeaderBean.java:408)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1159)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2675)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1682)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429)
         at OA.jspService(OA.jsp:34)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    --------------------------------------------------------------------------------------------------------------------

  • XML Publisher Report with PL/SQL

    Hi
    Like to know how to develop the XML Publisher Report with PL/SQL, i did the following
    1. created a pkg like as below
    CREATE OR REPLACE PACKAGE BODY APPS.TEST_XMLTAG_PKG AS
    PROCEDURE main (errbuf OUT VARCHAR2,
    retcode OUT NUMBER
    ) IS
    BEGIN
    DECLARE
    ctx DBMS_XMLGEN.ctxHandle;
    xml CLOB;
    BEGIN
    ctx := dbms_xmlgen.newcontext('select * from scott.emp');
    dbms_xmlgen.setrowtag(ctx, 'MY-ROW-START-HERE');
    xml := dbms_xmlgen.getxml(ctx);
    dbms_output.put_line(xml);
    Fnd_file.put_line (fnd_file.LOG, XML);
    END;
    END;
    END TEST_XMLTAG_PKG;
    this pkg produces the output with xml tag in the view log.
    I have registered the conc program & xml rtf but it does not produce the output in PDF, , I am not able to get the xml tag when i click the Diagnostics --> View XML.
    can you please let me know the next steps involved.
    Regards
    Yram

    I think the problem is because there is no begin and end tag. save the xml from the logfile and open with xml editor or IE.. then you will see the problem.
    add Begin and end tag...then you should be fine.. i.e
    fnd_file.put_line(fnd_file.output,'<EMP_DATA>'); -- begin Tag
    tx := dbms_xmlgen.newcontext('select * from scott.emp');
    dbms_xmlgen.setrowtag(ctx, 'MY-ROW-START-HERE');
    xml := dbms_xmlgen.getxml(ctx);
    dbms_output.put_line(xml);
    Fnd_file.put_line (fnd_file.LOG, XML);
    fnd_file.put_line(fnd_file.output,'</EMP_DATA>'); -- End Tag
    Hope this helps..>Good Luck
    Ravi

  • XML Publisher report not printing excel output due to special characters

    Hello,
    I am trying to create a xml publisher report which should display the output in excel. But the program completes with a warning status and the output is displayed as XML instead of excel, with some errors "An invalid character was found in text content. Error processing resource " and i think these errors are due to the special characters(eg: city/province - A Coruña, Cáceres). If i give rownum < 10 in my query, where there are no such characters it works fine and i am getting an excel output.
    Tried changing the XML encoding and it doesn't help (both mentioned below)
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <?xml version="1.0" encoding="UTF-8"?>
    Do anyone have a solution for this
    Thanks in advance
    Edited by: user10317098 on Jan 16, 2012 10:58 AM

    Hi,
    Check this links that might help you..
    https://forums.oracle.com/thread/1018488
    http://docs.oracle.com/cd/E10091_01/doc/bip.1013/e05000/toc.htm
    Here the Exact solution from Oracle
    In the XML PUBLISHER ADMINISTRATOR Resp..
    Click the administration..
    then Click HTML Output
    Then in the Base Image URI Give the url of your application for example
    http://Test.Test.com:8000/OA_MEDIA/
    And then
    Image File Directory give this as per your application setup
    /u01/app/oracle/apps/apps_st/comn/java/classes/oracle/apps/media/
    Thanks & Regards
    Srikkanth.M

  • Xml publisher report giving warning

    Hi friends,
    I have a issue with xml publisher report. All existing xml publisher reports are working fine. Only the problem is newly created one.
    Application version 11.5.10.2
    dDtabase 9i
    BIdesktop version is 10.1.3.4.1
    MS office  2010
    i checked the OPP log file also.
    but i was unable to find the actual problem.
    Any help please..
    thanks in advance.
    here is the my log data
    [9/15/13 5:39:50 PM] [main] Starting GSF service with concurrent process id = 1673179.
    [9/15/13 5:39:50 PM] [main] Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=5
    [9/15/13 5:39:50 PM] [Thread-16] Service thread starting up.
    [9/15/13 5:39:50 PM] [Thread-17] Service thread starting up.
    [9/15/13 5:42:53 PM] [OPPServiceThread1] Post-processing request 3596875.
    [9/16/13 7:37:34 AM] [OPPServiceThread0] Post-processing request 3597565.
    [9/16/13 8:05:32 AM] [OPPServiceThread0] Post-processing request 3597581.
    [9/16/13 8:55:50 AM] [OPPServiceThread0] Post-processing request 3597617.
    [9/16/13 9:10:13 AM] [OPPServiceThread1] Post-processing request 3597629.
    [9/16/13 9:20:53 AM] [OPPServiceThread1] Post-processing request 3597634.
    [9/16/13 9:20:53 AM] [1673179:RT3597634] Executing post-processing actions for request 3597634.
    [9/16/13 9:20:54 AM] [1673179:RT3597634] Starting XML Publisher post-processing action.
    [9/16/13 9:20:54 AM] [1673179:RT3597634]
    Template code: XXDB_PENSION
    Template app:  PER
    Language:      en
    Territory:     GB
    Output type:   PDF
    [9/16/13 9:20:56 AM] [UNEXPECTED] [1673179:RT3597634] java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:473)
        at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:188)
        at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:156)
        at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:916)
        at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:869)
        at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:204)
        at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1497)
        at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:913)
        at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:1816)
        at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:1278)
        at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
        at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    Caused by: java.io.UnsupportedEncodingException: &Encoding
        at sun.io.Converters.getConverterClass(Converters.java:215)
        at sun.io.Converters.newConverter(Converters.java:248)
        at sun.io.ByteToCharConverter.getConverter(ByteToCharConverter.java:64)
        at sun.nio.cs.StreamDecoder$ConverterSD.<init>(StreamDecoder.java:223)
        at sun.nio.cs.StreamDecoder$ConverterSD.<init>(StreamDecoder.java:209)
        at sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:76)
        at java.io.InputStreamReader.<init>(InputStreamReader.java:83)
        at oracle.xdo.parser.v2.XMLReader.setEncoding(XMLReader.java:848)
        at oracle.xdo.parser.v2.XMLReader.checkXMLDecl(XMLReader.java:2718)
        at oracle.xdo.parser.v2.XMLReader.pushXMLReader(XMLReader.java:471)
        at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:263)
        ... 16 more
    [9/16/13 9:20:57 AM] [1673179:RT3597634] Completed post-processing actions for request 3597634.

    I got the solution.
    Cause
    Incorrect encoding value in the report's prolog
    http://appselangovan.blogspot.com/2012/04/reprte-nlsnumericcharacters-error.htmlSolution
    To resolve the issue:
    1.Open the custom report in the Report Builder
    2.Go to the property pallette of the Report
    3.Remove the xml prologue value
    4.Save the changes
    5.Retest the issue.

  • XML Publisher report - Number translation in Italian

    While i am Doing an XMl publisher report in english and Italian Languages i am facing an issue with the Dot translation.
    For eg: 4.5 is translated to 4,5 in Italian.This creates a problem for me when i am doing summary on this column.So how should i handle in case italian.

    better to ask this question in the BI (XML) Publisher Forum: BI Publisher

Maybe you are looking for