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

Similar Messages

  • 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

  • Creating a text output using XML Publisher

    Hi All,
    Recently i created a  report for my client using XMl Publisher. The Data Definition was XML and the template type was RTF and i got the output in a PDF format. All was going smoothly until the client decided at the last moment that they wanted to print this in a dot matrix printer!
    I've read some articles on XSL- Text layout templates. But i can't get my head around it (I'm Functio-Technical as opposed to Techno-Functional )
    How do i convert my RTF template to give me a text output?
    Miranga

    From what I know, you will have to create another template based on "XSL" layout or eText layout (both of them require different coding methods). The RTF can not create text outputs even in 11g. This is based on my experience so far. You can create RTF output (available by default) based on the current layout that you use for PDF and see if it can be printed in a dot matrix printer though.

  • How to inclulde digital signature in PDF outputs using XML Publisher

    I'm working on AR invoice print report which is a custom report. One of the requirements of this report is to include the digital signature in the output which is in PDF format.
    We have below code components for this custom report.
    Oracle Report (RDF) - to extract the invoice data
    RTF template - for report layout
    Bursting file - to split the output into individual PDFs
    Is there any document available to implement the digital signaure in my case?
    I'm looking for the steps to implement this in my custom report using XML Publisher.

    Take a look at the report designer's guide; section "Adding or Designating a Field for a Digital Signature" here:
    http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12187.pdf
    Thanks,
    Bipuser
    If I am not mistaken, this would require using PDF templates and use of Adobe Acrobat Professional.. Maybe others can chime in with other/better options..
    Edited by: BIPuser on Aug 2, 2011 12:58 PM

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

  • Need to create a report having 40 columns using XML Publisher

    Hi XML Report Gurus,
    I have a weird requirement. I need to create a XML Publisher Report having 40 columns. This report would be a CSV Report.
    How can i create a RTF(Template) in MS-Word having 40 columns ?? I just cannot accomodate the columns, they start wrapping down.
    Can i create a template in Excel and map the data columns to the Excel columns?
    I can create a Oracle PL/SQL package and generate the output, but I want to know if I can achieve the same thing using BI Reports.
    Appreciate your feedback
    Kiran Ramachandra
    [email protected] __.____._

    What I did, I had the column titles in the XML file as data, like
    <COL01>Employee Name</COL01>
    <COL02>Employee Number</COL02>
    etc.
    I did it this way because columns were variable, and up to the user to pick. If you have fixed set of columns, you still can include their names in the XML file, this way you will be able to display then as fields on the template.

  • 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                                                                                                                                                                                                                                                                                                                                                           

  • Oracle Matrix Report output to XML Publisher

    We have an Oracle matrix report (rdf) registered in our applications and we are trying to format the report output using XML publisher.
    I have taken XML output of the report by changing the Report output to XML in concurrent program definition. Using this XML output we have started designing the RTF template using Template Builder for Word 5.6.2.
    I am not able to get the MAtrix output in XML publisher. I am not sure how to design a Matrix Report using Template builder for word. I am not sure whether the XML output of Original Report has Tags mentioning Matrix report attributes or Not.
    Can anyone help me by explaining how to design a Matrix Report template using XML report output. Appreicate your help.

    I have posted a Blog on our blog site about how to create a matrix report in XML-Publisher
    http://technology.amis.nl/blog/?p=1558
    Perhaps this helps.
    Marcos

  • Excel Output for Standard Reports using XML Publisher

    Hi All,
    Customer wants to get Excel Output for the existing Standard/Custom Reports using XML Publisher. I followed the following procedure.
    1. Changed the output to XML for Concurrent program ( Trial Balance - Detail )
    2. Used the Existing seeded Template
    3. Ran the Report using EXCEL as the output.
    When I clicked on View Output, I am not able to see the Excel output. I am seeing the HTML tags in the output window. Verified that Viewer Options existed for Excel as follows:
    File Format=Excel, Mime Type=application/vnd.ms-excel.
    When I ran the report with PDF output. I can see the PDF output.
    Ran the HTML output with new Viewer Option ( File Format=HTML, Mime Type=application/vnd.ms-excel) then I can see the output in Browser in the Excel format. I did this test after going through the Metalink Note: Note:316752.1
    My question is.. Do I need always choose the HTML ouput in the options window to trigger the Viewer option for HTML. Customer may not like this idea. He would like to choose the Excel Output and see the output in Excel format either in the Browser or Microsoft Excel.
    Can someone in this situation before help me out.
    Thanks,
    V

    Questions rephrase:
    1. Is the output is same for HTML and Excel options ?
    2. Why the output is viewable with HTML option and not with Excel option ?
    Customer has XML Publisher Version 5.0.1 and in the process of applying 5.6.1
    Thanks,
    V

  • How to Create MultiSheet Excel Report Output in XML Publisher in Oracle R12

    Dear All,
    How to Create MultiSheet Excel Report Output in XML Publisher in Oracle R12.
    My Requirement is to develop RTF Template and geneate Excel output in Multiple sheet.
    plz guide me on this..
    thnx
    Khushal

    plz see
    BI Publisher: How to create Multisheet in Single Excel file using Excel Template [ID 1352000.1]
    for r12 you can use excel template
    i think it more appropriate for excel output

  • Is it possible to display a date as (DD-MON-YYYY) in excel output using excel template in xml publisher

    Is it possible to display a date as (DD-MON-YYYY) in excel output using excel template in xml publisher where date should be displayed as date only not string.

    I've tried to use hierarchy node variables, but it seems like you can't specify a attribute of the hierarchy such as level.  So with the WBS hierarchy, if you create a hierarchy node variable, you specify the WBS value to select (If I understand this correctly).  I wish I could instead specify "give me all the WBS nodes that happen to have the value of the level attribute greater or equal to 3.  If I understand Juergens post, he is saying make security access so that only certain WBS levels can be returned in the query.  I suppose we can try that, but that would then preclude getting the level 1 and 2 in the future if the authorization is global.

  • Can we use xml Publisher reporting for sql* Plus in EBS

    Hello All,
    The current report is designed in Sql* Plus Executable report and the output is in txt format, Now the requirement is to have the output in Excel format.
    So is it possible to use the xml reporting and make the output as Excel from the word template we design from MSword as we do for rdf(I have done few reports created in rdf to xml publisher reports in EBS and stand alone as well.).
    Do the same procedure will suit for Sql*Plus reports tooo or Is there any work around to achieve this.
    Thanks and Regards
    Balaji.

    Hi
    Thanks for the reply..
    I tried to do the follwoing
    1. changed the output to xml in the conc. prog.
    2. ran the same report but i am getting the follwoing error in the output file
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    Invalid at the top level of the document. Error processing resource
    Other reports which are using the Oracle Reports(rdf) as source, i am able to generated the xml as expected....
    So my question is whether we can use sql* reports executable and generate xml in the conc.prog.
    if any one has used the sql*reports for xml publisher reporting... please let me know, so that if its possible i will check my sql needs some validation or tuning...
    thanks in advance
    Balaji.

  • 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

  • Not getting Euro Symbol in PDF Report using XML Publisher

    Hi,
    We have developed an Oracle Report from Report Builder 6i and also a Template in RTF Format.
    We are using XML Publisher to display our XML Output in PDF Format to Users..
    There is a Field called Comments on Customer Transaction Form, where user can enter any characters and that we are querying in Report and displaying on the PDF Output.
    Currently, the user entered a Euro Character on the comments section and that was not visible to user on PDF Report and replaced by a Question Mark as below:
    "3% price reduction ?89.91, 20% marine"
    When i am Querying to the Database, i am able to see the Euro Symbol, but when i checked the XML generated on the Unix Box for the Report. I found as below:
    "3% price reduction \342\202\25489.91, 20% marine"
    So, the Euro Symbol on the database is replaced by " \342\202\254" in the XML Output and ? in the PDF Outbut.
    Please help ASAP.
    Regards
    Saurabh Jaiswal

    one way
    value set based on view (view - select level id, chr(level) cl connect by level <= 500)
    for example, chr(64) - @
    so in xml you have code of @. sample xml is
    <ROWSET>
      <ROW>64</ROW>
    </ROWSET>in rtf template pick
    <?xdofx:chr(to_number(ROW))?>
    select chr(14844588)  from dual
    €Edited by: AlexAnd on Aug 23, 2011 12:46 AM

  • In BI Publisher Report of excel output for one column is filled with spaces

    Hello,
    We have issue in BI Publisher report of excel output.
    In Excel output for one column few records are displaying as left alignment
    and few record are displaying as right alignment.
    If you are having any xml tag or any syntax for removing spaces for left side
    Please help on this issue.
    Thanks in Advance.
    Regards,
    Swaraj

    Please post the details of the application release, database version and OS along with BI Publisher.
    Is the issue with all reports or specific one(s) only?
    Do you have the patches in the following docs applied?
    Overview of Available Update Patches for Oracle BI Publisher Enterprise 10g [ID 797057.1]
    Overview of Available Update Patches for Oracle BI Publisher Enterprise 11g [ID 1276869.1]
    Overview of Available Patches for Oracle XML Publisher embedded in the Oracle E-Business Suite [ID 1138602.1]
    BI Publisher 10g RTF Template Changes Alignment Settings for Numbered Lists [ID 1418504.1]
    Thanks,
    Hussein

Maybe you are looking for

  • BSI tf90lic ERROR

    Hello All, We upgrade to BSI 9.0 recently and everything was successfull. We then upgraded our Oracle system from 10..2.0.4 to 11.2.0.2 and the BSI failed. So I downloaded the one for 11.2 oracle version and changed the TF90SERVER and TF90SERVER.CSH

  • "An error occurred while attempting to change modules" message occurs whenever I try to run Lightroom. Can't use it. Can anyone give me any hint to solve the problem?

    I found a solution in one of Apple forums. I will copy her post: "

I was checking the differences between my normal admin User account/Library/Application Support/Adobe/Lightroom contents and the one on the clean other admin User folder in the same

  • Problem with error code 401

    Hi I had a problem yesterday with my receiver determination... I had an XICACHE update error along with SAP:AdditionalText>Error when reading HTTP destination: INTEGRATION_DIRECTORY_HMI.</SAP:AdditionalText>   <SAP:ApplicationFaultMessage namespace="

  • Cannot Copy and Paste Tables

    When I copy and paste a table from Numbers it does not appear correctly, and is not even recognized as a table in keynote. I cannot access changes through the Table Inspector. I am also trying to link a chart with a table (from Numbers), and when I p

  • Problems with the vba command sendkeys in Access 2013.

    Hi, I have problems with the vba command sendkeys in Access 2013. I use a text field (no control) in a form. By means of the VBA command SendKeys "+ {DELETE}", 1  I get the text in memory from the text field, then place (paste) the text in a Word doc