Different methods of creating an XML Publisher report

Hi All,
Can anyone please advice me on different methods of creating an XML Publisher report.
The method which we us is as follows -
1. Create an RDF file and upload the same in the /REPORTS/US path.
2. create a concurrent program, give output as XML.
3. Create a data definition, but here we do not upload any data definition.
4. Create a template and upload the RTF template.
But I have heard that there is a method wherein we do not have to create the RDF and simply adding the query to the XML file works.
But in that case do we upload anything in tht Data defition also ?
Can anyone please provide me any link or some place where I can read about different methods to create an XML report without the use of an RDF.
Regards,
Shruti

Hi Shruti,
There is a method where we need not to create RDF as data defination. You need to write a xml file which we upload as data defination. The short name for this data defination used as short name as concurrent program having executable XDODTEXE.
Sample XML data template :
<?xml version="1.0" encoding="UTF-8" ?>
<dataTemplate name="EmpData" description="Employee Details" version="1.0">
<dataQuery>
<sqlStatement name="Q1">
<![CDATA[select business_group_id, business_group_name
               from hrfv_business_groups
               where date_to is null
                 and business_group_id not in (0, 82)
                     order by business_group_id]]>
</sqlStatement>
<sqlStatement name="Q2">
<![CDATA[select employee_number,
                     title ,
                     full_name,
                     sex ,
                     date_of_birth,
                     email_address
             from per_all_people_f
             where business_group_id = :business_group_id
               and current_employee_flag ='Y'
               and trunc(sysdate) between effective_start_date and effective_end_date
               and rownum<11]]>
</sqlStatement>
</dataQuery>
<dataStructure>
<group name="G_BG" source="Q1">
<element name="BusinessGroupId" value ="business_group_id"/>
<element name="BusinessGroupName" value ="business_group_name"/>
<group name="G_EMP" source="Q2">
<element name="EmpNumber" value ="employee_number"/>
<element name="Title" value ="title"/>
<element name="FullName" value ="full_name"/>
<element name="Sex" value ="sex"/>
<element name="DateOfBirth" value ="date_of_birth"/>
<element name="EmailAddress" value ="email_address"/>
</group>
</group>
</dataStructure>
</dataTemplate>
This data template generates xml data which prints output on rtf template.
Hope this will help. Let me know for more info.

