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>

Similar Messages

  • Excel output for the xml publisher report when it is [b]scheduled [/b]

    How to get the excel output for the xml publisher report when it is scheduled by a apps user? Like what is the user profile option (for the apps user who runs the report) and what are the other things that needs to be taken care of so that only this xml publisher report run by this apps user produces a EXCEL output (When scheduled) ???
    Really appreciate it if any one can help me in this regards.
    Thanks
    Munna

    Hi Munna,
    For eBusiness Suite (apps user) the report output is stored the same way whether executed immediately or scheduled.,To get excel set the options > output format to Excel. Only the user that submitted the report can view it, or you can get the output file from the server. Or you can set the notify option so that a Workflow Notification is sent when the request completes.
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/

  • 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

  • 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.

  • 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

  • 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)
    --------------------------------------------------------------------------------------------------------------------

  • OAF page with XML Publisher report

    Hi All,
    I am trying to create a OAF page with an XML Publisher report. I am not able to create a 'defaultSingleColumn' region which extends '/oracle/apps/xdo/oa/common/webui/DocumentViewerRn.MainRegion', getting a Confirm message and Validation error and they are:
    Confirm message:
    Component "/oracle/apps/xdo/12.0.0/mds/oa/common/webui/DocumentViewerRn.MainRegion" cannot be referenced from
    "/xx/oracle/apps/xxbsk/payslip/webui/PaySlipViewPG.region1" because it violates scope restrictions.
    Are you sure you want to use component "/oracle/apps/xdo/12.0.0/mds/oa/common/webui/DocumentViewerRn.MainRegion"?
    Validation Error:
    The value "oracle/apps/xdo/12.0.0/mds/oa/common/webui/DocumentViewerRn.MainRegion"
    set on the "Extends" property for component
    "/xx/oracle/apps/xxbsk/payslip/webui/PaySlipViewPG" contains multiple naming separators.
    I am trying to develop this page for R12.1.3 and using correct version of JDev (Patch 9879989).
    I am following the below link for embedding the XML PO into my page:
    http://oracle-hack.blogspot.co.uk/2012/04/launching-xml-publisher-from-oa.html
    Could you please help why I am getting error while extending region.
    Thank you,
    Ramu

    Hi. Could you please tell me how did you make it work. I read and try the same document at ttp://oracle-hack.blogspot.co.uk/2012/04/launching-xml-publisher-from-oa.html
    But I got null point exception at one of xdo package which is Oracles own class. I think something is wrong or forgotten in this document.
    Berkay

  • 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

  • PROBLEM WITH XML PUBLISHER AND GRAPH NOT DISPLAYING IN ORACLE APPS

    Hi
    All you XML Gurus here. I have a problem, When i create a report in XML Publisher desktop i can see a graph im putting into the report on preview and works fine. But when i upload the report as a rtf file into Oracle applications i can see everything else the table logo and stuff .. But just not the Graph Itself when run on the concurrant manager....
    Problem number 2
    Is there a way that i can use XML Desktop and create a line graph with 2 lines rather than 1 plotting
    here is my xml for graph i have made with one line
    chart:
    <Graph>
    <Title text="" visible="true" horizontalAlignment="CENTER"/>
    <LocalGridData colCount="{count(.//SELF_OTHERS)}" rowCount="1">
    <RowLabels><Label></Label></RowLabels>
    <ColLabels>
    <xsl:for-each select=".//SELF_OTHERS"> <Label><xsl:value-of select="BEHAVIOUR"/></Label>
    </xsl:for-each>
    </ColLabels>
    <DataValues>
    <RowData>
    <xsl:for-each select=".//SELF_OTHERS"> <Cell><xsl:value-of select="SCORE"/></Cell>
    </xsl:for-each> </RowData>
    </DataValues>
    </LocalGridData>
    </Graph>
    All help would be much appreciated to my 2 problems....
    Thanks
    Sha

    Hi All
    Will post solution tomorrow or Monday on blog. Heres the chart XML for now.
    chart:
    <Graph graphType="LINE_VERT_ABS"><LegendArea visible="true" />
    <LocalGridData colCount="{count(xdoxslt:group(.//SALE, 'YEAR'))}" rowCount="3">
    <RowLabels>
    <Label>SOFTWARE</Label>
    <Label>HARDWARE</Label>
    <Label>SERVICES</Label>
    </RowLabels>
    <ColLabels>
    <xsl:for-each-group select=".//SALE" group-by="YEAR" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <Label>
    <xsl:value-of select="current-group()/YEAR" />
    </Label>
    </xsl:for-each-group>
    </ColLabels>
    <DataValues>
    <RowData>
    <xsl:for-each-group select=".//SALE" group-by="YEAR" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <Cell>
    <xsl:value-of select="sum(current-group()/SOFTWARE)" />
    </Cell>
    </xsl:for-each-group>
    </RowData>
    <RowData>
    <xsl:for-each-group select=".//SALE" group-by="YEAR" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <Cell>
    <xsl:value-of select="sum(current-group()/HARDWARE)" />
    </Cell>
    </xsl:for-each-group>
    </RowData>
    <RowData>
    <xsl:for-each-group select=".//SALE" group-by="YEAR" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <Cell>
    <xsl:value-of select="sum(current-group()/SERVICES)" />
    </Cell>
    </xsl:for-each-group>
    </RowData>
    </DataValues>
    </LocalGridData>
    </Graph>
    with the following data
    <?xml version="1.0" encoding="UTF-8"?>
    <SALES>
         <SALE>
              <YEAR>2006</YEAR>
              <SOFTWARE>1200</SOFTWARE>
              <HARDWARE>850</HARDWARE>
              <SERVICES>2000</SERVICES>
         </SALE>
         <SALE>
              <YEAR>2007</YEAR>
              <SOFTWARE>1000</SOFTWARE>
              <HARDWARE>800</HARDWARE>
              <SERVICES>1100</SERVICES>
         </SALE>
         <SALE>
              <YEAR>2008</YEAR>
              <SOFTWARE>900</SOFTWARE>
              <HARDWARE>1200</HARDWARE>
              <SERVICES>1500</SERVICES>
         </SALE>
    </SALES>
    The latest Template Builder makes this a cinch!
    Regards
    Tim
    http://blogs.oracle.com/xmlpublisher

  • Excel Output Wrapping columns Xml Publisher

    Hi,
    I am creating a RTF Template in XML Publisher, Need some help regarding the Output Format Excel:-
    When I am generating the excel output everything looks ok except the one i.e. data in some columns is automatically wrapping up and I need
    Data should be display for each line, the excel columns needs to be expended to view the data but I don’t want it
    I have tried so many thing like dynamic columns or word properties but nothing works
    Please help it would be really a big help if any one can resolve my problem.
    Regards,
    Pragati

    Hi,
    Thanks for the reply.
    it was quite helpful for me. But is there any way to display the data in the same line in excel as if we set row height exactly then it works but data going to be display in the next line.
    e.g.
    NASHOBA VALLEY
    MED CTR
    But our requirement to display it like NASHOBA VALLEY MED CTR.
    Thanks,
    Pragati

  • 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

  • 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.

  • URL to access XML Publisher report

    How would I compose a URL to be called via a personalization button, which returns the output from an XML Publisher report?

    FYI,
    There is seprate forum for XML Publisher Reports.
    BI Publisher
    Thanks

  • 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 default output in Excel format.

    Hi,
    We have defined one concurrent program whose output format is text, this concurrent program executable is PL/SQL and in this PL/SQL program we are generating XML data and displaying XML using below fnd_request.
    l_conc_id := FND_REQUEST.SUBMIT_REQUEST('GMP','GMPPDROP','', '',FALSE,
         p_sequence_num,chr(0),'','','','','','','','','','','',
    We have also defined template for this.
    Using below fnd_request we are choosing template and data is getting generated in PDF format. Now our requirement is to display the output by default in Excel format.
    FND_REQUEST.SUBMIT_REQUEST('XDO','XDOREPPB','', '',FALSE,'',
    l_conc_id,554,G_comb_pdr_temp,
    G_comb_pdr_locale,'Y','RTF','',scale_report,'','','','','',
    When i saw XML Report Publisher concurrent program, there is one parameter for Output Format and i tried passing 'Excel'/EXCEL/excel to this parameter but output is still coming in PDF format.
    FND_REQUEST.SUBMIT_REQUEST('XDO','XDOREPPB','', '',FALSE,'',
    l_conc_id,554,G_comb_pdr_temp,
    G_comb_pdr_locale,'Y','RTF','Excel',scale_report,'','','','','',
    I have also tried giving Default Output to EXCEL in template definition but this is also not working.
    Your valuable suggestions highly appreciated.
    Thanks
    Vijay

    Hi;
    What is EBS version? Please see below which could be helpful for your issue:
    Changing Output Format to RTF or Excel in XML Publisher Request Does Not Display Output Correctly [ID 404512.1]
    Cannot View BI Publisher (formerly XML Publisher) Report Output In Excel Format or XHTML [ID 359875.1
    How is Default Output Type Determined for Reports Submitted Using XML [ID 888972.1]
    Also see:
    XML PUBLISHER report in Excel out put problem
    XML PUBLISHER report in Excel out put problem
    Regard
    Helios

Maybe you are looking for