Create report using JasperReport
I use JasperReport to create report. The jrxml file is created by using iReport. But when I run the program, it shows error:
net.sf.jasperreports.engine.JRException: Error loading expression class
Is there any can help me?
Please help me, I need to do it in urgent.
Can you suggest me other tools that I can use to create report in JSF portlet? Because I try many way with JasperReport but no success.
Thank you very much.
After going through sevaral forums looking for a solution to this problem here is what I figured
- This problems is there for some time now.
- No one seems to have identified the root cause for it or fail-safe solution
- For some it went away by changing JVM for others it disappeared by changing JasperReports version
For me, here is what I noticed. I compile the reports in each environment for same Java and JasperReports version
- It appeared only on UNIX environment.
- It is intermittent. out of 12 reports I have, one or the other fail in different environments (all on UNIX). There is no consistency and its not repeatable
- For a moment, I thought the problem is resolved after I migrated JasperReports from 1.2.2 to 1.2.5. I wasn't so fortunate. There is still one report which fails to load.
I know this information is not very useful, but I just wanted to share my frustration. I also wonder why this problem has not been addressed so far.
Similar Messages
-
Creating Report using EPM Functions with Dynamic Filters
Hi All,
I am new to BPC, In BPC 7.5 i seen like we can generate EPM report using EVDRE function very quickly and easy too. Is the same feature is existing in BPC 10.0 ? if no how can we create EPM reports using EPM Functions with Dynamic Filters on the Members of the dimension like in BPC 7.5.
And i searched in SDN, there is no suitable blogs or documents which are related to generation of Reports using EPM Functions. All are described just in simple syntax way. It is not going to be understand for the beginners.
Would you please specify in detail step by step.
Thanks in Advance.
Siva NagarajuSiva,
These functions are not used to create reports per se but rather assist in building reports. For ex, you want to make use of certain property to derive any of the dimension members in one of your axes, you will use EPMMemberProperty. Similary, if you want to override members in any axis, you will make use of EPMDimensionOverride.
Also, EvDRE is not replacement of EPM functions. Rather, you simply create reports using report editor (drag and drop) and then make use of EPM functions to build your report. Forget EvDRE for now.
You can protect your report to not allow users to have that Edit Report enabled for them.
As Vadim rightly pointed out, start building some reports and then ask specific questions.
Hope it clears your doubts. -
Need code for sales order create report using bapi's
need code for sales order create report using bapi's
Hi,
Go through below link
http://www.saptechies.com/bapi_salesorder_createfromdat2/
<b>Reward points if it helps,</b>
Satish -
How to create report using Procedure.
Hi All,
I want to create report in apex.But i do not have sql code.I have one procedure.Is it possible to create report using this procedure in apex.
CREATE OR REPLACE PROCEDURE headcsv_prc2
AS
CURSOR cr_header
IS
SELECT ood.organization_code, fm.formula_no AS "FORMULA_NAME",
fm.formula_vers AS "FORMULA_VERSION",
fm.formula_desc1 AS "FORMULA_DESC",
DECODE (fm.formula_status,
100, 'New',
400, 'Approve for Laboratory Use',
700, 'Approve for General',
800, 'On Hold',
900, 'Frozen',
1000, 'Obsolete/Archived'
) AS "FORMULA_STATUS",
DECODE (fd.line_type, '1', msib.segment1) product,
DECODE (fd.line_type, '-1', msib.segment1) ingrediant,
DECODE (fd.line_type, '2', msib.segment1) AS "BY_PRODUCT",
DECODE (by_product_type,
'W', 'Waste',
'R', 'Rework',
'Y', 'Yield',
'S', 'Sample',
NULL
) AS "BY_PRODUCT_TYPE"
FROM org_organization_definitions ood,
fm_form_mst fm,
fm_matl_dtl fd,
mtl_system_items_b msib
WHERE ood.organization_id = fm.owner_organization_id
AND fm.owner_organization_id = msib.organization_id
AND msib.organization_id = fd.organization_id
AND fd.organization_id = ood.organization_id
AND fm.formula_id = fd.formula_id
AND msib.inventory_item_id = fd.inventory_item_id
-- and fm.FORMULA_NO like'%TEA%'
AND fd.line_type IN ('1', '2', '-1')
GROUP BY ood.organization_code,
fm.formula_no,
fm.formula_vers,
fm.formula_desc1,
fm.formula_status,
fd.line_type,
msib.segment1,
by_product_type
ORDER BY fm.formula_no, fm.formula_vers;
BEGIN
DBMS_OUTPUT.put_line ( INITCAP ('ORGANIZATION CODE')
|| ','
|| INITCAP ('FORMULA NAME')
|| ','
|| INITCAP ('FORMULA VERSION')
|| ','
|| INITCAP ('FORMULA DESC')
|| ','
|| INITCAP ('FORMULA STATUS')
|| ','
|| INITCAP ('PRODUCT')
|| ','
|| INITCAP ('INGREDIANT')
|| ','
|| INITCAP ('BY PRODUCT')
|| ','
|| INITCAP ('BY PRODUCT TYPE')
FOR ch IN cr_header
LOOP
DBMS_OUTPUT.put_line ( ch.organization_code
|| ','
|| ch.formula_name
|| ','
|| ch.formula_version
|| ','
|| '"'
|| ch.formula_desc
|| '"'
|| ','
|| ch.formula_status
|| ','
|| ch.product
|| ','
|| ch.ingrediant
|| ','
|| ch.by_product
|| ','
|| ch.by_product_type
END LOOP;
EXCEPTION
WHEN OTHERS
THEN
DBMS_OUTPUT.put_line ('Error No: ' || SQLCODE || 'Error Msg: '
|| SQLERRM
END;
EXEC HeadCSV_Prc2
Thanks,
RaghuRaghuVarma wrote:
I created one report using sql code.(Ex: select * from emp).
But my higher authorities want that for security purpose They will change the code into java.
What "higher authorities"? What "security purpose"?
In this process they changed my code as a procedure.Finally they give that java code.they tell to me please fix in apex.
Do these "higher authorities" know anything about APEX? What does the Java code actually do? Have you asked them how their approach is to be integrated into APEX?
There is no reason why a properly written Java stored program cannot be used in APEX, provided that whatever it is doing makes sense in an APEX/web context, and isn't some nonsense like using DBMS_OUTPUT to generate a CSV.
I tried so many ways.But it is not fixed.Different Different errors will occurs.
Tried what? Demonstrate what you have tried, preferably using examples on apex.oracle.com.
How to solve this.
How to solve what? No clearly defined problem or requirement has been identified.
Describe the the problem/requirement (not your attempted solutions) in detail.
How to ask questions
Re: 2. How do I ask a question on the forums?
Include as much relevant information with your question as possible, starting with:
APEX version
DB version, edition and host OS
Web server architecture (EPG, OHS or APEX listener), platform, and host OS
Browser(s)/version(s) used
Theme
Templates
Region type(s) -
Can you create report using report painter with Tcodes:FAGLL03,FCHN
Hi Experts,
1.I want to create report using report painter by using tcodes FAGLL03,FCHN.Can i create with report painter?
2.i never used report painter can anyone provide report painter pdf for ecc6.0
3.can any oneguide me how to develop report in report painter by using this tcodes.
4.If not possible can i do with report writer?
Regards,
naresh.
Moderator: Don't mix report painter with the TCodes wyou mentioned; there is no link between them. Regarding Report Painter - search SDN. Respect the rules and don't cross-post: you asked the same unclear question in several forums!cross posted
Edited by: nareshvarma on Jul 19, 2010 9:11 AM -
Steps for Creating Report using LDB
hellow sirs
can u please tell Step by Step method for creating Reports using LDB method...
if possible with screen Shots..
thanking You
RahulHi,
Please refer the code below:
Use the PNP LDB for this program,
*: Report: ZP_POSTCODE :
*: Date : 2004 :
*: Description: Displays report of employees by postcode area, :
*: includes current travelling allowances (i.e. parking :
*: permit or transport card etc..) :
*: Use: Help encourage the use of car sharing and public :
*: transport where appropriate. :
REPORT zp_postcode.
type-pools: slis. "ALV Declarations
NODES: pernr.
INFOTYPES: 0000, 0001, 0002, 0006, 0008, 0014, 0105, 0121.
SELECTION-SCREEN BEGIN OF BLOCK pcode WITH FRAME TITLE text-s01.
SELECT-OPTIONS: so_pcode FOR p0006-pstlz.
SELECTION-SCREEN END OF BLOCK pcode.
TYPES: BEGIN OF t_output,
pernr TYPE p0001-pernr, "personnel name
anredtxt TYPE t522t-atext, "title (based on p0002-anred)
fname TYPE p0002-vorna, "first name
lname TYPE p0002-nachn, "last name
orgtx TYPE t527x-orgtx, "dept
fte TYPE p0008-bsgrd, "fte
parking(20) TYPE c,
payslip TYPE t526-sachn, "payslip address
telno TYPE p0105-usrid_long, "tel number(p0105-usrty = 0020)
email TYPE p0105-usrid_long, "email (p0105-usrty = MAIL)
postcode type p0006-pstlz,
END OF t_output.
DATA: it_output TYPE STANDARD TABLE OF t_output INITIAL SIZE 0,
wa_output TYPE t_output.
*ALV data declarations
data: fieldcatalog type slis_t_fieldcat_alv with header line,
gd_tab_group type slis_t_sp_group_alv,
gd_layout type slis_layout_alv,
gd_repid like sy-repid,
gt_events type slis_t_event,
gd_prntparams type slis_print_alv,
gd_count(6) type n,
gd_outtext(70) type c,
gd_lines type i.
*START-OF-SELECTION.
START-OF-SELECTION.
clear: gd_count.
GET pernr.
* Infotype 0121 is used to store multiple contracts for personnel.
* Field p0121-hpern contains the personnel number for the main contract.
PROVIDE * from p0121 between pn-begda and pn-endda.
* Check if main contract
if p0121-pernr ne p0121-hpern.
reject.
endif.
ENDPROVIDE.
add 1 to gd_count.
concatenate 'Processing personnel data'(m10) gd_count into gd_outtext
separated by ' '.
* Display indicator for employee count
perform progress_indicator using gd_outtext.
* Retrieve datd from infotypes
rp_provide_from_last p0000 space pn-begda pn-endda.
rp_provide_from_last p0001 space pn-begda pn-endda.
rp_provide_from_last p0002 space pn-begda pn-endda.
rp_provide_from_last p0006 space pn-begda pn-endda.
rp_provide_from_last p0008 space pn-begda pn-endda.
rp_provide_from_last p0014 space pn-begda pn-endda.
* Check post code
CHECK p0006-pstlz IN so_pcode. "cp
* Post code
wa_output-postcode = p0006-pstlz.
* Personnel number
wa_output-pernr = pernr-pernr.
* Personnel title
SELECT SINGLE atext
FROM t522t
INTO wa_output-anredtxt
WHERE sprsl EQ sy-langu AND
anred EQ p0002-anred.
* First name
wa_output-fname = p0002-vorna.
* Last name
wa_output-lname = p0002-nachn.
* Organizational Unit text (dept)
SELECT SINGLE orgtx
FROM t527x
INTO wa_output-orgtx
WHERE sprsl EQ sy-langu AND
orgeh EQ p0001-orgeh AND
endda GE sy-datum.
* FTE
wa_output-fte = p0008-bsgrd.
* Parking / travel deducted?
CASE p0014-lgart.
WHEN '7180' OR '7181' OR '7182'.
wa_output-parking = text-002.
WHEN '7183'.
wa_output-parking = text-001.
WHEN '7171' OR '7172' or '7173' or '7174' or
'7175' or '7176' or '7177' or '7178'.
wa_output-parking = text-003.
ENDCASE.
* Payslip Address
SELECT SINGLE sachn
FROM t526
INTO wa_output-payslip
WHERE werks EQ p0001-werks AND
sachx EQ p0001-sacha.
PROVIDE * from p0105 between pn-begda and pn-endda.
* Telephone numbers
if p0105-usrty = '0020'.
wa_output-telno = p0105-usrid_long.
endif.
* Email address
if p0105-usrty = 'MAIL'.
wa_output-email = p0105-usrid_long.
endif.
ENDPROVIDE.
append wa_output to it_output.
clear: wa_output.
*END-OF-SELECTION.
END-OF-SELECTION.
describe table it_output lines gd_lines.
if gd_lines gt 0.
perform build_fieldcatalog.
perform build_layout.
perform display_alv_report.
else.
message i003(zp) with 'No records found'.
endif.
*& Form PROGRESS_INDICATOR
* Displays progress indicator on SAP screen
form progress_indicator using p_text.
call function 'SAPGUI_PROGRESS_INDICATOR'
exporting
* PERCENTAGE = 0
text = p_text.
endform. " PROGRESS_INDICATOR
*& Form BUILD_FIELDCATALOG
* Build Fieldcatalog for ALV Report
form build_fieldcatalog.
fieldcatalog-fieldname = 'PERNR'.
fieldcatalog-seltext_m = 'Personnel No.'.
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 10.
* fieldcatalog-emphasize = 'X'.
* fieldcatalog-key = 'X'.
* fieldcatalog-do_sum = 'X'.
* fieldcatalog-no_zero = 'X'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'ANREDTXT'.
fieldcatalog-seltext_m = 'Title'.
fieldcatalog-col_pos = 1.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'FNAME'.
fieldcatalog-seltext_m = 'First Name'.
fieldcatalog-col_pos = 2.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'LNAME'.
fieldcatalog-seltext_m = 'Last Name'.
fieldcatalog-col_pos = 3.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'ORGTX'.
fieldcatalog-seltext_m = 'Department'.
fieldcatalog-col_pos = 4.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'FTE'.
fieldcatalog-seltext_m = 'FTE'.
fieldcatalog-col_pos = 5.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'PARKING'.
fieldcatalog-seltext_m = 'Parking/Metrocard'.
fieldcatalog-col_pos = 6.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'PAYSLIP'.
fieldcatalog-seltext_m = 'Payslip Add.'.
fieldcatalog-col_pos = 7.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'TELNO'.
fieldcatalog-seltext_m = 'Telephone'.
fieldcatalog-col_pos = 8.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'EMAIL'.
fieldcatalog-seltext_m = 'E-mail'.
fieldcatalog-col_pos = 9.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'POSTCODE'.
fieldcatalog-seltext_m = 'Post code'.
fieldcatalog-col_pos = 10.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
endform. " BUILD_FIELDCATALOG
*& Form BUILD_LAYOUT
* Build layout for ALV grid report
form build_layout.
gd_layout-no_input = 'X'.
gd_layout-colwidth_optimize = 'X'.
gd_layout-totals_text = 'Totals'(201).
gd_layout-zebra = 'X'.
endform. " BUILD_LAYOUT
*& Form DISPLAY_ALV_REPORT
* Display report using ALV grid
form display_alv_report.
gd_repid = sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = gd_repid
is_layout = gd_layout
it_fieldcat = fieldcatalog[]
i_save = 'X'
tables
t_outtab = it_output
exceptions
program_error = 1
others = 2.
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endform. " DISPLAY_ALV_REPORT -
How to create reports using jDeveloper
what procedure to follow in order to creating
reports drawn from mysql or Oracle 8.5.0 database.I have created 'reports' using BC4J and the JSP Web Application wizard (I use the RowsetBrowser bean).
On the BC4J side, I use read only View Objects based on SQL queries (not based on Entity Objects).
On the JSP side, I create a HTML form where the user can enter their query criteria, pass that criteria as parameters to the ViewObject query, then use a RowSetBrowser bean to display the results.
You can also write your own custom beans to format the output of the report as you like. -
Can i create report using more than one Business Area ?
Hi Gurus,
Can i create report using more than one Business Area?.Could anybody tell me that report will work?.
VikramYou should have no problem creating a report using more than one Business Area, we share folders across BAs all the time for ease of management. As long as your joins exist its not a problem.
Matt Topper
TUSC, The Oracle Experts
[email protected] -
Hi all,
Does anybody have any document to create a simple report using designer tables.
Or
Does anybody knows how to create reports using designer tables.
Could you please let me know
Thanks for your help
Thanks
KrishnaThe best thing to do is to find a report among the reports that are supplied with Designer that contains most of the information that you want in your new report. Then make a copy of it, and use the Oracle Reports Developer to adapt it for what you need. This will give you a good example of a working report.
On the other hand, I myself am not very comfortable with Oracle Reports, so I don't do it that way. I prefer to write reports as PL/SQL Server pages and run them on the web. To make it easier, I wrote what I call a "cursor package" - a PL/SQL package containing pre-defined queries against the CI_ views in the repository. I don't currently have this available for download, but I will try to remember to add it to my web site.
Oracle has fully documented the CI_ views that make up the repository model - find the docs at: http://download-east.oracle.com/otn_hosted_doc/designer/doc_library/6i_release42/CDOC72/model/el_defs/outer_frame2_de.htm. -
JasperReports and creation of reports using JasperReports
Hi all!
I have a problem with developing Java code for printing reports, by using JasperReports tool.
I'm trying to create report by using next peace of code (you can found it also on http://ensode.net/jasperreports_intro.html)
package myReport;
import java.util.HashMap;
import net.sf.jasperreports.engine.JREmptyDataSource;
import net.sf.jasperreports.engine.JRException;
import net.sf.jasperreports.engine.JasperCompileManager;
import net.sf.jasperreports.engine.JasperExportManager;
import net.sf.jasperreports.engine.JasperFillManager;
import net.sf.jasperreports.engine.JasperPrint;
import net.sf.jasperreports.engine.JasperReport;
public class Sample
public static void main(String[] args)
JasperReport jasperReport;
JasperPrint jasperPrint;
try
jasperReport = JasperCompileManager.compileReport("c:\\report_1.jrxml");
jasperPrint = JasperFillManager.fillReport(jasperReport, new HashMap(), new JREmptyDataSource());
//JasperExportManager.exportReportToPdfFile(jasperPrint, "c:\\simple_report.pdf");
catch (JRException e)
e.printStackTrace();
}I'm getting the following error:
Exception in thread main
java.lang.NoClassDefFoundError: org.apache.commons.digester.SetNestedPropertiesRule
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:202)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:167)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:151)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:142)
at myReport.Sample.main(Sample.java:20)BTW, file report_1.jrxml I created using iReport.
Can somebody help me how to solve this, and to create my report?
Thank you in advance!
Message was edited by:
proNickhey
my problem is same as yours...
could you please guide me on how u solved it and please also tell me about your jsxml file.. Could u tell me how did u run ur jasper reports as i am a beginner...
**My java file which i am running in eclipse is**
package first;
import java.util.HashMap;
import net.sf.jasperreports.engine.JREmptyDataSource;
import net.sf.jasperreports.engine.JRException;
import net.sf.jasperreports.engine.JasperCompileManager;
import net.sf.jasperreports.engine.JasperFillManager;
import net.sf.jasperreports.engine.JasperPrint;
import net.sf.jasperreports.engine.JasperReport;
public class JasperReportsIntro
public static void main(String[] args)
System.out.print("hello");
JasperReport jasperReport;
JasperPrint jasperPrint;
try
jasperReport = JasperCompileManager.compileReport("c:\\Simple_Report.jrxml");
//jasperPrint = JasperFillManager.fillReport(jasperReport, new HashMap(), new JREmptyDataSource());
catch (JRException e1)
e1.printStackTrace();
and my jrxml file is+
<?xml version="1.0"?>
<!DOCTYPE jasperReport
PUBLIC "-//JasperReports//DTD Report Design//EN"
"http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
<jasperReport name="Simple_Report">
<detail>
<band height="20">
<staticText>
<reportElement x="180" y="0" width="200" height="20"/>
<text><![CDATA[Hello World!]]></text>
</staticText>
</band>
</detail>
</jasperReport>
thank you for ur help -
Creation of reports using JasperReports
Hi all!
I have a problem with developing Java code for printing reports, by using JasperReports tool.
I'm trying to create report by using next peace of code (you can found it also on http://ensode.net/jasperreports_intro.html)
package myReport;
import java.util.HashMap;
import net.sf.jasperreports.engine.JREmptyDataSource;
import net.sf.jasperreports.engine.JRException;
import net.sf.jasperreports.engine.JasperCompileManager;
import net.sf.jasperreports.engine.JasperExportManager;
import net.sf.jasperreports.engine.JasperFillManager;
import net.sf.jasperreports.engine.JasperPrint;
import net.sf.jasperreports.engine.JasperReport;
public class Sample
public static void main(String[] args)
JasperReport jasperReport;
JasperPrint jasperPrint;
try
jasperReport = JasperCompileManager.compileReport("c:\\report_1.jrxml");
jasperPrint = JasperFillManager.fillReport(jasperReport, new HashMap(), new JREmptyDataSource());
//JasperExportManager.exportReportToPdfFile(jasperPrint, "c:\\simple_report.pdf");
catch (JRException e)
e.printStackTrace();
I'm getting the following error:
Exception in thread main
java.lang.NoClassDefFoundError: org.apache.commons.digester.SetNestedPropertiesRule
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:202)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:167)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:151)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:142)
at myReport.Sample.main(Sample.java:20)
BTW, file report_1.jrxml I created using iReport.
Can somebody help me how to solve this, and to create my report? Always, all the time with different examples I got same errors, I guess that I done somethiong wrong on in setup, or classpath, or something like that...
Thank you in advance!dvohra09, first of all, thank you on your reply.
But I still running round in circles...
With following code (from JasperReports and Jdeveloper
package myReport;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;
import net.sf.jasperreports.engine.JREmptyDataSource;
import net.sf.jasperreports.engine.JRException;
import net.sf.jasperreports.engine.JasperCompileManager;
import net.sf.jasperreports.engine.JasperExportManager;
import net.sf.jasperreports.engine.JasperFillManager;
import net.sf.jasperreports.engine.JasperPrint;
import net.sf.jasperreports.engine.JasperReport;
import net.sf.jasperreports.engine.design.JasperDesign;
import net.sf.jasperreports.engine.xml.JRXmlLoader;
public class Sample
public static void main(String[] args)
try
InputStream input=new FileInputStream(new File("c:/jasperreports_demo.xml"));
JasperDesign design = JRXmlLoader.load(input);
catch (JRException e)
... I'm gettnig following error:
C:\jdeveloper\jdk\bin\javaw.exe -ojvm -classpath C:\jdeveloper\jdev\mywork\Workspace3\Project1\classes;C:\jdeveloper\jlib\jasperreports-1.2.7.jar;C:\jdeveloper\jakarta-struts\lib\commons-beanutils.jar;C:\jdeveloper\jakarta-struts\lib\commons-collections.jar;C:\jdeveloper\jakarta-struts\lib\commons-digester.jar;C:\jdeveloper\jakarta-struts\lib\commons-logging.jar myReport.Sample
Exception in thread main
java.lang.NoClassDefFoundError: org.apache.commons.digester.SetNestedPropertiesRule
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:202)
at myReport.Sample.main(Sample.java:27)
Process exited with exit code 1.
Also, as you can see, my path is defined as:
C:\jdeveloper\jlib\jasperreports-1.2.7.jar;C:\jdeveloper\jakarta-struts\lib\commons-beanutils.jar;C:\jdeveloper\jakarta-struts\lib\commons-collections.jar;C:\jdeveloper\jakarta-struts\lib\commons-digester.jar;C:\jdeveloper\jakarta-struts\lib\commons-logging.jar
I'm developnig using JDeveloper 10g.
Can you help more with this, please?
10000x thanx in advance! -
Why Dynamic Parameter is not working, when i create report using stored procedure ?
Post Author: Shashi Kant
CA Forum: General
Hi all
Why Dynamic Parameter is not working, when i create report XI using stored procedure ?
Only i shaw those parameters which i used in my stored procedure, the parameter which i create dynamic using stored procedure
is not shown to me when i referesh the report for viewing the results.
I have used the same procedure which i mention below but can not seen the last screen which is shown in this .
============================================================================================
1. Select View > Field Explorer2. Right-click on Parameter Fields and select New from the right-click menu.3. Enter u201CCustomer Nameu201D as the name for your parameter4. Under u201CList of Valuesu201D select u201CDynamicu201D5. Under the Value column, click where is says u201Cclick here to add itemu201D and select Customer Name from the drop-down list. The dialog shown now look like the one shown below in Figure 1. Click OK to return to your report design.
Dynamic Parameter Setup6. Next, select Report > Select Expert, select the Customer Name field and click OK.7. Using the drop-down list beside select u201CIs Equal Tou201D and using the drop-down list, select your parameter field (it should be the first field). 8. Click OK to return to your report design and see the parameter dialog.The parameter dialog will appear and show you a dynamic list of values that is updated each time your run your report. It couldnu2019t be easier! In our next tutorial, we will be looking at how to use this feature to create cascading parameter fields, where the values are filtered by the preceding selection.
Dynamic Parameters in Action
My question is that whether dynamic parameter is working with storedprocedure or not.
When i added one table and try to fetch records using dyanmic prameters. after that i am not be able to find the dynamic parameter option when i referesh my report.
One more thing when i try the static parameter for my report, the option i see when i referesh the screen.
Please reply soon , it's urgent
Regards
shashi kantHi Kishore,
I have tested the issue step by step by following you description, while the first issue works well in my local environment. Based on my research, this can be caused by the lookup expression or it indeed return Male value based on the logic. If you use the
expression below, it will indeed only return the Male record. So please try to double-check the record in the two datasets and the expression in your environment:
=lookup(first(Fields!ProgramID.Value,"DataSet1"),Fields!ProgramID.Value,Fields!Gender.Value,"DataSet2")
As to the second issue, please try to use the following expression:
=Count(Lookup(fields!ProgramID.value,fields!ProgramID.value,fields!Gender.value,"DataSet2"))
Besides, if this issue still exist, in order to trouble shoot this issue more efficiently, could you please post both the .rdl file with all the size properties to us by the following E-mail address? It is benefit for us to do further analysis.
E-mail: [email protected]
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How to create report using pass-in parameters
hi all,
I want to create a report using the parameters passed from the previous page. take an example:
Now in the page B, it got 2 parameters P1_Table,P1_column passed from Page A, i want to get the report about :
select * from P1_Table where P1_column like 'test%';
that means i want to get the date in the table P1_Table and its P1_column starts with the character 'test'.
i tried to use the dynamic sql in region source but failed.
plz help me
thanks in advance.
PPMonkey
Edited by: PPMonkey on Jan 4, 2009 12:53 AMHi Andy,
I have a test with your approach, bu it still failed.
-- here is the statement in the Region Source:
DECLARE
L_SQL VARCHAR2(1000);
BEGIN
L_SQL := ' SELECT * FROM ' || V('P16_Z') || '''';
RETURN L_SQL;
END;
-- here is the error message:
failed to parse SQL query:
ORA-06550: line 1, column 8:
PLS-00103: Encountered the symbol "" when expecting one of the following:
begin function package pragma procedure subtype type use
form
current cursor
The symbol "" was ignored.
ORA-06550: line 2, column 22:
PLS-00103: Encountered the symbol "" when expecting one of the following:
begin function package pragma procedure subtype type use
form
current
do you have any idea?
PPMonkey -
Creating report using reportpainter in ECC 6.0 version for finance
Hi Experts,
1.In my report i have to include check number from fchn into standard t code fagll03 based on document number in both tcodes
for this i don't know what i have to fill in library , report and copy from in " Report painter: create report" screen.
2.I want report painter material for ECC 6.0 version for creating finance reports because i am confused what to enter in" report" option and "copy from" option regarding my issue in ECC 6.0 version where as in 4.7 there is no such kind of option in initial screen of creating reports.
3. please guide me what necessary steps to take in my issue
Regards,
naresh.Hi
Are you getting the output or not?
You can just ignore this warning in EPC
as this FORM USER_COMMAND is always called indirectly only
But check the Output and see?
<b>Reward points for useful Answers</b>
Regards
Anji -
BPC 10.0- Creating report using dimension property filter
Hi,
I created a new report in EPM addin for excel using the 'Filter Members by Properties' feature in the EPM Member Selector Window.
My requirement is as I add new members to my dimension with that property value , the report has to refresh and display the new member in the report.
The feature met my requirement and I saved the report.When I reopen the report, the filter that I had earlier used to create the report is hard coded with the members with those properties in the EPM selector Window.
As a result, when I add new Members to the dimension with that property , the report does not recognise that new member and my requirement does not meet.
Eg: I create report with Entity dimension across row axis and Product Dimension -filter on category = New across column axis
and save the report.
When I reopen the report, I see that in the EPM Member selector window, across column axis the members with Property Value Category= Y - Product A,Product B, Product E are hard coded and the filter has been auto removed.
So when I add a new member to my product dimension Product N with property Category= New, the report does not recognise this member.
Please help on how can I use this feature to meet my requirement.
Regards,
SowmyaHi,
It should work for newly created members which meets the requriement in member selector.
Member filtering by properties:
Select property, operator and Value and click Add Dynamic filter then in the right window you will be able to see as follows:
Member name Relation ship
<property>=<Value> Property
Hope it works,
Thanks,
Raju
Maybe you are looking for
-
Location of standard text in scripts
hi, where will be the standard text in script? regards, bbr.
-
File Sharing with XP and Vista
Hi, I have an WRT54G wireless G router. I have a windows XP computer and a Windows Vista laptop that I would like to enable file sharing on. I am having a lot of problems doing so. Can someone please give me instructions on how to do so? Thanks, Alex
-
Firefox doesn't open when I click on it. I have to click on New Window under File to get my bookmarks and a search page == This happened == Every time Firefox opened == No way to know. Nothing new has been done to Firefox.
-
Problem sending form with fmt:message key=" " / tag system and jsp code
I have developt my new web page using jsp. I have done a booking form, please se below here. There are two pages, bookings.jsp and booking_sent.jsp. The page has 6 different languages so i have also used the <fmt:message key=" " /> tag system for eac
-
Spacing between two line types in smartform
I have data in two different line types as below line type1 linetype2 but what my requirement is line item1 line item2 i had tried by changing the smart style but it dint work. Please help me out in reducing the space between the datas of the line ty