Download TRIRIGA BIRT Reporting Issue. Eclipse Version: 3.6.2 Eclipse BIRT

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
TRIRIGA BIRT Reporting Issue.
Eclipse Version: 3.6.2
Eclipse BIRT reporting Version: 2.6.2
PMR Number: PMR 28673,999,744 - UPPAL CHADHA HITECH - S2 - BIRT
Report: Crosstab Java Error in TRIRIGA
Developer: Bhagirah U. Katkar
Company: IBM India Pvt. Ltd.
Reviewer: Sumit Puri , Chetan Phutela
Date: 26 March, 2014
Overview of BIRT Issue.
Complex Crosstab is not working in TRIRIGA. BIRT viewer will throw a java error
when crosstab designed in following way.
1. Table inside in the Crosstab
2. Table Outside the crosstab
Java Error:
In TRIRIGA reports, it might be best to present certain data by category using horizontal columns and
vertical rows. Using Business Intelligence and Reporting Tools (BIRT), this is accomplished by using a
cross-tabulation (or cross-tab) report.
1. Reproduce same issue in Crosstab
A. Table Outside Crosstab
B. Table Inside Crosstab
2. Solution by Tivoli Maximo Support / TRIRIGA Support.
3. Workaround for this Crosstab issue.
Reproduce same issue in Crosstab
A. Table Outside Crosstab:
Here we are going to reproduce same issue in crosstab using following steps.
1.
Export BIRT report Query from TRIRIGA – Query/Form
2.
Import downloaded BIRT report query from TRIRIGA into BIRT
Reporting tool.
3.
Open report design file, go to layout and start creating DataCube for the crosstab.
4.
Data cube :
5.
Insert 3/3 grid on to layout.
6.
In first row of grid insert table with column/row – 3/3
7.
Drag & Drop required fields from data set to table.
8.
Run report in BIRT viewer, this will show tabular report in BIRT viewer.
9.
Let’s add Crosstab inside footer of Table.
10. Insert crosstab from palette.
11. Bind Data cube to crosstab or add Groups in Column area and row area. Add Summary fields in
Summary area.
12. Let’s run the report in BIRT report viewer now.
13. After running report in BIRT viewer this will throw above java error i.e failed to load class. And even
we are not able to see tabular report as well.
14. If we remove crosstab from footer row of the table then tabular report will work fine.
15. We have reproduced this issue in the table outside crosstab.
B. Table Inside Crosstab:
We have reproduced java crosstab error in table outside crosstab. Now we will reproduced same issue for
table inside crosstab.
1.
Let’s add crosstab inside grid row.
2.
Bind Data cube to crosstab or add Groups in Column area and row area. Add Summary fields in
Summary area.
3.
Now run this report in BIRT report viewer. Crosstab is working fine. I can see results in BIRT report
viewer. But we have not added anything inside crosstab.
4.
Let’s add table inside crosstab column area or row area or summary field.
5.
Let’s find the count of records in the table using aggregation field inside Header. And pass Crosstab
Column area filed (Vendor name) as input to the table filter. So that we will get records inside table
for the crosstab column area field (Vendor Name).
6.
Let’s run this report in BIRT report viewer.
7.
If we remove table from crosstab then BIRT report viewer will display result without any java error.
8.
We have reproduced this issue in the table inside crosstab.
Solution by Tivoli Maximo Support /
TRIRIGA Support.
Limitation to the current release of TRIRIGA. The next release 3.4 will support
this functionality. Only simple cross tab reports will work in the current release.
TRIRIGA Release 3.4 support: Eclipse version 4.3.1
Eclipse Version: 4.3.1
Eclipse BIRT report version: 4.3.1
Workaround for this Crosstab issue.
A. Table Outside Crosstab:
1.
Open the data set which is used to bind the table.
2.
Open data set and then go to output column sections. Change the data type of all columns to string and
TRIRIGA NU fields to Decimal type.
3.
Now let’s run the report again in BIRT report viewer.
4.
In TRIRIGA also we can see the same result without any java error.
5. Workaround is to change the data type of all fields inside data set to string
and decimal for all NU fields.
B. Table inside Crosstab:
1.
Open the data set which is used to bind the table.
2.
Open data set and then go to output column sections. Change the data type of all columns to string
and all TRIRIGA NU fields to Decimal Type.
3.
Now let’s run the report again in BIRT report viewer.
We can see the data in table inside the crosstab. And we are not getting any Java Error as well.
4.
In TRIRIGA also we can see the same result without any java error.
5. Workaround is to change the data type of all fields inside data
set to string and decimal for all NU fields.
Thanks & Regards,
Bhagirath U Katkar
System Engineer (TRIRIGA / TIBCO)
WW GBS SWG TRIRIGA Center of Competence
IBM Certified Tivoli TRIRIGA Professional