Backend tables in XML Publisher

Hi All,
Can anyone tell me that where is the data for an XML Report (eg information about the template, data definition etc) stored in the oracle database.
I got to know about some tables like XDO_TEMPLATES_B and many other tables that are prefixed with XDO. What is the significance of this XDO and what all tables store the data of an XML report. Also what is the relation between these tables.
Any guidance in these would be of great help.
Regards,
Shruti

Hi Ananth,
Thanks for your reply.
But still I am not able to establish a link between these tables.
Also please help me to understand what is the use of XDO prefixed with all table names.
Any help in this regard will be really helpful.
Regards,
Shruti

Similar Messages

  • Creating Pivot Table in XML Publisher having Completed Warning Status

    Hi guys,
    I really need you expertise on this. please help :(
    - I created a Conc. Program that has XML ouput Named Sales Report.
    - Then I connect that to my sales.RTF template.
    this is always been what i'm doing and its fine but my case now is that.
    - Creating my .RTF template in ms word, I used PIVOT table. It is okay when I loaded the xml there then view ouput.
    but when I upload it in oracle and connect to my concurrent Program there report is 'Completed Warning Status'
    Does anyone have any idea why? or is there anyway I can produce Pivot report with xls output?
    Thanks in advance.
    RDBMS : 11.1.0.7.0
    Oracle Applications : 12.1.3
    regards,
    Randy

    Hi There,
    I am encountering the same and I wonder if you've ever got it resolved. If yes would you please share the solution?

  • Display data in diagonally in table using XML publisher

    Hi,
    I need to display data of the invoice which contains columns ( invoice_number,receipt_number,amount,quantity)
    where i need to dispay amount and quantity diagonally for the invoces i.e. the data will extend dynamically.
    please give me an idea to resolve this issue.
    Thanks in advance

    in wdinit(),
    Collection col = new ArrayList();
    try{                    
      MyCommandBean bean = new MyCommandBean();
      col = bean.getDataFromDbViaEJB();
      wdContext.nodeMyCommandBean().bind(col);
    } catch (Exception ex) {
       ex.printStackTrace(ex); 
    in your JavaBean model class, MyCommandBean getDatafromDbViaEJB() method:
    Collection col = new ArrayList();
    Collection newcol = new ArrayList();
    //include your own context initialization etc...
    col = local.getDataViaSessionBean(param);
    // if your returned result also a bean class, reassigned it to current MyCommandBean
    for (Iterator iterator = col.iterator(); iterator.hasNext();) {
        MyOtherBean otherBean=(MyOtherBean)iterator.next();
        MyCommmandBean bean = new MyCommandBean();
        bean.attribute1 = outBean.getAttirbute1();
        // get other attibutes
        newcol.add(bean);
    return newcol;

  • XML Publisher Report Fails While using Pivot Table in R12 Oracle EBS

    Hello All,
    Need your help. I am trying to create a report with a Pivot table. I have created the .rtf file using the Oracle BI Publisher Template Builder for word 10.1.3.4.1. the data comes correctly in preview but when i register it in EBS and run the concurrent program it competes in warning and no output is displayed.
    The error message looks like as follows.
    [9/3/10 4:03:17 PM] [19934:RT444621] Executing post-processing actions for request 444621.
    [9/3/10 4:03:17 PM] [19934:RT444621] Starting XML Publisher post-processing action.
    [9/3/10 4:03:17 PM] [19934:RT444621]
    Template code: XXECOHCGEN
    Template app: XXECO
    Language: en
    Territory: 00
    Output type: EXCEL
    [9/3/10 4:03:31 PM] [19934:RT444621] Output file was found but is zero sized - Deleted
    [9/3/10 4:03:31 PM] [UNEXPECTED] [19934:RT444621] java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
         at java.lang.reflect.Method.invoke(Method.java:599)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:611)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:239)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
         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:1665)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5936)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:302)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:176)
    Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'crosstab' used but not declared.
         at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
         at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
         ... 17 more
    would appreciate some pointers to fix this issue.
    Regards,
    Abhijeet K
    Edited by: Abhijeet K on Sep 3, 2010 8:10 AM

    HI, was there a Solution Ever found for this post other than the Workaround.
    I am at the Same issue now, Any Valuable inputs will Help me finish my Report ASAP, becos currently this is my only Show stopper
    we have Oracle Apps R12 realease 12.1.3  we use XMLpublisher built in R12
    The issue i have is .
    I created a XMLPublisher Report using PIVOT TABLE i would like to have my output to be in Excel, When i Preview it works fine, when i execute via Concurrent Program it gives the Following Log file
    XXTPC Custom Application: Version : UNKNOWN
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    TPC_ITEM_COUNT_RPT module: TPC ITEM COUNT RPT
    Current system time is 25-JUN-2012 11:00:39
    XDO Data Engine Version No: 5.6.3
    Resp: 21676
    Org ID : 101
    Request ID: 2149483
    All Parameters: report_name=RUN BY ORDER TYPE:org_name=HQF:org_choice=TPC US:item_selection=1001:order_type=k-us:pstatus=entered,waved,notwaved,shipped:transit_days=:first_receipt_date=01-jun-2012:last_receipt_date=22-jun-2012
    Data Template Code: TPC_ITEM_COUNT_RPT
    Data Template Application Short Name: XXTPC
    Debug Flag: N
    {first_receipt_date=01-jun-2012, org_choice=TPC US, item_selection=1001, report_name=RUN BY ORDER TYPE, pstatus=entered,waved,notwaved,shipped, org_name=HQF, last_receipt_date=22-jun-2012, order_type=k-us, transit_days=}
    Calling XDO Data Engine...
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Output file size:
    29148
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 2149483 on node HQTERPAS1LX at 25-JUN-2012 11:00:51.
    Post-processing of request 2149483 failed at 25-JUN-2012 11:00:52 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    ------------- 2) PRINT   -------------
    Not printing the output of this request because post-processing failed.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 25-JUN-2012 11:00:52
    I have requested my DBA to get me the OPP file..
    Thanks in advance for any solution.

  • How to put a solid bottom border for table at page break - XML Publisher

    Hi There,
    In XML Publisher Invoice report template, I have table with hidden lines. It repeat for each invoice item.
    However I need to close the table with a solid line at the page break, when the table is extended to multiple pages.
    How can we know if its a page break. I think we can use an if condition if we know the tag for page break( for example like this <?if:@page-break="true"?> ).
    Thanks in Advance.
    Vishnu.

    You can declare two variables, to hold the previous and current LOCATION values and break the page when it differs.
    Or just before your end-for-each, have this code.
    <?if:position()!=1 and position()!=last() and LOCATION!=following::LOCATION[1]?><xsl:attribute name="break-before">page</xsl:attribute><?end if?>
    Ensure that its placed in a form field.
    This will have a page break when LOCATION changes.

  • XML Publisher Table problem

    Hi,
    I have been trying to build a table in a BI Report that does the following my attempts so far have not work. What I would like to happen is to have a table that has 15 rows displayed even if there are not 15 line items and in the event of more than 15 line items I would then like the extra lines to rollover to the next page displaying 15 rows in the table even if the remainder of line items is not 15. The report generates output for multiple customers. Please could someone advise how I could do this?
    Thank you,
    Mark

    A method for soving this problem is described here:
    http://oracle.anilpassi.com/xml-publisher-developing-reports-printed-on-pre-printed-stationary.html

  • Creating a Pivot Table in a XML publishe

    When creating a Pivot Table in a XML publisher in Word, is there a way for a Pivot table to respect the fact that it's inside of a group function? I'm looping over site , and within each site I want to create a Pivot Table that has Months going across and SUB inventories going down, but only for that site.

    Hello,
    create one column in criteria and change it's fx to case when 1=0 then Products."Prod Name" else 'Tota Loanl' end
    Now go to pivot and drag this column to Columns block of pivot. But keep this column up of Measure Labels and Now, go to column Format values.
    Mention cell horizontal alignment to Center
    see the following screenshot, Header is the column i created with the above functionality.
    !http://i852.photobucket.com/albums/ab83/kishorg86/Header.jpg!

  • XML Publisher template with fixed table

    Hi,
    I need to print the table fixed on each page, irrespective of the number of rows. For example, if the query returns 1 row or n rows the table should be shown as fixed. If there are more pages to be displayed, then the same should be displayed (fixed table) in the second page onwards.
    In short, the table should like the one in pre-printed stationary. In other words, the table should be fixed on each page, regardless of number of rows.
    Any help will be highly appreciated.
    Thanks in Advance.
    Thanks
    Rama

    Yella,
    There is not a solution. XML Publisher is not capable of doing this with RTF templates. You must either use a PDF template, make a bitmapped report, or use a third-party solution.
    RTF templates are convenient, but they are not yet, in my opinion, advanced enough to produce professional looking documents. They may get there someday, but they are not there now.
    Me personally, I have been able to make very beautiful professional looking documents with bitmapped reports. Doing things that are just not possible in XML Publisher. I do use RTF templates for some things, so they do have their place, but from my experience, professional documents is not one of them.
    Kurz

  • 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

  • Call an sql insert statement in xml publisher

    Hi to all,
    i've a question as regard xml publisher.
    Sorry but i don't have a lot of time to look around.
    This features is quite important and probably would determine if we will use this
    product or not.
    Is possible to call an sql statement when the output is generated?
    example: a user call a report with some par to filter the output (some select list / text, ecc..)
    Or generally can i call use a pl/sql block instead of pl/sql query to populate and at
    the same time to write other data to keep track of the printing / generation of the
    documents X user?
    Otherwise, is xml publisher writing this info in some system table of xml publ?
    Note: i use most of all pl/sql and htmldb and i don't want to use other programming languages until this app is finished.
    Thank you very very much.

    Hi Marcello
    I seem to remember from other threads that you are assessing the enterprise edition of XMLP right?
    If you use the data templates to define how the data should be extracted then you can call a plsql pkg after the fetch to update/insert to your hearts content.
    Otherwise you could use the APIs instead of the UI to do the same or even build an extension to the RTF templates to make the sql call ... we do not document this at the moment but its possible.
    Regards
    Tim

  • Issue using data link in XML Publisher

    Dear All,
    I am new to XML Publisher, for the first time trying data link concept in XML Publisher tool. The issue is very simple, I have two queries Q1(say it fetches sales_order_number, application_name ) and Q2 (say it fetches sales_order_number , error_number, error_description). And sales_order_number is passed as input using data link to Query Q2 from query Q1 and Q2 will retrive more than one row for a given sales_order_number.
    Say for a given dept_name 1001 the output will be something similiar like
    Q1:
    SO# | Appl.Name
    1001 | 'Invoice '
    Q2:
    SO# | Error.# | Error Desc
    1001 | 1512 | No Data Found
    1001 | 1513 | Invalid Entry
    1001 | 2674 | Error while inserting the record
    and the query which I have used in XML template goes like this
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[select sales_order_number, application_name                 
                      from T1
                     where sales_order_number = :in_sales_order_num]]>
    </sqlStatement>
    <sqlStatement name="LINES">
    <![CDATA[
    select sales_order_number , error_number, error_description
    from T2]]>
    </sqlStatement>
    <link name="Dummy_LINK" parentQuery="Q1" parentColumn="sales_order_number" childQuery="Q2" childColumn="sales_order_number" condition="="/>
    </dataQuery>
    <daraStructure/>
    And the grouping is as follows
    <group name="G_Q1" source="Q1">     
         <element name="sales_order_number" value="sales_order_number"/>
         <element name="application_name" value="application_name"/>     
    <group name="G_Q2" source="Q2">
         <element name="sales_order_number" value="sales_order_number"/>
         <element name="error_number" value="error_number"/>
         <element name="error_description" value="error_description"/>     
    </group>
    </group>
    And in the RTF template I have properly used <?for-each:G_Q1?> <?for-each:G_Q2?>- --
    <?end for-each?><?end for-each?>
    Ideally the header (Q1) should have one row and the lines (Q2) should have 3 rows. But the issue here is even Q1 produces 3 rows.
    If in case Q2 has 4 records, then Q1 also plots 4 records in the report output. Hope I am explaining the issue correctly. Any help to resolve the issue would be a great. Thanks in advance.
    Regards,
    Antony.

    try like this
    <?if: (TYPE='A') or (TYPE= 'B')?><TABLE STRUCTURE><?end if?>
    or
    <?if:contains('A~B', TYPE )?><TABLE STRUCTURE> <?end if?>

  • Is this a limitation in XML Publisher ??!!

    Hi,
    I need to confirm that somebody here did a normal invoice using XML Publisher before. what I mean by normal invoice is that
    customer: --- Date -----
    Item | quantity | price | amount
    item1 | 5 | 10 | 50
    item2 | 1 | 100 | 100
    Total 150
    one hundred fifty dollars
    no matter how many items, the total should come at the end of the invoice and if the number of items cant fit in one page this totals will be only in the last page of the invoice
    my question is there anyone did this before. we used to do it using anchoring in report builder but I am unable to find similar thing here in XML Publisher
    this will affect my company decision of going to this technology or not because not only invoice, we have statement of account that have aging need to be in the same way, and some other reports

    Part of the fun is figuring it out on your own.
    Anyhow, we have used a fixed number of lines per page, which works if you prevent lines from wrapping. To do the latter:
    <xsl:attribute xdofo:ctx="block" name="wrap-option">no-wrap</xsl:attribute><xsl:attribute xdofo:ctx="block" name="overflow">hidden</xsl:attribute>
    For fixed number of lines:
    <?for-each@section:G_CHECKS?><xsl:variable xdofo:ctx="incontext" name="group" select=".//G_INVOICES"/><xsl:variable xdofo:ctx="incontext" name="check" select="../G_CHECKS"/><?for-each:$group?><?if:(position()-1) mod $lpp=0?><xsl:variable name="start" xdofo:ctx="incontext" select="position()"/>
    <xsl:variable name="blanks" xdofo:ctx="incontext" select="number($lpp)-(count($group)-number($start)+1)"/>
    Put each below into a blank row in table.
    <?if:$blanks>=39?><?end if?>
    <?if:$blanks>=38?><?end if?>
    <?if:$blanks>=37?>
    <?if:$blanks>=36?>
    Not enough time to explain... give it a try, experiment a little and provide specific questions if you get stuck.
    Brett

  • In XML Publisher ....unable to load .RTF

    Hi ,
    I have just installed MS windows XML publisher as BI publisher download link not working.
    I started the xml server ,
    went to the url through firefox
    created/added a new data source through admin option
    crated a simple data model as
    select ename,job from emp
    created a new layout in .rtf format.
    when i upload the .rtf it uploads the same and then I have it .....
    but after saving the .rtf i can't see it in the layout as uploaded ...
    DO I have to specify some directory in the XML server where all .rtf will be saved ???
    this is my first installation ....hence no clue...
    I am using WINDOWS XP ?.....can someonw suggest please ?
    ta
    s

    i am using xml publisher for general report writing NOT FOR EBS...
    following is my data template which works fine and generates xml data
    <dataTemplate name="A_SIMPLE_REPORT">
    <properties>
    <property name="xml_tag_case" value="upper"/>
    </properties>
    <parameters>
    <parameter name="P_PARM" dataType="character"/>
    </parameters>
    <dataQuery>
    <sqlStatement name="QUERYNAME">
    <![CDATA[
    select empno EMPNO
    , ename ENAME
    , job JOB
    from
    scott.emp
    where 'XYZ' = nvl(:P_PARM, 'XYZ')
    ]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_UPPERGROUP" dataType="varchar2" source="QUERYNAME">
    <element name="EMPNO" dataType="varchar2" value="EMPNO"/>
    <element name="ENAME" dataType="varchar2" value="ENAME"/>
    <element name="JOB" dataType="varchar2" value="JOB"/>
    </group>
    </dataStructure>
    </dataTemplate>
    Now I opened a ms word document :
    1)added a table with 3 columns and 2 rows
    2) added the below column headings with their subsequent tags in row 1 and 2 respectively for the table ?
    EMPNO     ENAME     JOB
    <?for-each:G_UPPERGROUP?> <?ENAME?> <?JOB?>
    <?EMPNO?> <?end for-each?>
    is my code correct ?
    ta
    s

  • Attachments in XML Publisher

    Our attachments are on a web server.
    We have an XML Publisher report for batches. Some of the batches have attachments that defined as "Web Page".
    We want to print the content of the attachments (MS Word, MS Excel or PDF files), together with our report.
    Is there any way to print an external file with XMLP report?
    Thanks.

    i am using xml publisher for general report writing NOT FOR EBS...
    following is my data template which works fine and generates xml data
    <dataTemplate name="A_SIMPLE_REPORT">
    <properties>
    <property name="xml_tag_case" value="upper"/>
    </properties>
    <parameters>
    <parameter name="P_PARM" dataType="character"/>
    </parameters>
    <dataQuery>
    <sqlStatement name="QUERYNAME">
    <![CDATA[
    select empno EMPNO
    , ename ENAME
    , job JOB
    from
    scott.emp
    where 'XYZ' = nvl(:P_PARM, 'XYZ')
    ]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_UPPERGROUP" dataType="varchar2" source="QUERYNAME">
    <element name="EMPNO" dataType="varchar2" value="EMPNO"/>
    <element name="ENAME" dataType="varchar2" value="ENAME"/>
    <element name="JOB" dataType="varchar2" value="JOB"/>
    </group>
    </dataStructure>
    </dataTemplate>
    Now I opened a ms word document :
    1)added a table with 3 columns and 2 rows
    2) added the below column headings with their subsequent tags in row 1 and 2 respectively for the table ?
    EMPNO     ENAME     JOB
    <?for-each:G_UPPERGROUP?> <?ENAME?> <?JOB?>
    <?EMPNO?> <?end for-each?>
    is my code correct ?
    ta
    s

  • XML Publisher report ends in Warning with java.lang.OutOfMemoryError

    Hi,
    We are modifying the standard report Account Analysis Report (in Subledger Accounting) to create a custom report.
    When run wide open, it is ending in Warning with the error java.lang.OutOfMemoryError in OPP Log.
    We are on EBS 12.1.3. DB 11.2.0.3 and XML Publisher 5.6.3
    We have set the below parameters in the data definition:
    Use XML Publishers XSLT processor: True
    Enable Scalable feature of XSLT processor: True
    Enable XSLT Runtime optimization: True
    Also we have added these to the Data template:
      <property name="db_fetch_size" value="20" />
      <property name="scalable_mode" value="on" />
    On the concurrent program, we have this option set:
    -ms1024m -mx2048m
    Still, the program is ending in Warning and not producing output. Any pointers here?
    We can also see that the Temporary Directory is not able to be set on the data definition. Why is this?
    After setting the Temporary Directory from Administration page, we were able to set the temporary directory for this data definition, but that did not solve the iseue.

    Glad you have sorted this - note that the fnd_concurrent_requests table has the fields pp_Start_date and pp_end_date which will show how long post processing is taking.
    Good to a good idea to monitor this in relation to the setting you have made in the profile option Concurrent:OPP Timeout profile option though 3 hours should cover most things!!!!

Maybe you are looking for

  • Keeps asking for my hotmail password and saying its wrong stopped recieving mail

    keeps asking for my hotmail password and have stopped recieving mail

  • My adobe acrobat forms do not load correctly. I have uptodate version of that software.

    I am an immigration attorney and have an online immigration program I use daily. Since the last upgrade of Firefox, the immigration forms (adobe acrobat) for my clients do not load correctly. I get a message that the forms may not display correctly w

  • 2 Gb iPod Nano?

    What is the exact size of the memory of the 2 Gb iPod Nano? I found out only after purchase. I'm looking through the menus on my new toy and I find out it's 1.8 Gb. What happened to the other 200 Megabytes? Not happy. Jon

  • Using the built-in camera as a webcam

    Hello all. I would like a way to keep an eye on my puppy while I am at work. Ideally, I would be able to open my mac and point the camera towards his cage and be able to see that through a website, like a webcam. Is this possible? Thanks for the help

  • ALV in Web Dynpro ABAP

    Hi I am using the ALV for displaying contents of a table. Is it possible to have a table cell with menu options? Sort of like a button choice UI element for a table cell?