XML Publisher - Dynamic Data Columns Issue

Hi,
I am creating a amortization report where I need to show the amortization schedule for unearned revenue. Customers have signed different years of contract and I need to show the amount as per their remaining contract months. So if there are 2 month remaining in the contract then I should show the data for 2 months only and if there are 10 months then I should display 10 months. If we run the report for both customers then it should display two lines in report. For first customer the data should be only for 2 months and for second row(customer) there should be data for next 10 months. These months should be columns in the report(like excel columns, not rows). I need to display all months in columns instead of rows.
I have acheived that using Dynamic Data Columns as mentioned in the user guide. Everything is working fine except following issues -
1. How to create page level total?_
I have created page total in my template using <?add-page-total:TOTUREV;'UREV'?> and displaying using <?show-page-total:TOTUREV?> but when I run the report in excel format these page total do not display. These columns are static columns not dynamic.
If I run the report in pdf format then the static column total is displayed correctly.
2. When I run the report in excel format then report run fine and it shows all the columns properly but if I run the report in pdf format then the dynamic column are not displayed in their own columns, all the columns are overwriting each other in a single columns itself, its not expanding.
3. How do I get the total for the dynamic columns?_
I need to display the page level total for the dynamic columns also, how do I do that?
4. When I run the report in excel format the 2 decimal places of the numbers are gone(it works fine in pdf output), like 12.50 becomes 12.5 and 14.00 becomes 14. I need to maintain those 2 decimal places. I have tried using <fo:bidi-override direction="ltr" unicode-bidi="bidi-override"><?format-number:CVALUE;'999999D99'?></fo:bidi-override> but this does not solve my problem completely. It shows the values correctly in excel but then I am not able to do any calculation on those columns, looks like it converts them to text values.
Any help is really appreicated. Please let me know if you need the xml template and data file.
Regards
Hitesh

Hi Hitesh,
Can you please upload your RTF and XML template file? I will try to spend sometime on this issue.
Cheers
Sachin

