Amount formating in Excel output of XML Publisher Report

Hi,
I have to display my XML output in Excel format. I want the output of amount column to be displayed in form '#,###.00' and the negatives numbers are to be displayed in parenthesis. For eg number -234.5 should be displayed as (234.50).
I tried <?format-number:AMOUNT;'99G999G999G990D00PT'?> and also <?format-currency:OPEN_BALANCE;'99G999G999G990D00PT'?>.
Both of these works in PDF output, but its not working for Excel output.
Any input is appreciated.
Thanks and Regards

The best way i found was to put a equals and then double quotes... this only works for excel however it will allow you to cut and paste (ie to use the value to search in Oracle) and also to do vlookups.
In a bit more detail:
- I used word to generate my default table
- this created a field INVOICE_NUM
- in the cell in the table i put = " before the INVOICE_NUM field and then put the closing " afterwards.
The theory is that excel will concatenate the values together... because it has quotes around it, it will treat it as a string rather than simply a value.
For any other formats this will not work.
I'm guessing most people have moved on and resolved this some other way, but just thought I'd share the wealth!

Similar Messages

  • Report VS Excel output using XML Publisher tool (DBMS_XMLGEN)

    Hi All,
    Currently I am working on report generation in MRP module with Excel output using XML Publisher tool.
    XML tool works based on query.
    I have developed PLSQL block by using DBMS_XMLGEN – database package, to generate XML output of query.
    My question is how we can put generated xml on above PLSQL block into OUT file (APPS).
    Because DBMS_OUTPUT.PUT_LINE( ) has limitation, it allow 255 character string only.
    But I do not know, Is FND_FILE.PUT_LINE (FND_FILE.OUTPUT,’’) allow for large data?
    If it does not allow what will be the other solution in oracle application to resolve above problem.
    Let me know any queries regarding to this problem.
    Thanks and Regards,
    Sai Krishna @cavaya.com

    Hi Prakash,
    Thanks for the reply. We did apply the one-off patch and got rid of the problem of not viewing 'Excel' output using XMLP.
    Now we are looking at a different perspective:
    Basically our client is looking for the following:
    1. Mathematical functions in the resulting XLS (like SUM, AVG etc..) ouput
    2. Use of macros if possible.
    And to do this i am looking out for a sample template that gives me output in excel format I have a TAR with Oracle for this purpose, but the TAR has so far been unsuccessful in providing us with any material in the direction.
    Our client remembers seeing this as a demo at the Oracle Conference this yr at San Fransisco, but does not have a sample to provide us. We are looking for such a sample.
    Thx,
    Nitin

  • I need 3 dimentional charts as an output in xml publisher report

    Hi,
    As off now chrarts r in 2 dimension But I need 3 dimentional charts as an output in xml publisher report, please any one tel me wheather is possible or not.....?? if possible please tell me how to develop that report....

    Not sure you are on the right forum...

  • How to print output of XML Publisher report in different trays of a printer

    Hi All,
    I have a requirement in XML Publisher Report. I need to print all pages other than last one in one tray of a printer and the last page has to be printed in another tray of the same printer.
    Can anyone help me out...
    Thank You..

    I do not think it is possible to send all the pages to one tray and send only the last page to a different tray. However, you may review the following notes:
    Note: 357402.1 - How to Print the Output to a Different Paper Size Using XML Publisher Delivery Manager?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=357402.1
    Note: 394130.1 - How To Enable Printer Options Such As Duplex Printing Or Tray Selections For Bitmap Concurrent Programs
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=394130.1

  • Image in Excel output of XML Publisher

    Hi,
    I have tried to generate output of an XML report in Excel format, its working fine.
    There is an image in the RTF, the image is not displayed in the Excel output (its showing like 'X').
    I have followed the following steps:
    1)Insert > picture > from file > FNDSSCORP.gif
    2) Right Click on picture > Format Picture
    3) Enter as follows in the Web tab of Format Picture url:’${OA_MEDIA}/FNDSSCORP.gif’}
    Can anyone please help me on this, this is very urgent.
    Thanks, Divya

    You should put this issue on the XML Pub forum.
    I remember some specific setting required for linking images off the instance top. Check the XML Pub dev guide.
    --Shiv                                                                                                                                                                                                                                                                                                                                                           

  • Excel output using XML Publisher 5.5

    Hi,
    We are trying to obtain output of a simple customer summary report in 'EXCEL" format. For this purpose we have registered a 'RTF' template using which we get output in PDF/RTF formats. We are trying the 'EXCEL' format for the first time. Each time we run the concurrent request for XMLP, and then click 'View Output' we get a pop saying the following message
    "ORA-1403: no data found". The same report works perfectly fine when i run it using the template builder/viewer tool i have on my desktop. Can some throw light on this issue that we are facing.
    Please note that this is extremely important for us, as we plan to design a 'Gross Margin' report using XMLP in 'EXCEL' format and for this, this needs to work. Any inputs will be helpful.
    It would be great if someone in thr group can share a sample RTF template that generates output in 'Excel ' format.
    Tx,
    Nitin Jain

    Hi Prakash,
    Thanks for the reply. We did apply the one-off patch and got rid of the problem of not viewing 'Excel' output using XMLP.
    Now we are looking at a different perspective:
    Basically our client is looking for the following:
    1. Mathematical functions in the resulting XLS (like SUM, AVG etc..) ouput
    2. Use of macros if possible.
    And to do this i am looking out for a sample template that gives me output in excel format I have a TAR with Oracle for this purpose, but the TAR has so far been unsuccessful in providing us with any material in the direction.
    Our client remembers seeing this as a demo at the Oracle Conference this yr at San Fransisco, but does not have a sample to provide us. We are looking for such a sample.
    Thx,
    Nitin

  • No output for XML Publisher Report using CASE/DECODE in Where Clause

    Hi,
    I've a business requirement to modify an existing report which has two input parameters,
    -> p_statcode (Closed Status) which can have values 'Y' or 'N'
    -> p_overdue (Overdue Flag) which can have values 'Y' or 'N'
    The Overdue Flag is an evaluated column having values of Y/N and it is evaluated as follows,
    ONTF_MOD_VAL(NVL (
                                         (TRUNC (SYSDATE)
                                          - (TO_DATE (oe_order_lines.attribute18,
                                                      'DD-MON-RRRR')
                                             + TO_NUMBER (fnd_lookup_values.meaning))),
                                         0
                            overdue_flagThe user requirement now is they needs to be a third option for parameter p_overdue called ALL,
    passing which the output should include records having
    p_statcode is Y ELSE p_statcode is N AND p_overdue is Y OR p_overdue is N
    In other words records having both Y and N vlaues for Overdue Flag have to be returned irrespective of the value given to Closed Status.
    Original where clause in the Data Definition file is as follows,
    WHERE Closed_Status = nvl(:p_statcode,Closed_Status)
                       AND overdue_flag = nvl(:p_overdue,overdue_flag)My modified code is as follows,
    WHERE   Closed_Status = NVL (:p_statcode, Closed_Status)
             AND overdue_flag = (CASE
             WHEN :p_overdue = 'Y' THEN 'Y'
             WHEN :p_overdue = 'N' THEN 'N'
             ELSE overdue_flag
             END)
    OR
    WHERE   Closed_Status = NVL (:p_statcode, Closed_Status)
             AND overdue_flag = DECODE (:p_overdue, 'Y', 'Y', 'N', 'N',overdue_flag)Both approaches have the same problem.
    The output is in EXCEL format. The modified query works fine for p_overdue as Y or N but when p_overdue is passed as ALL it returns an empty EXCEL sheet with just the report output column headers.
    Any help as to why this is the case ?? What is wrong in my approach ?
    Regards,
    Vishal

    not clear about p_overdue = ALL
    which values needed for p_overdue = ALL ?
    try smth like
    WHERE   Closed_Status = NVL (:p_statcode, Closed_Status)
    AND (
       overdue_flag = DECODE (:p_overdue, 'Y', 'Y', 'N', 'N',overdue_flag) and :p_overdue != 'ALL'
       or
      :p_overdue = 'ALL' and (overdue_flag = 'Y' or overdue_flag = 'N')
    )for overdue_flag which has more then 'Y', 'N' values
    if overdue_flag only in ('Y','N') then
    WHERE   Closed_Status = NVL (:p_statcode, Closed_Status)
    AND (
       overdue_flag = DECODE (:p_overdue, 'Y', 'Y', 'N', 'N',overdue_flag) and :p_overdue != 'ALL'
       or
      :p_overdue = 'ALL'
    )

  • Graphs and Charts output in XML Publisher Report

    Hi All,
    I have incorporated the graphs and charts as well as some bitmap images in XML Report (RTF File), When i am taking a output in pdf. it is coming fine and working properly, where as while taking the same output in excel, graphs/charts/bitmap images are not getting displayed. Only you can view the data.
    can you please suggest what's the issue on the same and how can be resolved.
    Thanks & Regards
    Ankur Dawra

    Not sure you are on the right forum...

  • XML Publisher Report

    Dear Gurus,
    I have 3 pages of data. But i want print first 2 pages of data print in one page and 3rd page should be print as 2nd page.
    Is there any way to develop the rtf, pls guide me on this.
    Thanks,
    -narendra

    Narendra wrote:
    Dear Gurus,
    I have 3 pages of data. But i want print first 2 pages of data print in one page and 3rd page should be print as 2nd page.
    Is there any way to develop the rtf, pls guide me on this.
    Thanks,
    -narendraPlease see these docs.
    How To Enable Printer Options Such As Duplex Printing Or Tray Selections For Bitmap Concurrent Programs [ID 394130.1]
    Are There Duplex Y Axis Charts Available in BI Publisher? [ID 1335085.1]
    How To Print A BI Publisher PDF File In Duplex Printing Mode [ID 732779.1]
    How To Use Printer Features like Duplex Mode When Printing Postscript? [ID 605567.1]
    Re: How to print output of XML Publisher report in different trays of a printer
    Thanks,
    Hussein

  • Need to find the root cause of the XML Publisher report erroring out.

    Hello All,
    After I ran for a Particular Invoice, to have output in XML Publisher Report for Invoice Priting. It got errored out with the below details which i got from the OPP Log file.
    From the below information, how do I get exact root cause. Please do the needful.
    =======================================================================
    [8/6/09 11:16:32 AM] [774712:RT14922832] Executing post-processing actions for request 14922832.
    [8/6/09 11:16:32 AM] [774712:RT14922832] Starting XML Publisher post-processing action.
    [8/6/09 11:16:32 AM] [774712:RT14922832]
    Template code: XXBIORAXINV_PHY
    Template app: BIO_AR
    Language: en
    Territory: 00
    Output type: PDF
    [8/6/09 11:16:33 AM] [UNEXPECTED] [774712:RT14922832] 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:517)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:224)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:229)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    Caused by: oracle.xdo.parser.v2.XMLParseException: Unexpected EOF.
         at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:324)
         at oracle.xdo.parser.v2.XMLReader.popXMLReader(XMLReader.java:526)
         at oracle.xdo.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1287)
         at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:314)
         at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281)
         at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:266)
         ... 17 more
    [8/6/09 11:16:33 AM] [774712:RT14922832] Completed post-processing actions for request 14922832.
    =======================================================================
    Please do the needful. Suggest the steps to get rid of this critical - issue.
    Thanks,
    Abdul

    Please check if Output Post Processor concurrent manager is down/ inactive.
    Restart the manager/ get it restarted and test the issue.
    System Admin >> Concurrent >> Manager >> Administer

  • 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

  • XML Publisher - how to make column as date format in excel output

    Hi,
    I am having a XML publisher report , output is excel format. There are some date fields in reports, which are being displayed as "General" type in excel.
    Any way to restrict it in Date type only.
    Please explain the solution in detail. I am using rtf template.
    Regards
    Sandeep

    Hi Sandeep,
    I have the same issue. After looking at a lot of replies from various blogs, some suggest to use this format in your rtf.It did not work for me. You could try this and check if it works for you.
    <?format-date:datefied;’yyyy/MM/dd’?> where the format can be specific to your use.

  • XML Publisher Report EXCEL output Huge stored as Web Pages

    Hello
    I have a XML Publisher Report which generates EXCEL output and the output file size is huge.
    What I notice that it is stored as Web Pages *.htm; *.html (Save as Type) in Excel this is the reason it is huge.
    If I save as Microsoft Office Excel Workbook *.xls it Reduce the size.
    I don't know how to save as ".xls" through XML Publisher using PL/SQL.
    Any body knows? please Help..
    XML Publisher Template Builder for WORD
    Version 5.6 Build 45
    PATCH        BUG_NUMBER
    XDO.H     *3263588*
    4.5.0     *3554613*
    5.0.0     *3822219*
    5.5.0     *4206181*
    5.0.1     *4236958*
    5.6.0     *4561451*
    5.6.1     *4905678*
    5.6.2     *5097966*
    5.6.3     *5472959*
    Thanks.

    Hi Vetsrini,
    We're on 10.1.3.4.1 and siebel 8.1.1.3 and when trying to open a report from within siebel in the output format EXCEL (selected from the parameter applet), it just opens the document in the browser.
    Is there a way to get it to open directly in Excel? I guess the reason is the file extension*.EXCEL, how could we get the extension to be in excel format (xls)?
    We don't want our users to have to do this themself.
    Regards,
    Hakan

  • When running an xml publisher report the xml output leads to 9 mb and the excel output file leads to 20 mb.But the output records is originally 4000 records. When copy to new excel it is showing 3.5 mb only. Does anyone knows the answer for this issue?

    When running an xml publisher report the xml output leads to 9 mb and the excel output file leads to 20 mb. The records contained in excel file is 4000 records. When taking the excel records and copy to new excel file the excel file size is 3.5 mb only.Why does the oracle software generates 20mb file?
    Does any one knows the answer please advice?

    Hello,
    This issue is because the Excel output from BI Publisher is MHTML (XML Publisher generates XHTML) not binary .xls.
    MHTML and XHTML are more verbose formats than binary .xls.
    It will be large because the current Excel output is just an HTML and not compressed like PDF. Please use the workaround (save it as .xls file).  This is a known limitation of RTF layout templates.
    BI Publisher Enterprise has a new feature True Excel Templates. The layouts generate binary Excel output.
    Excel Output File Size Generated By BI Publisher is Very Large (Doc ID 760437.1)
    Bogdan

  • 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

