'print time' formula in cross tab?

Is it possible to use a formula that is processed 'whileprintingrecords' in a cross table?

Hi Marlene
We cannot use the formula using Print time functions in Crosstab as these functions is processed in Pass # 2 of multi-pass reporting and the Crosstab is processed in Pass #1.
You can refer Multi-Pass Reporting Topic of Crystal Reports Help for more clarification.
To work around this issue you can use subreport and create a formula using print time functions and with the help of shared variable display it in Main report crosstab.
Hope this helps!
Thanks

Similar Messages

  • Print time formula error when used in cross-tab

    I have a cross-table that I'm using to calculate revenue, which is based on a conditional formula.  Within that formula is a Running Total field.  When I use this field I get the following error message: "A PRINT TIME FORMULA THAT MODIFIES VARIABLES IS USED IN A CHART OR MAP".
    My problem is that I am using the Running Total because the values are duplicated by the number of detail lines.  I think this should be a relatively easy fix, but I am stumped. 
    Thank you,
    Any help you can provide is greatly appreciated!!!
    Marlene
    Crystal Reports Professional, 11.5.8.826 (on Progress Server)

    Please re-post if this is still an issue or purchase a case and have a dedicated support
    engineer work with your directly

  • SAP Crystal Report - Formula in Cross Tab Report

    I have a below requirement in a cross tab report,
    Category          Name          Valu1          Value2    %ge
    A                       Car               40                  50        80
    A                        Bike             30                  60        50
    Total                                       70               110     63.6
    %ge is a formula field and is calculated as value1/value2 * 100
    Consider the Total section as a group footer.
    In the cross tab report how do I put the formula field for %ge in Total section.

    Vishujain
    Crosstabs are very structured and you are limited in what you can do with them. You can do a percentage summary in Crosstabs, but only as a percentage of the row total or the percentage of the column total. You cannot put a formula in the crosstab to do a percentage of a values in seperate rows. Any time I need to perform a function not available in a crosstab, I do a manual cross tab. Look at: [Manual Crosstab Explaination|Re: Formulas : Help for coding]
    Debi
    Edited by: Debi Herbert on Nov 3, 2011 11:51 AM

  • How to Use Print time formulas in crosstabs? Is there a work around

    Post Author: acarey
    CA Forum: General
    Hi,
    I am using Crystal Report XI R2
    I have run in to a problem with showing the necessary information on a cross tab and was wondering if there is a workaround.
    I am doing a report for a mining company and I want to show trucks in the rows and loaders in the columns. The trucks are either loaded with waste material or coal. I need to show the number of equivialant BCMs
    BCM is calculated value based on the number of loads per truck divided by a factor value for that truck. The problem is, factor values can change and each has an effectiveDate that tells when the factor comes into effect. To make sure I am using the correct factor for the date of the report I must do a date check which assigns a value called dateFinish or finishing date for the factor and checks if the finishing date is before the date of the report. Current factors are given a dateFinish = todays date.
    ........So seeing that the value for the equivalent BCM of a material uses the dateFinish function which is evaluated whilePrintingRecords, I cannot use it in my cross tab. Please help!

    In order to download apps from the U.S. App Store, you need to have a valid billing address in the U.S., a credit card billed to that address (or a gift card purchased in the U.S.) and to be physically located in the U.S. at the time of purchase. In the case of some apps like Netflix, you also have to be physically in a country where Netflix provides service (works when I'm in Canada, not when I'm in Japan). NFL Game Pass may work similarly.

  • Custom formula in cross-tab?

    I have a cross-tab like this
                      JAN    FEB    MAR ....... DEC (the 12 months as columns)
    year 2006
       item 01     150    205      300 .......    550
       item 02       80    190      284 ........   620
    year 2007
       item 01      458    235      224 .......... 781
       item 02      154    254      134..........  254  
    year 2008
       item 01       245    154      544           1243
       item 02       524    254      124 .........   924     
    I want to know if is possible to have a formula that take the value of each month and compare with the previous and make a calcule like this...
                      JAN    FEB    MAR ....... DEC (the 12 months as columns)
    year 2006
       item 01     150    205      300 .......    550
       item 02       80    190      284 ........   620
    year 2007
       item 01      458    235      224 .......... 781
                       (205)   (14)
       item 02      154    254      134..........  254  
    year 2008
       item 01       245    154      544           1243
       item 02       524    254      124 .........   924 
    where (205) and   (14) are calculate from:
    (205) = (150 - 458) * 100 / 150 I have to  make this operation for each month takin the values from item 01 from 2006 with the values from item 01 from 2007 and so on
    Edited by: j jara on Jul 22, 2008 2:01 AM

    Yes it is possible.
    It would be easier in CR2008  where you have the ability to add Calculated Members.
    In previous versions you would need to create a variable for each year and using the GridRowColumnValue function assign the current value to a variable. You would then need to add a second summary field as a "dummy" summary and in the Display string formula declare the variables and manipulate the values as you like and finally convert the output to string.

  • Running Totals and Formulas with Cross Tabs

    Hi,
    I'm using Crystal Reports 2008 and am having two issues using Cross Tabs.
    The first is that I want to have two crosstabs. They both will have a common Y axis (Oppourtunity.Sales Rep), and on the Y Axis I want one to show all (Opportunity.Create Date) where (Opportunity.Staus = Won) and the other where (Opportunity.Staus = In Process), but I can't figure out how to contruct the formula to return this result.
    The other issue, is that in addition to summarizing based on Sum (Opportunity.Expected Revenue), I would also like to create a running total to show the cumulative (Expected Revenue) Week over Week.
    Any direction would be fantastic.
    Thank you,
    Michael

    Please go through the SAP Notes listed here which would help you how to create mannual running totals in crosstab
    [https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=runningtotalin+crosstab&adv=true&note_number=&component=&sdn_updated_on_comparator=GE&sdn_updated_on=&sortby=cm_rnd_rankvalue]
    Regards,
    Raghavendra

  • Diffrent Data Type & Formula in Cross Tab

    Post Author: ade
    CA Forum: General
    I using crystal reports 8.5. I make cross tab like this to viewing reportsSubject           Evaluation Aspect                          Score1        Score2            Score3        Score4        Score5 Math               Conceptual Understanding                     80                    75                     70                 80                   A                          Problem Solving                                          77                    80                            90                67                    BEnglish                Reading                                                        89                    80                             86                80                    A                                Wring                                                        80                        80                              70                85                  Bfrom the table above, there are 2 types of different data they are numeric and string.In the using of logical "if" in cross tab is not allowed to use different data type and I don't understand on it... would you please help me, what shoul I do then? 

    Yes it is possible.
    It would be easier in CR2008  where you have the ability to add Calculated Members.
    In previous versions you would need to create a variable for each year and using the GridRowColumnValue function assign the current value to a variable. You would then need to add a second summary field as a "dummy" summary and in the Display string formula declare the variables and manipulate the values as you like and finally convert the output to string.

  • Formula/manual cross tab help

    my variable name in my database is rsq01. the results for this variable are 0,1,2,3,4,5.
    I need to setup a crosstab that only shows the results 1-5 and what percent of the total results they are, 0 needs to be excluded
    from the crosstab and from the count that is used in figuring the percentage because 0 is actually null.
    I have been told to do this I will have to make a manual cross tab using formulas.
    Any suggestions/examples on how to do this? Thanks.

    Pretty simple actually. Just create 5 formulas...
    //Formula 1
    Global NumberVar rsq01;
    IF rsq01= 1 THEN {TableName.FieldName} ELSE 0
    //Formula 2
    Global NumberVar rsq01;
    IF rsq01 = 2 THEN {TableName.FieldName} ELSE 0
    //Formula 3
    Global NumberVar rsq01;
    IF rsq01= 3 THEN {TableName.FieldName} ELSE 0
    //Formula 4
    Global NumberVar rsq01;
    IF rsq01= 4 THEN {TableName.FieldName} ELSE 0
    //Formula 5
    Global NumberVar rsq01;
    IF rsq01= 5 THEN {TableName.FieldName} ELSE 0
    Then group by the appropriate field, sum each of the formulas and hide the details.
    HTH,
    Jason

  • Formula for cross tab row

    Post Author: bvandyck
    CA Forum: Formula
    The results of a row in a cross tab report need to be split out by percentages and added to the results of other rows.  Each row is an individual, except one row is a combination of individuals.  Certain individuals share in the results of the combination row.   The combination row will be zero after being added to the individuals' rows.  What is the formula for achieving this?

    Hi,
    U may create a new formula for that.
    There is an option in cross tab expert for new formula.
    U may create a formula of your choice and then insert in report.
    Regards,
    Misra P.

  • Formula for Cross-Tab Column

    Hi
    I am struggling with a particular issue related to cross-tab and I tried a lot, but couldn't managed to get the solution.
    Please help with this issue , it would be of great help to me.
    Thanks
    Aniket
    [CrossTab problem|http://www.forumtopics.com/busobj/viewtopic.php?t=120765]

    Thanks for your prompt reply.
    As I am new to this forum,so I don't know how to attach file, also I tried searching but couldn't get.
    At the end of the previous post, Link is given. There is a file attached "Plz_help.zip". Please look into that file and also if you know how to attach any file, please let me know.
    If still it's not clear, please let me know I will try my best to clear this issue.
    [http://www.forumtopics.com/busobj/viewtopic.php?t=120765]
    Thanks a lot.
    Regards
    Aniket

  • Crystal Reports 2008 Formula in Cross-Tab Error Not Supported

    I have a crosstab that was created in Crystal XI and when I opened the report in Crystal 2008 I receive an Error "Not Supported" when I removed the fromula that was in the Crosstab the report displayed. The following is the formula that is within the crosstab:
    If {VWR_PPS_VISIT_SCHEDULE.COHORT_NAME} = '(No Cohort)'  THEN
        If DistinctCount({VWR_PPS_VISIT_SCHEDULE.COHORT_NAME},{VWR_PPS_VISIT_SCHEDULE.PROPOSAL_VERSION_ID}) >1 then
             {VWR_PPS_VISIT_SCHEDULE.COHORT_NAME}&" "&{VWR_PPS_VISIT_SCHEDULE.VISIT_NAME}
        else
            ""&" "&{VWR_PPS_VISIT_SCHEDULE.VISIT_NAME}
    else
        {VWR_PPS_VISIT_SCHEDULE.COHORT_NAME}&" "&{VWR_PPS_VISIT_SCHEDULE.VISIT_NAME}
    As I mentioned the formula works perfectly in Crystal XI but not Crystal 2008 which no sese at all.  We are preparing to migrate from Crystal XI to Crystal 2008 and if this is an issue we may need to but upgrading off.
    Any help with this would be gratly appreciated.
    Thanks
    Edited by: jackie2009 on Oct 9, 2009 3:41 PM

    Try adding brackets around the If statements.e.g.
    If {VWR_PPS_VISIT_SCHEDULE.COHORT_NAME} = '(No Cohort)' THEN
    If DistinctCount({VWR_PPS_VISIT_SCHEDULE.COHORT_NAME},{VWR_PPS_VISIT_SCHEDULE.PROPOSAL_VERSION_ID}) >1
    then {VWR_PPS_VISIT_SCHEDULE.COHORT_NAME}&" "&{VWR_PPS_VISIT_SCHEDULE.VISIT_NAME}
    else ""&" "&{VWR_PPS_VISIT_SCHEDULE.VISIT_NAME}
    else {VWR_PPS_VISIT_SCHEDULE.COHORT_NAME}&" "&{VWR_PPS_VISIT_SCHEDULE.VISIT_NAME}

  • Serial No in cross tab

    i need to give serial no in cross tab....
    i had given in group header...
    i have 5 different groups..
    so i need to refresh the serial no for each cross tab...
    Please help me...
    Thanks in Advance.......................

    Hi MR. HAFEEZ MR.
    The requirement is not clear but you can print serial number in cross tab.
    Go in Cross tab and right click on a field where you want to insert serial number and go in Format Field -- common Tab--Disply String then write the following formula :
    WhilePrintingRecords;
    Global Numbervar x;
    x:=x+1;
    totext(x,"##")"  "CurrentFieldValue;
    It will print serial number along with your field value.
    Thanks,
    Sastry

  • Print-time charting with shared variables on a report without groups...

    hello all,
    I have an interesting conundrum; I am working on a report (Crystal XI) with no groups to it, just several subreports. Presently the report is run weekly and sent to the manager of one of our departments.
    The report itself showcases all areas of the department with total tasks, longest outstanding task, average days outstanding, MTD tasks completed, and YTD tasks completed. Due to the variety of tables the data pulls from, I have it set up as subreports that simply display the data.
    All total, there are 20 different shared variables that have been obtained from 10 different subreports. I have the shared variables set as the running totals from the subreports (hence, all are print time). Since the running totals and all the subreports are time based and are not actually linked to ANYTHING on the main report, I am struggling with how to set up the formulas described in the white paper, "Charting on Print Time Formulas".
    The setting up of the two formulas ({@onchngof} and {@showval}) will be different for my situation, as all of the subreports run off of date information relative to when the report is ran. I've got all of the subreports that the shared variables originate in early in the report; but where to from here?
    Would I set up maybe a date grouping or some other non-essential consistent grouping to make it work? The way this report is, it really doesn't need grouping, because the main report is just a display agent for the subreports...
    As always, any help is greatly appreciated!

    Let me ask couple of questions before trying to resolve this.
    1. The chart you are trying to built is placed in which section and is it on Main report or sub-report of its own. This is needed because if you are trying to access shared variables values in Main report, the section should be below the sub-report placed sections.
    2. Try pacing few test formulas in Main report and make sure the correct values are being pulled in on Main report.
    If you are successfully pulling the variable values on the report, try creating a simple chart in report footer with the values you have pulled and see if its taking you somewhere...
    Would need more information on how those variables are being accessed form sub to main or sub to other sub for example are you making an array of those variables and splitting or bringing it in as separate...

  • Cross Tab calculation in Individual column-Crystal Report

    Hi experts
    I am preparing a report in Crystal report 2008. Report template is Cross Tab.
    Structure of report is
    Cardname-Row, DocType-Columnd, DocTotal-Summarize field.
    Result of this report is
                          IN(Invoice)             RC(Incoming Payment)      Total
    XYZ                    1000                  -500                                 500
    ABC                    2000                 -1000                               1000
    Total                   3000                  -1500                               1500
    I have inserted a column using calculated member. I want to Calculate in that column with BP opening balance
    eg. OCRD.Balance-DocTotal when I do this it give first value to all column rows, i.e (consider XYZ opng Balance is 1500, I have calculate month opening balance which meance Current Opening Balance-Current month Order bookings=Month opening balance)
              IN(Invoice)             RC(Inc Pmt)      Total   Opng Balance
    XYZ       1000                  -500                  500     500
    ABC      2000                 -1000                1000     500
    Total      3000                  -1500                1500    500
    I want to calculate Opng Balance for each CardName but it gives first Customers opning balance to all customers.
    Give me solution.
    Thanks in Advance

    Hi
    I think you can do calculation based on the formula .On the cross tab ,there is :
    X -selection - row
    Y - selection -column
    Z - summary
    You can also use formula on cross tab to do that function  and insert into summary section .
    Hope this helps .
    Bishal

  • Anyone help me in cross tab report

    Hi All,
    this is my first time to build cross tab report in xml publisher
    my code is
    <?xml version="1.0"?>
    <!-- Generated by Oracle Reports version 10.1.2.0.2 -->
    <TEST>
    <LIST_G_SUMFIXED_ASSETS_COST>
    <G_SUMFIXED_ASSETS_COST>
    <LIST_G_ASSET_NUMBER>
    <G_ASSET_NUMBER>
    <ASSET_NUMBER>2402</ASSET_NUMBER>
    <DESCRIPTION>Intangible Assets </DESCRIPTION>
    <LIST_G_PERIOD_NAME>
    <G_PERIOD_NAME>
    <PERIOD_NAME>Dec-08</PERIOD_NAME>
    <LIST_G_FIXED_ASSETS_COST>
    <G_FIXED_ASSETS_COST>
    <FIXED_ASSETS_COST>1</FIXED_ASSETS_COST>
    </G_FIXED_ASSETS_COST>
    </LIST_G_FIXED_ASSETS_COST>
    </G_PERIOD_NAME>
    <G_PERIOD_NAME>
    <PERIOD_NAME>Nov-08</PERIOD_NAME>
    <LIST_G_FIXED_ASSETS_COST>
    <G_FIXED_ASSETS_COST>
    <FIXED_ASSETS_COST>2</FIXED_ASSETS_COST>
    </G_FIXED_ASSETS_COST>
    </LIST_G_FIXED_ASSETS_COST>
    </G_PERIOD_NAME>
    <G_PERIOD_NAME>
    <PERIOD_NAME>Oct-08</PERIOD_NAME>
    <LIST_G_FIXED_ASSETS_COST>
    <G_FIXED_ASSETS_COST>
    <FIXED_ASSETS_COST>3</FIXED_ASSETS_COST>
    </G_FIXED_ASSETS_COST>
    </LIST_G_FIXED_ASSETS_COST>
    </G_PERIOD_NAME>
    <G_PERIOD_NAME>
    <PERIOD_NAME>Sep-06</PERIOD_NAME>
    <LIST_G_FIXED_ASSETS_COST>
    <G_FIXED_ASSETS_COST>
    <FIXED_ASSETS_COST>4</FIXED_ASSETS_COST>
    </G_FIXED_ASSETS_COST>
    </LIST_G_FIXED_ASSETS_COST>
    </G_PERIOD_NAME>
    <G_PERIOD_NAME>
    <PERIOD_NAME>Sep-08</PERIOD_NAME>
    <LIST_G_FIXED_ASSETS_COST>
    <G_FIXED_ASSETS_COST>
    <FIXED_ASSETS_COST>50</FIXED_ASSETS_COST>
    </G_FIXED_ASSETS_COST>
    </LIST_G_FIXED_ASSETS_COST>
    </G_PERIOD_NAME>
    </LIST_G_PERIOD_NAME>
    </G_ASSET_NUMBER>
    <G_ASSET_NUMBER>
    <ASSET_NUMBER>2403</ASSET_NUMBER>
    <DESCRIPTION>Lands Al-Mashail school</DESCRIPTION>
    <LIST_G_PERIOD_NAME>
    <G_PERIOD_NAME>
    <PERIOD_NAME>Dec-08</PERIOD_NAME>
    <LIST_G_FIXED_ASSETS_COST>
    </LIST_G_FIXED_ASSETS_COST>
    </G_PERIOD_NAME>
    <G_PERIOD_NAME>
    <PERIOD_NAME>Nov-08</PERIOD_NAME>
    <LIST_G_FIXED_ASSETS_COST>
    </LIST_G_FIXED_ASSETS_COST>
    </G_PERIOD_NAME>
    <G_PERIOD_NAME>
    <PERIOD_NAME>Oct-08</PERIOD_NAME>
    <LIST_G_FIXED_ASSETS_COST>
    </LIST_G_FIXED_ASSETS_COST>
    </G_PERIOD_NAME>
    <G_PERIOD_NAME>
    <PERIOD_NAME>Sep-06</PERIOD_NAME>
    <LIST_G_FIXED_ASSETS_COST>
    <G_FIXED_ASSETS_COST>
    <FIXED_ASSETS_COST>1400000</FIXED_ASSETS_COST>
    </G_FIXED_ASSETS_COST>
    </LIST_G_FIXED_ASSETS_COST>
    </G_PERIOD_NAME>
    <G_PERIOD_NAME>
    <PERIOD_NAME>Sep-08</PERIOD_NAME>
    <LIST_G_FIXED_ASSETS_COST>
    </LIST_G_FIXED_ASSETS_COST>
    </G_PERIOD_NAME>
    </LIST_G_PERIOD_NAME>
    </G_ASSET_NUMBER>
    <G_ASSET_NUMBER>
    <ASSET_NUMBER>2404</ASSET_NUMBER>
    <DESCRIPTION>Buildings Um-Hany Arabic school</DESCRIPTION>
    <LIST_G_PERIOD_NAME>
    <G_PERIOD_NAME>
    <PERIOD_NAME>Dec-08</PERIOD_NAME>
    <LIST_G_FIXED_ASSETS_COST>
    </LIST_G_FIXED_ASSETS_COST>
    </G_PERIOD_NAME>
    <G_PERIOD_NAME>
    <PERIOD_NAME>Nov-08</PERIOD_NAME>
    <LIST_G_FIXED_ASSETS_COST>
    </LIST_G_FIXED_ASSETS_COST>
    </G_PERIOD_NAME>
    <G_PERIOD_NAME>
    <PERIOD_NAME>Oct-08</PERIOD_NAME>
    <LIST_G_FIXED_ASSETS_COST>
    </LIST_G_FIXED_ASSETS_COST>
    </G_PERIOD_NAME>
    <G_PERIOD_NAME>
    <PERIOD_NAME>Sep-06</PERIOD_NAME>
    <LIST_G_FIXED_ASSETS_COST>
    <G_FIXED_ASSETS_COST>
    <FIXED_ASSETS_COST>109501.785</FIXED_ASSETS_COST>
    </G_FIXED_ASSETS_COST>
    </LIST_G_FIXED_ASSETS_COST>
    </G_PERIOD_NAME>
    <G_PERIOD_NAME>
    <PERIOD_NAME>Sep-08</PERIOD_NAME>
    <LIST_G_FIXED_ASSETS_COST>
    </LIST_G_FIXED_ASSETS_COST>
    </G_PERIOD_NAME>
    </LIST_G_PERIOD_NAME>
    </G_ASSET_NUMBER>
    <G_ASSET_NUMBER>
    <ASSET_NUMBER>2405</ASSET_NUMBER>
    <DESCRIPTION>Buildings Um-Hany Arabic school</DESCRIPTION>
    <LIST_G_PERIOD_NAME>
    <G_PERIOD_NAME>
    <PERIOD_NAME>Dec-08</PERIOD_NAME>
    <LIST_G_FIXED_ASSETS_COST>
    <G_FIXED_ASSETS_COST>
    <FIXED_ASSETS_COST>2468.5</FIXED_ASSETS_COST>
    </G_FIXED_ASSETS_COST>
    </LIST_G_FIXED_ASSETS_COST>
    </G_PERIOD_NAME>
    <G_PERIOD_NAME>
    <PERIOD_NAME>Nov-08</PERIOD_NAME>
    <LIST_G_FIXED_ASSETS_COST>
    </LIST_G_FIXED_ASSETS_COST>
    </G_PERIOD_NAME>
    <G_PERIOD_NAME>
    <PERIOD_NAME>Oct-08</PERIOD_NAME>
    <LIST_G_FIXED_ASSETS_COST>
    </LIST_G_FIXED_ASSETS_COST>
    </G_PERIOD_NAME>
    <G_PERIOD_NAME>
    <PERIOD_NAME>Sep-06</PERIOD_NAME>
    <LIST_G_FIXED_ASSETS_COST>
    </LIST_G_FIXED_ASSETS_COST>
    </G_PERIOD_NAME>
    <G_PERIOD_NAME>
    <PERIOD_NAME>Sep-08</PERIOD_NAME>
    <LIST_G_FIXED_ASSETS_COST>
    </LIST_G_FIXED_ASSETS_COST>
    </G_PERIOD_NAME>
    </LIST_G_PERIOD_NAME>
    </G_ASSET_NUMBER>
    </LIST_G_ASSET_NUMBER>
    </G_SUMFIXED_ASSETS_COST>
    </LIST_G_SUMFIXED_ASSETS_COST>
    <SUMSUMFIXED_ASSETS_COSTPERREPO>4548732.119</SUMSUMFIXED_ASSETS_COSTPERREPO>
    </TEST>
    this my code in rtf file
         <?for-each-group@column: G_PERIOD_NAME; PERIOD_NAME?>
    PERIOD_NAME
    <?end for-each-group?>
    <?for-each-group: G_ASSET_NUMBER; ASSET_NUMBER?>
    <?ASSET_NUMBER?>     
    <?for-each-group@cell:current-group();PERIOD_NAME?>
    <?sum(current-group()/FIXED_ASSETS_COST)?>
    <?end for-each-group?>
    <?end for-each-group?>
    and this sample of output
    Asset Dec-08 Nov-08 Oct-08 Sep-06 Sep-08
    2402
    0 0 0 0 0
    2403
    0 0 0 0 0
    2404
    0 0 0 0 0
    2405
    0 0 0 0 0
    2406
    0 0 0 0 0
    2407
    0 0 0 0 0
    2408
    0 0 0 0 0
    2409
    0 0 0 0 0
    2410
    0 0 0 0 0
    2411
    0 0 0 0 0
    2412
    0 0 0 0 0
    2413
    0 0 0 0 0
    2414
    0 0 0 0 0
    2415
    0 0 0 0 0
    2416
    0 0 0 0 0
    2417
    thanks in advance

    Thanks Vetsrini for your help but when i tried to apply your code it give me the following error
    Font Dir: E:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    RTFProcessor setLocale: en-us
    FOProcessor setData: E:\Documents and Settings\Administrator\Desktop\asset report\test\New Folder\testqq.xml
    FOProcessor setLocale: en-us
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:586)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:383)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:201)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:161)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1015)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:968)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:209)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1561)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:951)
         at RTF2PDF.runRTFto(RTF2PDF.java:626)
         at RTF2PDF.runXDO(RTF2PDF.java:460)
         at RTF2PDF.main(RTF2PDF.java:251)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
         at oracle.xdo.parser.v2.XSLTContext.peekExprValue4Grouping(XSLTContext.java:861)
         at oracle.xdo.parser.v2.XPathFunctionCall.evaluate(XPathFunctionCall.java:526)
         at oracle.xdo.parser.v2.PathExpr.evaluate(XSLNodeSetExpr.java:851)
         at oracle.xdo.parser.v2.XSLForEachGroup.processAction(XSLForEachGroup.java:78)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLTemplate.processAction(XSLTemplate.java:191)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:508)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:485)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:264)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:150)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:187)
         ... 16 more
    thanks again