Similar Messages

  • How to add different versions of layout in XML Publisher Report?

    How to add two versions of layout(RTF) for different languages in xml publisher report template so that user can see the report in two languages? Is that possible?
    If so then what is the procedure to do that? Can anyone help in this regard?

    Soma,
    Refer to [Oracle XML Publisher User Guide|http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/115xdoug.zip] manual, Page 5-8 Adding Localized Templates for Additional Languages.
    Regards,
    Hussein

  • Different scenario to run Former XML Publisher report

    Hi All.
    I have some different kind of scenario to run the XML Publisher report. Please look into the following scenario and requirements:
    In my current project we are implementing 22 languages like Chinese, Japanese, Spanish etc. Out of these 22 languages, 8 languages will be installed and 14 will be uninstalled. We are defining the language on 2 places: OU level and Address level. For those reports that need to be translated, we are using XML Publisher to achieve this, but we have different scenario to pass the language, in order to select the corresponding template.
    Scenario: As i mentioned we are defining the languages on address level, it is considered that the language defined at the address level will be customer's preferred language and he would like to see the output in that language only. there are 2 possible conditions while running the report: 1. User may select the language in which he want the report to be displayed in. 2. User may not select any language. The 1st scenario can be fulfilled by standard functionality. but in case of second scenario when user does not select any language then we need to display the report in language defined on address level for that customer. For Ex: if the Invoice report is running for 4 invoices and have 2 different customers and their preferred language is different, suppose for 1 customer it is Chinese and for another one it is Japanese. Then we need to display the output in customer's preferred language only i.e for Japanese customer it should be in Japanese and for Chinese customer it should be in Chinese i.e 2 different templates will be applicable.
    So as per this while submitting the concurrent request we need to check whether user has selected the language or not? And after making all the conditions check we will have to submit the xml publisher report using API. Do you have any suggestion how can we achieve this task?
    Please suggest.
    Thanks,
    AS

    Hi AS,
    How about using a conc prog parameter for User selected language, and XML element data at customer level, then call a subtemplate (or multiple embedded regions in the same template) in the required language based on if or case logic in the template.
    Regards,
    Gareth

  • XML Publisher Report in EBS without Standard Oracle Report

    Hi folks ,
    i have some questions.
    Can I create a XML Publisher Report for the EBS without a Standard Oracle Report in EBS.
    So that I can build up the files with the Desktop Publisher, create Data Definition / Template with Upload / Create the executable und concurrent and than only start the new program in EBS ?
    I have the situation that I can start my program with the template in the background but ít is searching for the report on the file system.
    Thanks in advance for the feedback.
    regards
    Kay

    Hi Ravi ,
    can i do it only with the xml Publisher , because when i tried it in the past and get all the staff like Template / DD / CP up and running and started the CR i get an error from the system that he is missing a report directly in the file system... so he searched for the report himself on system like a standard 6i Report. But the template and the dd is stored in the db. So my question again, can I use the XML Puplisher without a Standard Report or can i use a dummy file only for checking and after that he use my template / dd.
    regards
    Kay

  • Xml Publisher Report Without RDF

    Hi experts,
    I need to customize the seeded XML publisher report.Till now i developed XML publisher reports by developing rdf only. But here i didn't see any rdf for it..
    without rdf how we can create the xml publisher report. I need to insert a field in this report where i need to insert this field.
    where i found the SQL query for this report.Please help me
    Thanks
    Ashok

    Thank u,
    Here I need to customize the Sales Order XSL Template which is a seeded template in Order Management.
    and it will execute when user select the actions button-> print and prview .so there is no concurrent program for this.they did the setups for this.
    I didn't find any datetemplate for this in data defination window.here I need to change this one as
    1.     Update the Report Header to read “Dispatch Note” instead of “ORDERING DOCUMENT”.
    2.     Inclusion of logo for each police authority (Open Issue).
    3.     Modification to include *“United Kingdom” instead of U.S.* in the free text portion of the PRODUCT section. “United Kingdom” value will be derived from the country specified for the selected organization and not hardcoded.
    4.     Footer to include shipment date instead of Sales Order Creation date and the document should be available to print only after Ship Confirm.
    5.     Updating the Layout template in the Transaction Type setup, so that it points to the modified layout template.
    6.     The modified Dispatch Note document will be included in the Ship Confirm document set and this document set will be included in the respective Ship Confirm rules. This Ship Confirm Rule will be attached in the Shipping parameters tabs for both the organisations. This step would enable the Dispatch Note to be printed automatically after successful completion Ship Confirm process.
    I have *.XSD file and .XSL file * .. I don't find any data template in datadefination window to see the SQL query.
    I thought now i have to change the *.XSD AND .XSL FILES* is it right? Is there any other solution for this ..
    Thanks
    Ashok
    Edited by: 886640 on Oct 11, 2011 6:41 AM
    Edited by: 886640 on Oct 11, 2011 10:00 PM
    Edited by: 886640 on Oct 11, 2011 11:07 PM

  • 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 thru fnd_request.submit_request

    Hi All,
    I have oracle application 11.5.10.2 and created many XML publisher reports in RTF format (RDF as a source of XML output) . Now i want to run these reports thru fnd_request.submit_request and generate report output in PDF.
    I have successfully submitted request with required report parameters and request successfully complete without any error but concurrent program does not generate any report output.
    If i run this report as a text output then i get report output thru fnd_request.submit_request.
    Can any one tell me about solution?
    Thanks
    XMLP User

    Try to post your query in the 'XML Publisher' forum, you might get more help:
    BI Publisher

  • 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

  • Printing the XML Publisher report output  from different trays of printer.

    I am generating the XML Publisher report and the output is in 5 pages and that is sent to the printer
    In the printer there are two trays one tray(tray 1) consists of company watermarked papers and the other tray(tray 2) will be consisting of ordinary papers
    I want to print the first two pages of the report on the papers of first tray and the remaining pages to be printed from another tray consisting of ordinary papers.
    How can i do this in XML Publisher.
    Any response will be appreciated
    Thanks
    Saurav

    Look at the links AJ gave.
    Basically what you will do is create a Data Definition and assign a Data Template to it. Create a (document) Template and assign it to your data definition. You will use the XML Publisher Java API classes to pass parameters to your data template and extract the XML data. Then you will use this in conjunction with your document template and the OAF integration region to present the final output to the user.
    All of these things are in the XML Publisher documentation and Javadocs.

  • CREATE XML PUBLISHER REPORT WITHOUT USING RDF

    Hi Every one ,
    Can anybody share his/her expertise on following issue ?
    "How to create XML Publisher Report without using RDF?"
    Your help is appreciated.

    Hi Swapnesh
    YOu do not need to create the XDODTEXE, its seeded for you. You need to do the following:
    1. Create and test the data template
    2. Load the data template to the template manager against a data definition
    3. Create a concurrent program definition that uses the XDODTEXE as its executable
    4. Create parameters (if required) for the CP and DT that match in name
    You're done
    Regards
    Tim

  • How to create editable PDF template for XML Publisher reports

    Hi,
    I have got a requirement to have some editable fields in one report whose output is in PDF format.
    I tried looking and saw this can be done using the XML Publisher report and using PDF template.
    But I got only Adobe Acrobat Reader and it does not have the facility to create Form fields.. Can you let me know what software I need in order to create the editable PDF Template.
    In the user guide, it didnot mention anything regarding this.
    Can I create editable PDF report using RTF template or do i have to got for PDF template only?
    Any help is appreciated!
    Thanks

    Hi,
    To edit PDF template , u need Acrobat writer, which is not free .
    I am still wondering what is this ?
    "" Can I create editable PDF report using RTF template ?? "".
    What is editable PDF report. ?
    i think what you tried to mention is ,
    can the PDF output from xml publisher is editable ?
    If that is the question , so here is some points,
    If you have Acrobat Writer or prof.edition, you can edit all the PDF documents irrespective of being from where it is generated.
    To make you understand more of XMLP.
    You create RTF template in word, so that , after merging with xml you can have multiple output formats like PDF, XLS, EFT,.....

  • Different Footer in XML Publisher reports

    Hi Experts,
    I am working in INVOICE REPORT (XML Publisher report).
    RTF: 2 page rtf
    page1:
    INVOICE INFORMATION
    page2:
    Description of Invoice.
    Output:
    page1 - Invoice1
    page2 - Description
    page3 - Invoice2
    page4 - Description
    etc...
    Till now it's working fine. Here it's printing DESCRIPTION after each invoice.
    Requirement: No footer in the second page of rtf.
    To achieve this, i put a section break in the first page, now footer in first page only.
    But the problem is, it's not giving desired output.
    Output:
    page1 - Invoice1
    page2 - Invoice2
    page3 -Invoice3
    l-
    last page -Description.
    It's not printing the DESCRIPTION after each invoice page, only in the end it's priting the Description.
    Because of section break, it's behaving like this.
    Could some body help me how to get the DESCRIPTION after inovice Without having FOOTER in the second page of rtf.
    Thanks in adnvance.

    Hi Experts,
    Could somebody help me.
    Awaiting your responses.
    Thanks.

  • XML Publisher report to view as a self service page in EBS R12

    Hi All,
    I would like to show my XML publisher report as a self service page. What are the different methods in which i can show these reports. I would like to just click the function of the responsibility and see the report as a page.
    Your suggestions would be appreciable. Thanks in advance.
    Regards,
    Boris

    Hi All,
    I would like to show my XML publisher report as a self service page. What are the different methods in which i can show these reports. I would like to just click the function of the responsibility and see the report as a page.
    Your suggestions would be appreciable. Thanks in advance.
    Regards,
    Boris

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

  • 11i EBS XML Publisher Report with Multiple Data Source

    I need to create XML Publisher report in 11i EBS pulling data from another 10.7 EBS Instance as well as 11i EBS in single report.
    I am not allowed to create extract or use db links.
    My problem is how to create Data Source Connection using Java Concurrent Program.
    The approach I am trying is
    1. create Java concurrent program to establish connection to 10.7 instance.
    2. Will write the SQL queries in Data Tempalete with 2 Data Source 1 for 11i EBS and 2 for 10.7 EBS
    3. Template will show the data from both query in 1 report..
    Is there any other way to proceed using datasource API...
    thanks

    option1:
    The query should be same @ detail level, only the template has to be different for summary and details.
    @runtime, user can choose to see the detail/summary
    Disadvantage, if the data is huge,
    advantage , only one report.
    option2:
    create two separate reports summary and details
    and create diff data and diff layout and keep it as different report
    Advantage, query will perform based on the user run report, summary/detail, so that you can write efficient query.
    Dis advantage , two reports query/template to be maintained.