Maybe you are looking for

  • How to install ftp service on the system?

    OS: SuSE Linux Enterprise Server 8 How to install ftp service on the system? How to check and modify to use it? I am not able to use FTP. Regards, D

  • Reg : New GL Line Items

    Hi, We are implementing new GL and I did find out some information on the new GL Vs Classical GL. New GL : Total table : FAGLFLEXT Line Item table : FAGLFLEXA Clasical GL : Total Table : GLT0 Lie Item Table : BSEG I have a question based on the above

  • Where do I select the photos to share with my ATV?

    I have updated to the latest iTunes but now can't find where to set up/manage home sharing so that I can get my ATV 'talking' to my iPhoto library on this computer.  To be clear, Home Sharing is set up and working (kinda, sorta) -- for example, in iT

  • Lost attachments in Mac Mail ...

    I have an email thread (quite a long one). In one of the emails sent to me was an important document, it was sent as an attachment. I am trying to retrieve this document, however, when I go to find that particular message in the thread I cannot click

  • 16gb micro SDHC on E90 - data loss

    Hi there, My 16gb Sandisk Micro SDHC which I was using on my Nokia E90 was alright till yesterday. This morning when I browse my memory card, I cant see any of my data on it. All I can see is the default folders "Documents, Images, Other, Sound clips