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

Similar Messages

  • Unable to print xml publisher report in excel format in R12

    Hi All,
    We are unable to print xml publisher report in excel format in R12. We were able to see the excel output but it's printing junk characters while printing and it's printing without any issue with PDF format.
    Please let me know how to fix this issue.
    Thanks,
    Raja

    Hi Raja,
    I presume you have gone through the debugging process of testing your template locally first to get the expected result.....
    If yes, this note might probably be helpful "Changing Output Format to RTF or Excel in XML Publisher Request Does Not Display Output Correctly (Doc ID 404512.1)"
    Good Luck,
    Lamine Balde

  • XML Publisher Report getting errored out

    Hi,
    I have created a basci XML Publisher report.
    When I run the report I am getting the following error in concurrent program log.
    XDO Data Engine ver 1.0
    Resp: 51553
    Org ID : 996
    Request ID: 5040983
    All Parameters: p_po_number=11
    Data Template Code: TDD1
    Data Template Application Short Name: PO
    Debug Flag: Y
    {p_po_number=11}
    Calling XDO Data Engine...
    [072706_012532569][][STATEMENT] oracle.jdbc.driver.OracleBlobInputStream@1b5340c
    [072706_012533015][][STATEMENT] Template parsing started...
    [072706_012533766][][EXCEPTION] java.lang.NullPointerException
         at oracle.apps.xdo.dataengine.DataTemplateParser.GetNodeNumChildren(DataTemplateParser.java:327)
         at oracle.apps.xdo.dataengine.DataTemplateParser.templateParser(DataTemplateParser.java:251)
         at oracle.apps.xdo.dataengine.XMLPGEN.setDataTemplate(XMLPGEN.java:642)
         at oracle.apps.xdo.dataengine.DataProcessor.setDataTemplate(DataProcessor.java:169)
         at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:136)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:259)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    [072706_012533766][][STATEMENT] Template parsing completed...
    [072706_012533766][][STATEMENT] Setting Data Template
    [072706_012533766][][STATEMENT] Setting JDBC Connection
    [072706_012533766][][STATEMENT] Setting Parameters
    [072706_012533767][][STATEMENT] Setting Parameters
    [072706_012533826][][STATEMENT] Process Data ...
    [072706_012533870][][STATEMENT] Writing Data ...
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492)
         at com.sun.java.util.collections.ArrayList.get(ArrayList.java:306)
         at oracle.apps.xdo.dataengine.DataTemplateParser.getParentDataSource(DataTemplateParser.java:1511)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:398)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:357)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:342)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:288)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:312)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:307)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:207)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:272)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    The steps I followed to create the report are
    1. I have created a concurrent program with executable as XDODTEXE.
    2. Created a Data Template
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <dataTemplate name="DATA" version="1.0">
    <parameters>
    <parameter name="p_po_number" dataType="varchar2"/>
    </parameters>
    <dataQuery>
    <sqlStatement name="ROW">
    <![CDATA[select pha.segment1, pra.release_num,pra.org_id
    from
    po_headers_all  pha,
    po_releases_all pra
    where
    pha.po_header_id=pra.po_header_id and
    pha.segment1=:p_po_number]]>
    </sqlStatement>
    </dataQuery>
    </dataTemplate>
    3. I have created a data definition with concurrent program short name as code and uploading data template.
    4.I have created a rtf template and registered against the data definition.
    When I run the concurrent program, its failing with the above mentioned error, I am not able to debug out of it.
    Could somebody please help me?
    Thanks in Advance,
    Thiru

    Hi,
    I don't see any issue with data template. it works fine for me .
    Make sure the CP program shortname and Application name are the same as data definiton code and application name.
    As per the error It seems the JCP could not get the data template from repository and its passing null.
    What xdo version you are using ?

  • XML Publisher/Report Definition - Excel Template Issue

    Hi everyone,
    I'm Diego, and I've been getting some issue to upload/download Excel templates using XML Publisher and Report Definition.
    I've been working over Real Estate Module and I get an activity to make an Excel Report. I've made all necessary step to make an excel template; create a .xls template, uploading the file to XML Publisher Repository, creating a Report Definition associating a RDA, and so on...
    When I generate the file in the Web (DV), it doesnt work; when I download the final excel, it doesnt appear any information. It comes just the statics texts and formatting, the real data information inside xml doesn't appear at excel.
    I've made a lot of tests and changes, but without success.
    FYI, I've already made a .rtf template and it worked well.
    I'd really apreciate if anyone help me or at least having any clue about it.
    Thanks so much,
    Diego Santos

    Hi my friend,
    First of all, thanks for reply.
    I've checked the template definition, and it seems OK.
    I've created the XML Publish Repository with Object Type = TL, in excel template I didn't put any additional info, (the field Template Type = TYPE_EXCEL_TEMPLATE cames by default).
    As I told above, i've made many tests..with and without grouping, but no success.
    However, when I test it locally it works. When I test the .xls + xml using Template Viewer runs well. But when I download the .xls on Web, it didn't retrieve any data information. =/
    I've already downloaded this doc, and I'm using it as support.
    If you need any more information, pls let me know that I'll tell you in a sec.
    Thanks a lot,
    Diego

  • XML Publisher report in EBS - Parameter Form Problem

    Hi,
    XML Publisher is a very powerful tool for report developing.
    In EBS, we have some efficient issue for showing the parameter form when submit a concurrent program.
    If the report is D2K Report or PL/SQL script, when submit a request, it almost shows the parameter form immediately after entering the name of the concurrent program.
    But if the report output is XML and generate report using XML Publisher, it takes about 1 minutes to show the parameter form.
    Is there any setting should be tuning in our environment or some patches should be applied??
    Thanks in advance.
    Best regards,
    Zhxiang.

    Hi All,
    Is there any suggestion, for the issue that t takes long time to show the parameter form?
    Thanks in advance,
    Zhxiang

  • Popup blocker issue when trying to open XML publisher report in Excel forma

    Hello
    I am having the XML report in excel format, when i click on output it was blocking by popup blocker i think and when i click 'Control' button on my keyboard and then press the output it will show the window to save or open the excel. I have added my instance name in the popup blocker setting in the 'Allowed' list but still having the isseu... Anybody have any comments on this...

    General-D wrote:
    We recently upgraded to TestStand 2012, and we are having trouble with the creating a readable report.   We have the results set to .xml.   Previously we were using TestStand 4.2 and we were able to convert the .xml to .xls using a stylesheet.  But this doesn't work now.   I’m getting an error – doesn’t have a top level element.   We installed TestStand 2012 using a new enterprise site license, and I wondering if we are missing something on the install.  I don't see any TestStand 2012 folder in the C:\Program Files\National Instruments\TestStand xxx.   Also is there a better way to create reports that are already converted to .xls, so that anyone can read the reports using excel?
    Thanks, Dale
    I do not think TestStand ships with a stylesheet to do any such conversion, so I am assuming this is a custom stylesheet that you have either written or gotten from a 3rd party. It's possible something is formatted differently in the xml in TestStand 2012 that your stylesheet is not expecting. You might need to debug and modify your stylesheet to make it work with TestStand 2012.
    There should be a TestStand folder. Perhaps you are on a 64-bit OS in which case the folder would be located at:
    C:\Program Files (x86)\National Instruments\TestStand xxx
    Hope this helps,
    -Doug

  • Viewing XML Publisher reports in Excel

    When trying to View excel output report in Apps viewer from tools>Copy it's giving below message in browser for one of the instances here
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then
    click the Refresh button, or try again later.
    The operation completed successfully. Error processing resource
    'http://org-oappsdev.sybrondental.com:8014/OA_CGI/FNDWRR.ex...
    <td valign="top" class="c1"><p class="c2"><span class="c3">CSR:    &am...
    http://org-oappsdev.sybrondental.com:8014/OA_CGI/FNDWRR.exe?temp_id=1380771892
    where as in other instances it's working ok
    checked viewer options and patches related to this they are same not sure why it's not working in one instance
    Thanks
    Kamalakar.G

    did you check 'Veiwer: Text' profile option?? what is it set to?

  • 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

  • Excel output gets expanded when developing Xml publisher report !!

    I am developing a report using XML publisher which generates Excel output ....
    And my layout keeps repeating for every unique delivery...(i am passing 'x' deliveries as input)
    1) When i try to generate a pdf output, my report works fine but when i try to generate an excel output the table size expands..
    2) The jpg file inserted in the rtf(layout template) appears when i generate pdf report and does not appear in the excel output..
    What could be the reason ??

    Hi;
    Please see below thread which could be helpful for your issue:
    XML PUBLISHER report in Excel out put problem
    Regard
    Helios

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

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

  • 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 to display a negative number in XML Publisher output in excel

    Hi All,
    I am facing problem in displaying a negative number in XML Publisher output in excel.
    My requirement is that I have to display a negative number in brackets when the output is taken in excel format. Eg: If the value is -123 then i have to display it as (123).
    I have put these brackets using a formula column in the RDF, but it is the default functionality of excel that whenever there is a number in brackets then it automatically displays that as a negative value.
    Can anyone please help me how I can display this negative number within brackets and not as a negative digit. Is there any special tag or is there any formula which can be used to convert this into text and written in the Help text of RTF template.
    This is very urgent. If someone knows please reply asap.
    Regards,
    Shruti

    This is very urgent. If someone knows please reply asap.We are all volunteers here, so no ones questions are more urgent then other ones.
    If its that urgent it would have helped if you had chosen the correct forum to ask your question BI Publisher

  • 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 using RTF in Excel is coming as wrap text?

    Hi,
    I am working on XML publisher report, I have converted standard report to xml publisher , to generate the report in excel.
    But the output is coming as Wrap text, is there a way to get the output directly without wrap ?
    Thanks
    Dev

    Hi Dev,
    You can try below ways
    1>change the setting in table properties to fit table cell as per contents.
    2>or create a table and inside that create one more inner table and add your fields.
    3>or Create .XLS layout it will come properly.
    Thanks

Maybe you are looking for