Similar Messages

  • Dynamic data column; pdf vs excel output

    I have created a amortization report using BIP dynamic data columns. When I run the report in excel format then report run fine and it shows all the columns properly but if I run the report in pdf format then the dynamic columns are not displayed in their own columns, all the columns are overwriting each other in a single columns itself, its not expanding.
    Any idea what could be wrong here. Why does it work fine in excel and not in pdf output.
    Please let me know if you would like to see the rtf template and xml data file.
    Regards
    Hitesh

    Can you send me the sample xml and RTF ?

  • SUB Totals within a Dynamic Data Column

    Has anyone ever calculated SUB Totals in a Layout with a Dynamic Data Column?
        The TOTAL for all data is expressed on the Data Column tab of the Layout as C(1):C(1) - 0FISCPER / Posting Period is the Dynamic Characteristic.  When the system actually displays the 12 columns of data for the Year, the formula for TOTAL is also adjusted - no problem here.  But the user also wants SUB Totals, by Quarter, within the Year.
        Any insight or suggections are appreciated !
    Thanks,
    Lyle

    Hello,
    use variables Q1, ..., Q4 for the quarters and create
    data colums as follows
    1 Q1 dynamic = X
    2 Total C(1)
    3 Q2 dynamic = X
    4 Total C(3)
    5 Q3 dynamic = X
    6 Total C(5)
    7 Q4 dynamic = X
    8 Total C(7)
    9 Year Total C(2)C(4)C(6)+C(8)
    Regards,
    Gregor

  • Grouping of chracateristics by using dynamic data columns

    Hi all,
    I want to create a BPS Layout (BW3.5) with the material in the lead column and a KeyFigures, the year and the salesgroup in the data column. The salesgroup is the dynamic characteristic.
    Example:
    I want to have:
    SG1 2007/   SG1 2008/   SG2 2007/   SG2 2008...
    What the system is doing is:
    SG1 2007/   SG2 2007/   SG1 2008/   SG2 2008
    My question is: how can I change the grouping of the columns from year to salesorg?
    Can anybody help me?
    Best regards,
    Rainer

    Hi Rainer,
    Thanks for your appreciation.
    I thought there is not material in your lead column, okay if your case like that i suggest you like this.
    I suggest to .
    To choose Layout Category:
    1. Key Figures in Data Column
    Define data column dynamically for : Sales Group
    And make the fiscal year, and material as lead column.
    In the data column tab, define the key-figures there and mark Dynamic checkbox.
    Or if you want to group based on the fiscal year, you can make the fiscal year as you dynamic data column.
    Hopefully it can help you a lot.
    Best regards,
    Niel.
    thanks for the points you choose to assign.

  • Header description of dynamic data columns dynamically

    Hi all,
    How is it possible to get Header description of dynamic data columns dynamically??
    Thanks and regards,
    Harry

    Harry,
    Don't have the system right now so going by memory.
    There are 2 parts - you need to see how you specified the text replacement of the variable.  Say on 0fiscper if you specify characteristic value it would show I think 001.2007, 002.2007, etc.  If you use one of the text types, it would be based on the description.
    I always have to think if I need to put the infoobject name or the variable name in the layout definition in the description part.  Off the top of my mind, it would be the infoobject name i.e. 0fiscper for example

  • XML Publisher Time out setup issue with load balancer

    I have a single node install of Oracle Apps 12.0.4. When running an XML report, it completes successfully and I can view the XML report by clicking on the "view output" button.
    I have an Oracle Apps 12.0.4 multi-node install with my database and admin tier running on the same box. I also have two app tiers front-ended with a cisco load balancer. In this environment, when I run an XML Report the job completes with a warning. I have reviewed the log file from the Output Post Processor log file and have the below errors.
    [10/14/08 3:40:48 PM] [14736:RT4712865] Executing post-processing actions for request 4712865.
    [10/14/08 3:40:48 PM] [14736:RT4712865] Starting XML Publisher post-processing action.
    [10/14/08 3:40:48 PM] [14736:RT4712865]
    Template code: FNDCPPGD_XML
    Template app: FND
    Language: en
    Territory: US
    Output type: PDF
    [10/14/08 3:44:33 PM] [UNEXPECTED] [14736:RT4712865] java.net.ConnectException: Connection timed out
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.Socket.connect(Socket.java:516)
    at java.net.Socket.connect(Socket.java:466)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
    at sun.net.www.http.HttpClient.New(HttpClient.java:287)
    at sun.net.www.http.HttpClient.New(HttpClient.java:299)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:796)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:748)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:673)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:917)
    at java.net.URL.openStream(URL.java:1007)
    at oracle.apps.fnd.cp.util.RemoteFile.readURL(RemoteFile.java:217)
    at oracle.apps.fnd.cp.util.RemoteFile.transferFile(RemoteFile.java:195)
    at oracle.apps.fnd.cp.util.RemoteFile.transfer(RemoteFile.java:131)
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:224)
    at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:172)
    I have double check my tnsnames.ora, opened an SR, researched in Metalink & on the web but am unable to find a resolution. Any help would be appreciated. Thanks!

    we have the same issue. Any workaround so far?

  • Dynamic Data columns

    Hi...
    Here's my scenario. My layout is keyfigures in lead columns.
    I want Calendar Year in the Header. I want the Calendar Year/Month (0CALMONTH) in data columns.
    But, the data columns should be dynamically set to the 12 months of the Year I choose as part of the header combination. Example, I choose 2008 as header:
    Layout should alow me to enter sales for all months of 2008. So, data columns should become:
              Jan 2008   Feb 2008   Mar2008   Apr2008  .....
    Sales
    I'm open to ideas for other types of layouts also as long as the the months (0CALMONTH) are derived based on Calendar Year.
    Thanks...

    KJ, thanks for your response.
    Dont mean to question your suggestion at all. But is that only way?
    I mean to me deriving a calendar year month seems to be a normal practice.
    But if thats the only way, could you please provide more insight and possibly an algorithm for the exit? never worked exits before in the cotext of BPS.
    Thanks...

  • Can XML publisher hold data source

    Hi XML guru's,
    I understand that, XML publisher holds templates. Which are used to create XML reports.
    Could anyone let me know, whether XML server can able to hold data source like stored procedures etc.
    So it can fetch data with in the XML publisher and generate a report accordingly.
    Regards,
    Deb

    Hi,
    I understand that XML Publisher is stand alone product which can has it own roles and responsibilities.
    Is there any way, we can add integrate XML Publisher with Oracle Apps. So that it will share same roles and responsibilities.
    Let me know, if any patch to be applied ?
    regards,
    Deb

  • XML Publisher Loading data error "Run-Time Error '76' Path Not Found"

    Hi,
    I am trying to preview the PDF output in the XML Publisher Desktop Application.
    I am able to LOAD the data successfully.
    But whenever we try to preview the output, we are getting an error saying "Run-Time Error '76' Path Not Found".
    I am running in Vista OS and MS Office 2007.
    What to be done after this? Do I place the .xml and .xsd in Temp folder?
    Kindly pls help me out in this. It would be really a very great.
    Thanks & Regards,
    Santhoshkumar.M
    Edited by: 882342 on Aug 31, 2011 3:24 AM

    You must give your user full control to C:\program files\Oracle i.e. the folder where your BI Publisher or XML Publisher Desktop is installed, see http://boardreader.com/thread/xml_publisher_error_Run_Time_Error_76_Pa_lsptXmonb.html

  • BPS Planning Layout - Data Column issues

    My basic question is:  is it possible to configure a characteristic in the data column such that it contains a range of values, instead of just a single value.  We have requirements to produce a series of comparison columns for things such as "Year-to-Date" (sum of a range of fiscal periods), "Prior 12 Months" (again, sum of a range of periods), and so forth.  Unfortunately, the BPS layout configuration of data columns only allows you to specify a single characteristic value.  If you configure it with a variable that contains the range, the system only uses the LOW value of the range, not the full range.  The ability to provide such comparison columns is critical to our users' ability to see prior information and make a determination of new plan values for the plan year.
    Any thoughts or suggestions on how I should approach this, or alternative approaches to take?

    John,
    This has been an issue with BPS since you can only display data columns of the granularity you specify rather than a range such as YTD similar to what you can do in BW restricted key figures. 
    The work around is to create and store the numbers in 
    1) YTD key figure in say fiscal year current year fiscal period current period and/or
    2) Prior 12 months Key figure and store the number against fiscal year current year fiscal period # or first period period of the year...
    Hope this helps and assign points if you found it useful.
    Mary

  • XML Publisher Desktop is having issue with one variable declaration

    Hello:
         I'm creating a check printing report in XML Publisher. When trying to run the preview for my template; it is throwing an error:
             Caused by: oracle.xdo.parser.v2.XPathException: Variable not defined: 'first_rec'.
          Below is the code in the text field of the template. I don't understand why it is throwing the above error. Any help is appreciated!
         <?for-each@section:OutboundPayment?><xsl:variable  xdofo:ctx="incontext" name="inner_group"  select=".//DocumentPayable"/><?for-each:$inner_group?><?if:(position()-1) mod $no_of_line_per_page=0?><xsl:variable name="first_rec"  xdofo:ctx="incontext" select="position()"/>
    Thanks.
    Message was edited by: Ora Person
    Can anyone in OTN community suggest the solution to the above problem? Suprise to see that no one responded to my question in past 3 days!!

    Refer
    Integrating Oracle XML Publisher with Oracle JDeveloper 10g

  • Planning layout data column issue in BPS

    hi there
    I am  trying to change the layout but it does not allow me to save my changes.
    It complains about
    "Enter a value for characteristic XXX Year for Plan (column 3)
    Message no. UPP_LB022"
    But there is no value to be entered here.
    Please advise how can this error msg be avoided and I can save my new changes to the layout
    kind regards,
    Sarah

    Hi Deepti
    It is in Data columns.
    Its working in production enviroment without any values being there for some key figures but it is complaining only when we try to make the changes in the layout and try to save.
    regards
    Sarah
    Edited by: Sarah Hopkins on Sep 22, 2008 6:49 AM

  • Dynamic Data Column

    Hello!
    I've a requirement such that based on data, dynamic columns should be created. I'm able to do this but looping in the rows is not working..
    I've done a similar requirement before when all the data are in the same hierarchy but now, data are in different hierarchy.
    This is my XML
    <IND1>
    <IND2>
    <LABEL>Hello</LABEL>
    <IND3>
    <WT>30</WT>
    <PRICE>45</WT>
    </IND3>
    <IND3>
    <WT>20</WT>
    <PRICE>35</WT>
    </IND3>
    </IND2>
    <IND2>
    <LABEL>World</LABEL>
    <IND3>
    <WT>15</WT>
    <PRICE>45</WT>
    </IND3>
    <IND3>
    <WT>25</WT>
    <PRICE>36</WT>
    </IND3>
    </IND2>
    </IND1>
    There are 2 Labels.. So, 2 tables shd be created with heading as 'Hello' and 'World' dynamically. Below, 'Hello' label, there must be 2 columns 'WT' and 'Price' Headers. Respective data shd be displayed.
    I'm able to create 2 headers and below that, WT and Price.. In my data, only the first record of WT and Price is displayed and 2 set of data is not getting displayed. I tried to loop but it's not working.
    Let me know if you want more details. I will send out the rtf which I'm doing..
    Thanks!
    Ganesh.

    I've sent a mail to you. Thanks!

  • Rdl file Tablix sorting. dynamical data columns.

    Hi ,
    we are having Tablix with 5 columns of data. in that first 3 column data is a static and remaining two columns data will be calculated and populated dynamically on the 4,5 column. it is working fine but when i sort the any of the first 3 columns it is showing
    the wrong data in the 4,5 th columns.
    can any one help how to over come this.
    Advance thanks.
    Vijay

    Hi Vijay,
    If I understand correctly, the values in the fourth and fifth column change dynamically based on the static values in the first three columns in your report. And then you set the sort expression for the data region or for each group, including the details group
    in a tablix data region.
    I tested the issue in my test environment in the basis of my understanding. I have set the expression in the fourth and fifth column and set the sorting of tablix based on the fifth static column. When running the report, there is no issue.
    To resolve your matter, please post the report design and the expression in sorting option’s screenshot to the forum.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

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

Maybe you are looking for

  • How To Use Family Sharing on one Apple ID ?

    OK....I like the new family sharing but I got around this in past in creative way. I have one AppleID that whole family uses.....no iCloud, only use ITunes to Sync, and on each iPhone or iPad for Text & Facetime I disable in settings all but that pho

  • Firefox keeps freezing on startup, does not quit even from task manager but after 5-6 minutes.

    Firefox keeps freezing at start up. Unfreezes after 5-6 minutes works for a while and then does the same till total crash. Have tried everything. Uninstalled firefox and deleted all profiles from everywhere ( roaming and local in Appdata) Disabled ad

  • OS 10.2.4 on G4 Mac Mini

    Hello, is it possible to install OS 10.2.4 on a 1.25Ghz, G4 Mac mini? Thanks

  • 2 iTunes questions/issues

    I had to recently reinstall Snow Leopard, now I have to issues. 1) when I double click on songs in my iTunes the music doesn't play. I have to right click and then hit play, how do I enable double click again? 2) my iTunes is now set as my default in

  • Regarding ssis - Divide data over multiple files

    Hi, I have input data like this filename       id a                   1 a                  2 b                 3 c                3 i want to send the data different excel sheets all 'a' should go one excel file b should go one excel file if other ti