Maybe you are looking for

  • Posting in Local Currency Only

    Scenario: - Foreign Currency Asset acquisitions - Goods Receipt Posted in Period 1 - Exchange Rate fluctuates at month end - Invoice Verification processed in Period 2 - Exchange Variance (USD 5.00) is posted to the Asset A/c. The variance is only in

  • How to retrieve Numbers from xml data

    if I have this data.. <bids> <bid_tuple> <userid>U01</userid> <itemno>1004</itemno> <bid>40</bid> <bid_date>1999-03-05</bid_date> </bid_tuple> <bid_tuple> <userid>U03</userid> <itemno>1007</itemno> <bid>175</bid> <bid_date>1999-01-25</bid_date> </bid

  • Outlook shared calendar link to sharepoint 2010

    Hi, I have an outlook shared calendar named "Managers Calendar", we have maintained all meeting schedules for 2014 inside this shared calendar (many events inside, kind of difficult to create again in sharepoint calenadr), is that a way to sync this

  • DBMS_JAVA.LOADJAVA file issue

    Hi, I need help related to load Java class in DB. I have Java application which is creating database. I want to load java class in DB from java application and i am using String path = someBasePath + "\\MyClass.java"; File file = new File(path); *Cal

  • Error code 30155002 Labview 7.1 PDA

    Hello everyone,     I had a problem with my PDA.     I developped a little programe and stored my datas in an array. Then I showed these datas in a 'PDA XY Graph'. After about 2 hours of mesurement, my PDA had an error messager : "Application failed.