Cross tab template for a matrix rdf report
Hi
I have a matrix report which displays in text except it continues to displays columns on a new header as the numberof columns are dynamic
In the text report it displays lke this. Columns are the period. if its more than 5 columns it goes into the next header.
The number of columns are dynamic.
Current output
Period May-08 June-08 July-08 Aug-08 Sep-08.
company Acct Category
1201 23232 test1 10..0 20.02 3.033 45.999 46.777
23245 test2 10..0 20.02 3.033 45.999 46.777
1202 223232 test13 120..0 20.02 3.033 45.999 46.77
23245 test23 110..0 20.02 3.033 45.999 46.777
Period Oct-08 Nov-08
company Acct Category
1201 23232 test1 10..0 20.02
23245 test2 10..0 20.02
1202 223232 test13 120..0 20.02
23245 test23 110..0 20.02
Desired output
Period May-08 June-08 July-08 Aug-08 Sep-08... .... ... oct-08
company Acct Category
1201 23232 test1 10..0 20.02 3.033 45.999 46.777 20.02
23245 test2 10..0 20.02 3.033 45.999 46.777 20.02
1202 223232 test13 120..0 20.02 3.033 45.999 46.77 20.02
23245 test23 110..0 20.02 3.033 45.999 46.777 20.02
How to display in this format continously in Cross tab Template.
Could someone help
Hi
My xml dta file is not similar to yours though. I dont know why i am getting like this. The staring xml codes in bold are unsual
<?xml version="1.0"?>
<!-- Generated by Oracle Reports version 6.0.8.27.0 -->
<FASPRJ>
<LIST_G_SUMDEPR1PERACCT>
<G_SUMDEPR1PERACCT>
<LIST_G_COMP_CODE>
<G_COMP_CODE>
<COMP_CODE>1201</COMP_CODE>
<LIST_G_ACCT>
<G_ACCT>
<ACCT>791010</ACCT>
<CATEGORY>BUILDING</CATEGORY>
<LIST_G_PERIOD_NAME>
*<G_PERIOD_NAME>*
*<PERIOD_NAME>APR-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>APR-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>AUG-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>AUG-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>DEC-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>DEC-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>FEB-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>FEB-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JAN-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JAN-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JUL-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JUL-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JUN-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JUN-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>MAR-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>MAR-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>MAY-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>MAY-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>NOV-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>NOV-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>OCT-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>OCT-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>SEP-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>SEP-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*</LIST_G_PERIOD_NAME>*
*</G_ACCT>*
*<G_ACCT>*
*<ACCT>791010</ACCT>*
*<CATEGORY>EQUIPMENT</CATEGORY>*
*<LIST_G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>APR-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>APR-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>AUG-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>AUG-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>DEC-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>DEC-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>FEB-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>FEB-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JAN-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JAN-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JUL-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JUL-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JUN-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JUN-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>MAR-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>MAR-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>MAY-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>MAY-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>NOV-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>NOV-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>OCT-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>OCT-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>SEP-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>SEP-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*</LIST_G_PERIOD_NAME>*
*</G_ACCT>*
*<G_ACCT>*
*<ACCT>791010</ACCT>*
*<CATEGORY>FURN&FIXT</CATEGORY>*
*<LIST_G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>APR-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>APR-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>AUG-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>AUG-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>DEC-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>DEC-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>FEB-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>FEB-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JAN-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JAN-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JUL-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JUL-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JUN-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JUN-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>MAR-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>MAR-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>MAY-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>MAY-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>NOV-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>NOV-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>OCT-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>OCT-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>SEP-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>SEP-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*</LIST_G_PERIOD_NAME>*
*</G_ACCT>*
*<G_ACCT>*
*<ACCT>791010</ACCT>*
*<CATEGORY>LEASEHOLDS</CATEGORY>*
*<LIST_G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>APR-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>APR-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>AUG-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>AUG-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>DEC-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>DEC-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>FEB-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>FEB-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JAN-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JAN-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JUL-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JUL-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JUN-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JUN-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>MAR-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>MAR-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>MAY-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>MAY-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>NOV-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>NOV-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>OCT-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>OCT-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>SEP-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>SEP-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*</LIST_G_PERIOD_NAME>*
*</G_ACCT>*
*<G_ACCT>*
*<ACCT>791012</ACCT>*
*<CATEGORY>FURN&FIXT</CATEGORY>*
*<LIST_G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>APR-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>APR-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>AUG-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>AUG-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>DEC-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>DEC-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>FEB-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>FEB-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JAN-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JAN-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JUL-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JUL-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JUN-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>JUN-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>MAR-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>MAR-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>MAY-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>MAY-10</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>NOV-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>NOV-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>OCT-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>OCT-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>SEP-08</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*<G_PERIOD_NAME>*
*<PERIOD_NAME>SEP-09</PERIOD_NAME>*
*<LIST_G_DEPR1>*
*</LIST_G_DEPR1>*
*</G_PERIOD_NAME>*
*</LIST_G_PERIOD_NAME>*
*</G_ACCT>* <G_ACCT>
<ACCT>791012</ACCT>
<CATEGORY>LEASEHOLDS</CATEGORY>
<LIST_G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>APR-09</PERIOD_NAME>
<LIST_G_DEPR1>
<G_DEPR1>
<DEPR1>3798.76</DEPR1>
<FISCAL_YEAR>2009</FISCAL_YEAR>
<PERIOD_INDEX>4</PERIOD_INDEX>
</G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>APR-10</PERIOD_NAME>
<LIST_G_DEPR1>
<G_DEPR1>
<DEPR1>3796.07</DEPR1>
<FISCAL_YEAR>2010</FISCAL_YEAR>
<PERIOD_INDEX>4</PERIOD_INDEX>
</G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>AUG-08</PERIOD_NAME>
<LIST_G_DEPR1>
<G_DEPR1>
<DEPR1>3798.76</DEPR1>
<FISCAL_YEAR>2008</FISCAL_YEAR>
<PERIOD_INDEX>8</PERIOD_INDEX>
</G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>AUG-09</PERIOD_NAME>
<LIST_G_DEPR1>
<G_DEPR1>
<DEPR1>3798.76</DEPR1>
<FISCAL_YEAR>2009</FISCAL_YEAR>
<PERIOD_INDEX>8</PERIOD_INDEX>
</G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>DEC-08</PERIOD_NAME>
<LIST_G_DEPR1>
<G_DEPR1>
<DEPR1>3798.76</DEPR1>
<FISCAL_YEAR>2008</FISCAL_YEAR>
<PERIOD_INDEX>12</PERIOD_INDEX>
</G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>DEC-09</PERIOD_NAME>
<LIST_G_DEPR1>
<G_DEPR1>
<DEPR1>3796.07</DEPR1>
<FISCAL_YEAR>2009</FISCAL_YEAR>
<PERIOD_INDEX>12</PERIOD_INDEX>
</G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>FEB-09</PERIOD_NAME>
<LIST_G_DEPR1>
<G_DEPR1>
<DEPR1>3798.76</DEPR1>
<FISCAL_YEAR>2009</FISCAL_YEAR>
<PERIOD_INDEX>2</PERIOD_INDEX>
</G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>FEB-10</PERIOD_NAME>
<LIST_G_DEPR1>
<G_DEPR1>
<DEPR1>3796.07</DEPR1>
<FISCAL_YEAR>2010</FISCAL_YEAR>
<PERIOD_INDEX>2</PERIOD_INDEX>
</G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>JAN-09</PERIOD_NAME>
<LIST_G_DEPR1>
<G_DEPR1>
<DEPR1>3798.76</DEPR1>
<FISCAL_YEAR>2009</FISCAL_YEAR>
<PERIOD_INDEX>1</PERIOD_INDEX>
</G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>JAN-10</PERIOD_NAME>
<LIST_G_DEPR1>
<G_DEPR1>
<DEPR1>3796.07</DEPR1>
<FISCAL_YEAR>2010</FISCAL_YEAR>
<PERIOD_INDEX>1</PERIOD_INDEX>
</G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>JUL-08</PERIOD_NAME>
<LIST_G_DEPR1>
<G_DEPR1>
<DEPR1>3798.76</DEPR1>
<FISCAL_YEAR>2008</FISCAL_YEAR>
<PERIOD_INDEX>7</PERIOD_INDEX>
</G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>JUL-09</PERIOD_NAME>
<LIST_G_DEPR1>
<G_DEPR1>
<DEPR1>3798.76</DEPR1>
<FISCAL_YEAR>2009</FISCAL_YEAR>
<PERIOD_INDEX>7</PERIOD_INDEX>
</G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>JUN-09</PERIOD_NAME>
<LIST_G_DEPR1>
<G_DEPR1>
<DEPR1>3798.76</DEPR1>
<FISCAL_YEAR>2009</FISCAL_YEAR>
<PERIOD_INDEX>6</PERIOD_INDEX>
</G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>JUN-10</PERIOD_NAME>
<LIST_G_DEPR1>
<G_DEPR1>
<DEPR1>3796.07</DEPR1>
<FISCAL_YEAR>2010</FISCAL_YEAR>
<PERIOD_INDEX>6</PERIOD_INDEX>
</G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>MAR-09</PERIOD_NAME>
<LIST_G_DEPR1>
<G_DEPR1>
<DEPR1>3798.76</DEPR1>
<FISCAL_YEAR>2009</FISCAL_YEAR>
<PERIOD_INDEX>3</PERIOD_INDEX>
</G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>MAR-10</PERIOD_NAME>
<LIST_G_DEPR1>
<G_DEPR1>
<DEPR1>3796.07</DEPR1>
<FISCAL_YEAR>2010</FISCAL_YEAR>
<PERIOD_INDEX>3</PERIOD_INDEX>
</G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>MAY-09</PERIOD_NAME>
<LIST_G_DEPR1>
<G_DEPR1>
<DEPR1>3798.76</DEPR1>
<FISCAL_YEAR>2009</FISCAL_YEAR>
<PERIOD_INDEX>5</PERIOD_INDEX>
</G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>MAY-10</PERIOD_NAME>
<LIST_G_DEPR1>
<G_DEPR1>
<DEPR1>3796.07</DEPR1>
<FISCAL_YEAR>2010</FISCAL_YEAR>
<PERIOD_INDEX>5</PERIOD_INDEX>
</G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>NOV-08</PERIOD_NAME>
<LIST_G_DEPR1>
<G_DEPR1>
<DEPR1>3798.76</DEPR1>
<FISCAL_YEAR>2008</FISCAL_YEAR>
<PERIOD_INDEX>11</PERIOD_INDEX>
</G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>NOV-09</PERIOD_NAME>
<LIST_G_DEPR1>
<G_DEPR1>
<DEPR1>3796.07</DEPR1>
<FISCAL_YEAR>2009</FISCAL_YEAR>
<PERIOD_INDEX>11</PERIOD_INDEX>
</G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>OCT-08</PERIOD_NAME>
<LIST_G_DEPR1>
<G_DEPR1>
<DEPR1>3798.76</DEPR1>
<FISCAL_YEAR>2008</FISCAL_YEAR>
<PERIOD_INDEX>10</PERIOD_INDEX>
</G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>OCT-09</PERIOD_NAME>
<LIST_G_DEPR1>
<G_DEPR1>
<DEPR1>3796.07</DEPR1>
<FISCAL_YEAR>2009</FISCAL_YEAR>
<PERIOD_INDEX>10</PERIOD_INDEX>
</G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>SEP-08</PERIOD_NAME>
<LIST_G_DEPR1>
<G_DEPR1>
<DEPR1>3798.76</DEPR1>
<FISCAL_YEAR>2008</FISCAL_YEAR>
<PERIOD_INDEX>9</PERIOD_INDEX>
</G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>SEP-09</PERIOD_NAME>
<LIST_G_DEPR1>
<G_DEPR1>
<DEPR1>3798.78</DEPR1>
<FISCAL_YEAR>2009</FISCAL_YEAR>
<PERIOD_INDEX>9</PERIOD_INDEX>
</G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
</LIST_G_PERIOD_NAME>
</G_ACCT>
<G_ACCT>
<ACCT>792100</ACCT>
<CATEGORY>EQUIPMENT</CATEGORY>
<LIST_G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>APR-09</PERIOD_NAME>
<LIST_G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>APR-10</PERIOD_NAME>
<LIST_G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>AUG-08</PERIOD_NAME>
<LIST_G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>AUG-09</PERIOD_NAME>
<LIST_G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>DEC-08</PERIOD_NAME>
<LIST_G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>DEC-09</PERIOD_NAME>
<LIST_G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>FEB-09</PERIOD_NAME>
<LIST_G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>FEB-10</PERIOD_NAME>
<LIST_G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>JAN-09</PERIOD_NAME>
<LIST_G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>JAN-10</PERIOD_NAME>
<LIST_G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>JUL-08</PERIOD_NAME>
<LIST_G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>JUL-09</PERIOD_NAME>
<LIST_G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>JUN-09</PERIOD_NAME>
<LIST_G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>JUN-10</PERIOD_NAME>
<LIST_G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>MAR-09</PERIOD_NAME>
<LIST_G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>MAR-10</PERIOD_NAME>
<LIST_G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>MAY-09</PERIOD_NAME>
<LIST_G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>MAY-10</PERIOD_NAME>
<LIST_G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>NOV-08</PERIOD_NAME>
<LIST_G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>NOV-09</PERIOD_NAME>
<LIST_G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>OCT-08</PERIOD_NAME>
<LIST_G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>OCT-09</PERIOD_NAME>
<LIST_G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>SEP-08</PERIOD_NAME>
<LIST_G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
<G_PERIOD_NAME>
<PERIOD_NAME>SEP-09</PERIOD_NAME>
<LIST_G_DEPR1>
</LIST_G_DEPR1>
</G_PERIOD_NAME>
</LIST_G_PERIOD_NAME>
</G_ACCT>
Similar Messages
-
How to correct XML Output in Cross Tab Template for sum function?
I have designed a Cross Tab Template to summarize R12 Account Analysis data by Period by Party_name. The template is doing what I want it to do with the exception of amount. I have a function in the sum(accounted_net) field and it will only display 0.00 even though I know there are actual amount. Can someone help in looking at my template to see what I have done wrong?
Here is the sum funciton.
<?if:count(current-group()[CCID_SOURCE=$ABC])?><?sum(current-group()[CCID_SOURCE=$ABC]/ACCOUNTED_NET)?> <?end if?>
CCID_SOURCE is an element I created in XML to concatnate CCID and Party_name for grouping. $ABC is a variable that I defined for "CCID_SOURCE" to check if there is null value for a specific ccid_party. If it's null, it won't do the sum function, otherwise it will sum the accounted_net for the period_name, party_name.
Thank you for your help.
StaceyFigured this out on our own
-
Cross tab template Formatting. Two Row Groups cannot be on the same line
Hi
I have a cross tab template(Vetsriselvan favor) where it has Multiple Row groups. In the RTF template I want them to be on the same line but somehow it works only if they are one below the other. In this template Comp is the First Group Row then Acct is 2nd Group Row and Expense is the 3rd Group Row. Period is the Column. I want all the Group rows start from the same line instead one below the other. Is it possible to do it?
Comp Acct Expense Period
<?for-each-group:/BIOFASPRJ/LIST_G_SUMDEPR1PERACCT/ <[?for-each-group@column:G_PERIOD_NAME[./PERIOD_NAME!=''];PERIOD_NAME|mailto:?for-each-group@column:G_PERIOD_NAME[./PERIOD_NAME!=''];PERIOD_NAME]?>
G_SUMDEPR1PERACCT/LIST_G_COMP_CODE/G_COMP_CODE;./COMP_CODE?> F_comp
<?for-each-group:./LIST_G_ACCT/G_ACCT [LIST_G_DESCRIPTION/G_DESCRIPTION/LIST_G_PERIOD_NAME/G_PERIOD_NAME/LIST_G_DEPR1/G_DEPR1];ACCT?> <?variable@incontext:G1;current-group()?>acc
<?for-each-group:./LIST_G_DESCRIPTION/G_DESCRIPTION[LIST_G_PERIOD_NAME/G_PERIOD_NAME/LIST_G_DEPR1/G_DEPR1];DESCRIPTION?><?variable@incontext:G2;current-group()?>accUpload the template here
http://apps2fusion.com/forums/viewforum.php?f=60
or
Send me the template and xml to fusionDOTobjectATgmail.com -
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 AdvanceHi
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 -
Count Function Specific with Cross Tab Name for Multiple Cross Tabs
Hello Friends I have cross Tab1 and Cross Tab2 based on 2 query data providers. I need to feed calculate the Count of Items in Cross Tab1 and DISPLAY In cross Tab2
Dimension name is ITEM ID
So if there are 21 items in Cross TAB1 then in Cross TAB 2
I want to display "Number of Item" = 21
so do this i Created a count variable
=Count([Item ID]) In Report
which give me 21 in cross tab1 but when I drag that to cross tab2 it give me count of Item in Cross Tab2 = 87 which is wrong since i want 21
so How do I fix this Count in Cross Tab 2
Please help with code to say Count([Item ID]) In Report from cross tab1
thanks
SoniyaHi,
Have you tried for the solution given in the previous thread by converting it to the dimension or detail?
What result did you get?
If you use "Report" operator/keyword then the formula will give you result for whole report. So if you have sections in the report then you can replace it with Section keyword.
Also measure are dynamic and gives result according to the dimesion you associate with them. so you have to convert it to STRING dimension or detail. before using it in the next block.
Regards,
Rohit -
Default a rtf template for a Xml publisher report!
Hello,
How to default a layout template if multiple templates are registered for a Data template?
and also how to delete a template?
Thanks,Thank you all for the reply. I was talking about Xml publisher with EBS.
As said...we can not delete the template but we can end date it and we can set the default template from the system administration responsibility.
One more question regarding this : When we migrate the xml publisher seed data for this report( which include template which was endated) to other instance ( let say Development to Test)....we are unable to see the template in the test instance. All i meant was can we migrate the template which is end dated to other instance with the data definition?? -
Need Template for AR Remittance Advice Report
Hi all,
I need to convert the Remittance Report to XML.
If anyone have worked in this and if you can share the template with me it will be very helpfull.
Mail: [email protected]
Thanks
RajeshYou can refer following MOS docs:
R12: How to Setup Remittance Advice Email Notification for Suppliers (Doc ID 1072399.1)
IS IT POSSIBLE IN R12 TO SEND A SEPARATE REMITTANCE ADVICE AS A PDF EMAIL ATTACHMENT? (Doc ID 871335.1)
thanks -
RTF Template for AP Trial Balance Report in R12
Hi
when i opened AP Trial Balance RTF Template (word doc) i see only the below statement & when i double clicked & open Form text field i see the Tag
<?call-template:XLAAPRPT06?> Any idea where the actual template is stored? since i have to build new one i need to look at it for reference.
Import Template XLAAPRPT06Call Template XLAAPRPT06
Thanks
PravinYou can navigate to 'Xml Publisher Administrator' responsibility --> Templates
Give the code as 'XLAAPRPT06' and then 'Go'
You will get a template, from where you can download the RTF document - XLAAPRPT06.rtf
I've checked that the template is complete.
Alternatively, you can read it from -
select * -- file_date
from apps.xdo_lobs
where LOB_CODE = (select data_source_code
from apps.xdo_templates_b
where template_code = 'XLAAPRPT06');cheers,
VB
Edited by: VB on Oct 5, 2011 3:19 PM -
Need a multi-level control break report displaying a cross-tab for each ...
I need a multi-level control break report that displays a cross-tab report for each
detail and subtotal. The individual cross-tabs are no problem. There are two issues:
1) How to get many cross-tabs (thousands) to appear in one report.
2) How to provide cross-tabs in-line on the multi-level subtotal lines.
Here is a concrete example.
Suppose the data base contains this table:
road (
id_number number, -- this is an artificial PK
city varchar2,
county varchar2,
state varchar2,
length number,
owner varchar2, -- roads may be owned by cities, counties, states, and others
surface_type varchar2 -- the surface type may be gravel, asphalt, concrete, and others
The table is populated with several million records that include every
length of road in a US city.
It is OK to suppose that all the attributes in all the records are not null.
Without the PK, there would be millions of duplicates,
which should all contribute to the summed lengths.
The report I need is like a control break report with a detail line for each
city together with subtotals for each county and state and
a grand total for the US at the end.
However, each detail and total line needs to be a cross-tab report
summing the length over the city, county, state or US
(whichever is called for at that location)
for each combination of owner and surface_type.
so the report would have the following structure:
a city cross-tab for the first city in county 1/state 1
a city cross tab for the last city in county 1/state 1
a cross-tab for count 1
a city cross tab for the first city in county 2/state 1
a city cross tab for the last city in county 2/state 1
a cross tab for state 1
a cross-tab for the US
Any suggestions will be appreciated.
This problem comes up because my client's legacy system,
which is being replaced,
already has such a report (in COBOL).
Thanks!!!
Steve
PS, I know one ugly way to do it. Namely, make a variable for each
possible combination of owner and surface. Then code an ordinary control
break report. However, I am looking for something better.Hi Jenna_Fire,
According to your description, you have a matrix contains total for each group on each level. Now your requirement is, when you click on any number (data field or total), it will go to the detail report which returns all the detail information of the people
within the group scope. For example, if you click on the total of Active users in United States, it will return the detail information of Active users in New York and Texas. Right?
In this scenario, we should set the parameter (@Country, @State, @City) allow multiple values in both main and detail report. And in Default Value (@Country, @State, @City), query out all distinct values. In the textbox which contains
those total values, when set use these parameters to run the report, we only need to pass the parameters of parent groups. For example, if we click on the total of Active users in New York, we only need to pass Country, State, Status to detail report, and
in the detail report, the City parameter will use all distinct values (Default Values) because we don't pass the City parameter. We have tested this case with sample data in our local environment. Here are steps and screenshots for your reference:
1. Create parameter Country, State, City and Status in both main report and detail report. Set both Available Value and Default Value get values from query (Create a dataset for each parameter, use "select distinct [column] from [table]" as query). Set allow
multiple values for parameter Country, State and City in both reports.
2. In corresponding textbox, pass appropriate parameters in go to report Action.
4. Filter data in detail report (in where clause or using filters).
5. Save and preview. It looks like below:
Reference:
Using Parameters to Connect to Other Reports
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
How create SQL for Cross tab in template
Hi,
I have been starting to build data templates using SQL to select the data I require. I noticed in the word template-building tool there is an option to create cross tab table. I have tried looking at the standard documentation. I have been unable to work out how I should structure the SQL in my data template to allow me to create a cross tab table in the template?
Thanks,
MarkPost Author: SunilKanta
CA Forum: General
Yes, I had done exactly the same but when tried to display the subreport in new page, some portion of the cross tab is displayed. The page width is not increased proportionately.
i have passed that sub report in footer of main report.
But when i overlap this sub report with other cross tabs already present in the main report i can see full width view of sub report. -
Issue with passing parameters through Java-JSP in a report with cross tab
Can anyone tell me, if there's a bug in Java SDK in passing the parameters to a report (rpt file) that has a cross tab in it ?
I hava report that works perfectly fine
with ODBC through IDE and also through browser (JSP page)
(ii) with JDBC in CR 2011 IDE
the rpt file has a cross tab and accpts two parameters.
When I run the JDBC report through JSP the parameters are never considered. The same report works fine when I remove the cross tab and make it a simple report.
I have posted this to CR SDK forum and have not received any reply. This have become a blocker and because of this our delivery has been postponed. We are left with two choices,
Re-Write the rpt files not to have cross-tabs - This would take significant effort
OR
(ii) Abandon the crystal solution and try out any other java based solutions available.
I have given the code here in this forum posting..
CR 2011 - JDBC Report Issue in passing parameters
TIA
DRG
TIA
DRGMr.James,
Thank you for the reply.
As I stated earlier, we have been using the latest service pack (12) when I generated the log file that is uploaded earlier.
To confirm this further, I downloaded the complete eclipse bundle from sdn site and reran the rpt files. No change in the behaviour and the bug is reproducible.
You are right about the parameters, we are using {?@Direction} is: n(1.0)
{?@BDate} is: dt(d(1973-01-01),t(00:00:00.453000000)) as parameters in JSP and we get 146 records when we directly execute the stored procedure. The date and the direction parameter values stored in design time are different. '1965-01-01' and Direction 1.
When we run the JSP page, The parameter that is passed through the JSP page, is displayed correctly on the right top of the report view. But the data that is displayed in cross tab is not corresponding to the date and direction parameter. It corresponds to 1965-01-01 and direction 1 which are saved at design time.
You can test this by modifying the parameter values in the JSP page that I sent earlier. You will see the displayed data will remain same irrespective of the parameter.
Further to note, Before each trial run, I modify the parameters in JSP page, build them and redeploy so that caching does not affect the end result.
This behaviour, we observe on all the reports that have cross-tabs. These reports work perfectly fine when rendered through ODBC-ActiveX viewer and the bug is observable only when ran through Java runtime library. We get this bug on view, export and print functionalities as well.
Additionally we tested the same in
With CR version 2008 instead of CR 2011.
(ii) Different browsers ranging from IE 7 through 9 and FF 7.
The complete environment and various softwares that we used for this testing are,
OS : XP Latest updates as on Oct 2011.
App Server: GlassFish Version 3 with Java version 1.6 and build 21
Database server ; SQL Server 2005. SP 3 - Dev Ed.
JTds JDBC type 4 driver version - 1.2.5 from source forge.
Eclipse : Helios along with crystal libraries directly downloaded from SDN site.
I am uploading the log file that is generated when rendering the rpt for view in IE 8
Regards
DRG -
How to create Data Template for creation of BI Pulisher Report
Hi,
I m having all the steps for creation of BI Pulisher report using Data Template, like 1st create Data Template, Add new Data Definition, upload Data Template, Create Concurrent Program and run the request, save o/p and create rtf layout, upload Template and again run Concurrent program to view output.
All steps are working fine.. but my simple question is every time we need to write code for Data Template i.e. xml file ? is there is tool or something which will create this Data template for us using rdf? or is there any other way ?
Please guide ..
Regards,
Priyanka.Hi;
Please see below note which could be helpful for your issue:
NOTE:367394.1 - About Oracle XML Publisher Release 5.6.2
Also see:
http://www.adivaconsulting.com/adiva-blog/item/5-datatemplate
http://apps2fusion.com/at/51-ps/262-xml-publisher-and-data-template-sql-query-to-develop-bi-publisher-reports
http://blogs.oracle.com/xmlpublisher/data_extraction/data_templates/
Regard
Helios -
How to display recordnumber for each row in cross tab?
<p>Hi.. </p><p>I am using Crystal Report XI,with the database Microsoft SQL Server. I have 2 questions regarding Cross Tab.</p><p>1. How to limiting record per row and per column in Cross Tab? For example,at one page the report printing 20 records per row and 7 records per columns.</p><p>2. I would like to display recordnumber for each row that printing in Cross tab. How crystal reports can handle this?</p><p>Can anyone can help me out on this? </p><p>Please kindly advise.</p><p>AN </p><p> </p><p> </p>
<p>Dear Kathryn,</p><p> </p><p>I did used DisplayString as suggested by you. The result work fine until I add more data to this cross tab. I used this formula : </p><p> global numbervar pager;</p><p>recordnumber();</p><p>pager := pager + 1; </p><p> if pager > 0 then totext(pager - 1,0) </p><p> </p><p>The result come out in decending order for each row. </p><p>SN Name </p><p>5 abc<br /></p><p> 4 def</p><p>3 fig<br /></p><p>2 klm<br /></p><p>1 opq</p><p> Is that anything wrong with my formula?<br /> </p><p>Please kindly advise.</p><p>-AN- </p><p> </p><p> </p>
-
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. -
Cross-tabs in Multiple Sub-reports
Post Author: Kiwi Jan
CA Forum: Crystal Reports
I have created a crystal report which contains multiple detail sections (Da-Di). Each detail section contains a subreport, which contains a cross-tab.
I have done this because I need to create one excel spreadsheet which contains data from different types of cross tabs.
For example, one cross tab lists accounts and totals, the second lists accounts and totals by cost centre (17 of these), and a third lists accounts and totals by product group (11 of these).
I have lined up all the columns perfectly, and when I export to Excel (Data only), it works perfectly, and I get all the rows and columns of all the cross-tabs in one excel worksheet. Brilliant.
However, when I print, preview or export to pdf, I only see the "real" page and do not see any virtual pages that are shown in each of the sub-reports.
How can I print or view this from the main report and get the virtual pages as well, without stuffing up my export to excel?
Any suggestions would be greatly appreciated.Hi Kim,
What version on Crystal Reports are you using? If its CR 2008 then you can take advantage of the various gridvalue functions and the calculated member feature available.
Here's what you need to do:
1) In 'Preview' mode, right click the 1st col and select Calculated Member > Insert Column
2) This will insert a col after the 1st col. To make the newly added col appear 1st, right click on the top left corner of the crosstab and go to Advanced Calculations > Calculated Member
3) In the Properties area, set the Insert Evaluation to 'Before'
4) Now the new col would be the 1st col in the crosstab and it's values would be 0
5) You said you calculate the Billed Amount on some logic; you can apply the summarization logic by editing the calculation formula
6) Right click one of the 0 values in the new col and select Calculated Member > Edit Calculation Formula. Use the formula in this manner:
select Gridlabelat("Row",currentrowindex)
case "Job1" : 50
case "Job2" : 20
Default : 0
The function GridLabelAt() accepts 2 parameters: 1st is the name of the row. In this case it would be your database field name. Suppose your database field used as a row is called Customer.Country then the formula would be:
Gridlabelat("Customer.Country",currentrowindex)
You can use if-else instead of the select -case if you like, but this is where you need to apply the logic for billed amount.
At last, you'd notice that the Header for this col is blank. Just Right click the blank header and select Calculated Member > Edit Header formula and type in "Billed".
That's it! The grand totals for the row won't add the values from the calculated member.
Hope you get this working.
-Abhilash
Maybe you are looking for
-
Under Excel Service Application --> session management; what is the difference between Session timeout and Short Session timeout?
-
Flash causing hangs in safari 4
Hi, I've been having issues with safari 4 intermittently beachballing, and I've come to notice it's generally occurring as a flash ad/video is loading. The system log also reads... 21/09/2009 20:24:11 com.apple.WebKit.PluginAgent[270] Debugger() was
-
Report Print Attributes and Session State Protection
Hi all, I have a report (old style Apex report, not an IR) that I would like to have a Print option, producing a PDF output. The report is on a page that takes a number of arguments and uses the page security option "Arguments require checksum". When
-
How do you convert itune songs into ringtones
how do you convert itunes music into ringtones
-
UPDATED: Trouble with duplicate div tag...
I am working on validating the code for my blog now as I think that might solve some of the issues I am having. I was able to clear out all of the xhtml errors except for one... a duplicate sidebar div tag. One of them is at the bottom of the header