Maybe you are looking for

  • How To Permanently Stop Multiple Apple ID Prompts?

    Hello all, I recently had to restore my phone from an icloud backup.  Ever since, I get prompted every time I join a new network to enter passwords for accunts that have long since past.  I am sure it is because there must be a song in my 24,000 song

  • Adobe Photoshop CC Download error -

    My download of Photoshop CC (2014) onto keeps failing with the following errors: ERROR: DF012: Unable to find file(Seq 16)  ERROR: DF024: Unable to preserve original file at "C:\Program Files (x86)\Common Files\Adobe\Color\Profiles\Recommended\USWebC

  • Forms | Pages | Screens

    Good Day, I'm a simple guy, programming Visual Basic since version 3, HTML since Netscape ruled the world. The concept of Pages | Forms | Screens is something I am familiar with. In Flex - It seems this concept is obfuscated. I understand I can have

  • CREATE ERROR RPE-02005: Internal error: Attribute SYS:KEY

    Has anyone experienced this error when deploying a WF and an idea what can cause this: ORA-01422: exact fetch returns more than requested number of rows ORA-06512: at "OWF_MGR.WF_LOAD", line 2138 ORA-06512: at line 1 EDW_DMSA Create Error RPE-02005:

  • Time date stamp ?

    When making a video has anyone experienced trouble with the time and date on the time line being different fro the original clip ? i have to be sure the video displays the correct time and date for legal cases. I am considering purchasing the program