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

Similar Messages

  • Not able to reset the page number in XML Publisher based on each PO

    Not able to reset the page number in XML Publisher based on PO
    Hi,
    I have created a custom purchase report and rtf template. In the rtf template, I have added the page number feature (i.e. Page 1 of 5) from Word in the template. When I run the report for a range of POs, I expect the results as follows:
    I have given 3 POs on single request. (PO#1 has 3 pages, PO#2 has 2 pages and PO#3 has 4 pages), the page number on each PO should look like as follows:
    PO#1 page 1 of 3, page 2 of 3, page 3 of 3
    PO#2 page 1 of 2 page 2 of 2
    PO#3 page 1 of 4, page 2 of 4, page 3 of 4 and page 4 of 4
    But the page number displays on each PO as follows:
    PO#1 page 1 of 9, page 2 of 9, page 3 of 9
    PO#2 page 4 of 9 page 5 of 9
    PO#3 page 6 of 9, page 7 of 9, page 8 of 9 and page 9 of 9
    Here I have to reset the page number based on each PO. If anyone done this already, can you please share with me.
    Thanks,
    Ram.

    Hi
    One clarification please.
    Are you putting Page # of ## in the for-loop section? I mean it should be within For-each@section block.
    Even if this doesn;t work, then try using Insert->Page Break after every PO.
    Regards
    Varun

  • 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

  • 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: where's XML Publisher output?

    Hi,
    The XML file created by report is in FND_Concurrent_Requests.outfile_name.
    Where's the XML Publisher output?
    I want copy the file generated (PDF or EXCEL) using utl_file.fcopy because bursting fail whe template is Type=>XSL-XML.
    Do your guys have any suggestion with this case? any input is very appreciated.
    thanks in advance
    Robert

    Welcome to the forums !
    Pl see if MOS Doc 305307.1 (How To Modify Print PO Report POXPOPDF With Custom Template) can help
    HTH
    Srini

  • How to judgement the page-number in xml publisher template

    Hi all,
    This is a xml publisher template problem, I want to realize a judgement about page-number like <?if:page-number=1?> test <?end if?> <?if:page-number!=1?> not equal<?end if?>, how can i do this? Please give some suggestion about this, thanks a lot.
    Best Regards
    Spark

    there is some seeded variable available please read xml publisher developer user guide

  • Format Number in XML Publisher

    Hi
    I am developing a RTF template for EXCEL output report. I am trying to format a number value in this report
    <?xdofx:if to_number(QUARTER_QUANTITY) > -1 then QUARTER_QUANTITY end if?>
    in the above line of code how could we format QUARTER_QUANTITY field (i need 9,999, 999 format)
    I have tried both
    format-number:fieldname;’999G999D99’
    format-number(number,format,[decimalformat])
    nothing worked for my.
    Can some one please help me to resolve this issue.
    thanks
    Raj

    Hi Raj,
    Were you able to solve this problem? I am running into the same problem where I want the number to dsiplayed with 2 decimals. When I view the output in Excel format , it cuts off the last zero for eg 18.30 becomes 18.3 If i use any other Output format like HTML trailing 0s are preserved. How do I solve this
    Thanks

  • Xml publisher output problem

    i am getiing the output of .rtf file in .rtf only but i selected the pdf format. why it is happning

    I am using the template builder and after that .rtf file I am attaching in XML Publisher Administration resoponsibility of oracle application. but when i am running this custom program to get pdf output which i selected as pdf format in xml publisher administration I am not getting the pdf output and getting the same .rtf output of design template only like column n there field no data.

  • XML publisher output report in excel format

    Hi
    I have created reports using XML Publisher, the default output preview format was PDF. While submitting the program, in the layout, I changed the format to EXCEL,it give me output in Excel. Now I need to send the output report as an attachment through e-mail.For this I have used a UNIX shell script to send the mail using uuencode and mailx commands.
    I have fetched the name of the report from table using the following command.
    SELECT file_name
    FROM FND_CONC_REQ_OUTPUTS
    WHERE FCR.CONCURRENT_REQUEST_ID = p_req_id;
    The name of the report is : XXBG_PO_IFACE_SO_RPT_8556321_1.EXCEL
    Following is the command to send the e-mail.
    (cat $MAIL_BODY; uuencode XXBG_PO_IFACE_SO_RPT_8556321_1.EXCEL XXBG_PO_RPT.xls) | mailx -m -s "$MAIL_SUBJECT" $mail_id
    I am receiving the mail with the attachement, but when i am trying to open the attachement it is throwing an error and nothing is displayed in the excel sheet.
    Note: When I am sending the mail,in similar way, with 'PDF' attachement it is perfectly fine and the attachement is opening correctly.
    Please help me.
    Thanks in advance,
    Madhu kumar

    Hi schavali,
    The error message is as follows
    Microsoft Office Excel cannot access the file "https://xxxxxxx/Inbox/XXBG_PO_RPT.xls.
    There are several possible reasons:
    --The file path doesnot exist.
    --The file is being used by another program.
    --The workbook you are trying to save has the same name as a currently open workbook.
    After throwing the error, it open s a balck excel sheet.
    Hi hsawwan,
    I have gone through the thread. I am able to see the report when I click the output tab on the concurrent request screen.
    But the problem is, when I am sending the output report as an excel attachment then I am facing the problem.
    There might be some problem with uuenocde or mailx command.
    Thanks
    Madhu Kumar.

  • EBS: Email XML publisher output, from After Report Trigger in Data Template

    Here is what I'm trying to do:
    -- In EBS (11.5.10 CU2), I'm using XML publisher (5.6.2) data template and layout template to generate Output files (PDF, EXCEL etc)
    --In the Data Template's AfterReport Trigger, I'm using the Concurrent Request Id to locate the Output file name and trying to Email that output file.
    Problem:
    -- When the AfterReport trigger code is executed, the code is NOT seeing the output file and hence the file is NOT emailed.
    Observations/Questions:
    -- From what I observe, the Output Post Processor ( that generates the Excel / PDF files) is running AFTER the code in AfterReport trigger... and hence the AfterReport trigger is Not quite seeing / able to access the output file.
    So, the sequence of execution seems to be:
    -- Before Report Trigger
    -- Data Query (SQL statement)
    -- After Report Trigger
    -- Output Post Processor
    Because the AfterReport Trigger is running before the Output Post Processor, it is Not able to see the output file. Is that a True statement?
    If Yes, how else can the DataTemplate access the Output file?
    If No, what could cause the AfterReport trigger to not see the output file?

    Because the AfterReport Trigger is running before the Output Post Processor, it is Not able to see the output file. Is that a True statement?
    I believe so, as the OPP works on the output of the Report after the Report has completed execution.
    You could use the same approach as we do for bursting the report to different users. Write a Java Concurrent program based on "oracle.apps.xdo.oa.cp. XMLPReportBurst" with delivery channel Email to send the email output. You would need to add code to launch the Concurrent child request in your AfterReport Trigger:
    function AfterReport return boolean is
    jreq_id number;
    begin
    srw.message (100, 'DEBUG: AfterReport_Trigger +');
    jreq_id:= FND_REQUEST.SUBMIT_REQUEST ('XDO','XDOBURST','','',FALSE,:P_CONC_REQUEST_ID,'Y',chr(0),
    If (jreq_id=0)
    then
    srw.message (100,'Request id is zero');
    end if;

  • XML Publisher output does not appear in Request Set

    Hi,
    I have created a request set in which i have this XML Publisher report when i run this report through concurrent program i can see the report output but when i run through request set i am not able to see the report output.
    One thing i noticed the request set does'nt attach the template to the XML Publisher report.
    would appreciate if any one can help out.
    Thanks in Advance.

    Not sure if this is same issue, but I know that the template does not attach to the request if you have not defined Territory for the template while entering the Language. It does not prompt any error but then creates problem during submission.

  • 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 report output in excel format without using options tab in EBS

    How to get xml publisher report output in excel format without using options tab in EBS?
    I am getting XML Publisher report output in excel format by using options tab while submitting the concurrent request .
    But i want to get excel output automatically.
    Can anyone give idea to get XML publisher Report output in excel without selecting options tab.
    Thanks in advance
    Sandeep V

    Hey Sandeep,
    I am working on a similar format for a report and if possible can you please give me some guidelines. I have initially created reports using XML Publisher, but for those , the output preview format was PDF. So, if I select the preview format as EXCEL will it give me output in Excel and for this to happen, how do I define the rtf template. I believe the working will be same as for PDF, create a rdf report, get output in XML and apply the template to get the data in Excel or there is something different to this.
    Thanks,
    Sunil

  • Printing Barocdes on XML Publisher output

    Hii,
    My requirement is to print the barcodes for few fields in the output. We have developed the report in XML Publisher 5.6.3. As per Oracle i need to create a Class file and then Call that Class file from Template. I am done with the Class file with the help of example Oracle has provided in the user guide. But how can i call it from Template?
    Following statement is mentioned in the user guide:
    Use the following syntax in a form field in your template to register the barcode encoding class:
    <?register-barcode-vendor:java_class_name;barcode_vendor_id?>
    This command requires a Java class name (this will carry out the encoding) and a barcode vendor ID as defined by the class. This command must be placed in the template before the commands to encode the data in the template. For example: <?register-barcode-vendor:'oracle.apps.xdo.template.rtf.util.barcoder.BarcodeUtil';'XMLPBarVendor'?>
    where oracle.apps.xdo.template.rtf.util.barcoder.BarcodeUtil is the Java class and XMLPBarVendor is the vendor ID that is defined by the class.
    And then for encoding need to use <?format-barcode:data;'barcode_type';'barcode_vendor_id'?> command.
    My doubt is where will i mention the above 2 commands in RTF template? The 2nd command (<?format-barcode:data;'barcode_type';'barcode_vendor_id'?>) can be mentioned in the field that need to be barcoded, but where should i put the 1st command?
    Oracle has also mentioned that" "Many font vendors offer the code with their fonts to carry out the formatting; these must be incorporated as methods into a class that is available to the XML Publisher formatting libraries at runtime." can you please clarify what exactly do i need to do this?
    Please help. It is urgent.
    Thanks for your help.
    Regards,
    AS

    The first issue to resolve is which barcode type do you want to use? - not all require encoding. If you are using code 39 (3 of 9) then you can just put the barcode fone in the report and it will output correctly.
    I am also trying to acieve this, but am struggling with trying to get the java classes compiled on the PC for testing.
    On the locations for the commands in the template, Tim dexter's blog has an example in a link on this entry: http://blogs.oracle.com/xmlpublisher/2006/06/28/
    Where did you find the details on the class file in the user guide? I have been struggling with the same thing.

  • XML Publisher to generate Excel reports

    Can we use RTF template to generate Excel reports? Is all the process the same or do I need to do some additional set ups? Also, can I create a custom report , set the output format to xml and run XML Publisher on the top of it to generate output of my choice? HAs anybody tried this? or is it possible only in standard reports?
    Pl help. This is v urgent , i need to design my process flow accordingly
    Thanks much

    Hi
    Yes you can generate Excel from an RTF template - there are some limitations. The Excel in this case is not binary Excel - its XHTML and the mime type is set so that Excel opens it.
    So, you can not embed formulae, macros, etc in the RTF template and get the Excel output to execute them.
    You second question is what Publisher is all about, give it XML data and a layout of your choice and then pick the output format you want.
    Tim

Maybe you are looking for

  • Stream Corrupted Exception using ORACLE LITE 8i

    Our application on the client needs to insert word documents in the form of BLOBS in the ORACLE I LITE database. I am using the below JDBC driver to store and retrieve the BLOB from the database and i have the ODBC driver for the Oracle LITE installe

  • Renamed parent directory doesn't stick

    I have a parent directory located on a remote volume on my server. Lightroom chose to name my directory, 2006 at /Volumes/Photos/JimsPhotos/15D RAW This is because there's also another directory on the server named, 2006 at /Volumes/Photos/JimsPhotos

  • Microphone Problems in Vi

    I have a X-Fi XtremeGamer. A couple weeks ago I had it set up on XP with the CD's drivers and software and everything worked fine (headphones with mic, 2. speakers). Now in Vista however, I'm using the websites drivers and software. For some reason,

  • Error connecting to 9i Olap Services from JDev9i BI Beans - corba bug ?? (urgent)

    I am using JDeveloper 9i Relase Candidate with BI Beans Pre-lease Add-in as client and Oracle 9i Database (9.0.1.0) running on HP-UX. I patched Oracle 9i Database with the latest patchsets. I haven't find any patches both for BI Beans and Olap Servic

  • Insert/import a texture?

    Hello, I am a new user to Mac's and have just discovered the wonder of pages 06. Previously I was attempting all of my work in a Windows machine using MS Word from office 2000. The one item I dearly miss from word and do not know if it is available i