Session in Jasper Report
Hi All,
I'm currently using Jasper Reports for report generation. I'm currently facing problem in retrieving session objects while generating the report.
I'm trying to Print a report by exporting it to pdf format. In the jrxml, i include a Sub report which creates a graph. Now in the class which extends the JRDefaultScriptlet when I try to get the session object, it is returning null. Hence I cannot retrieve my session objects to be used while generating report.
Please reply on how do I proceed with it.
<textField hyperlinkType="LocalAnchor">
<reportElement x="0" y="30" width="555" height="30"/>
<textFieldExpression>
<![CDATA["Go to summary section."]]>
</textFieldExpression>
<hyperlinkAnchorExpression>
<![CDATA["summary_section"]]>
</hyperlinkAnchorExpression>
</textField>where hyperlinkType could be:
- Reference (Hyperlink points to an external resource) = <hyperlinkReferenceExpression>
- RemoteAnchor (Hyperlink points to an anchor in an external resource) = <hyperlinkAnchorExpression>
- RemotePage (Hyperlink points to a page in an external resource)=<hyperlinkPageExpression>
- LocalAnchor (Hyperlink points to an anchor in the report, defined by the <anchorNameExpression> element.)=<hyperlinkAnchorExpression>
- LocalPage (Hyperlink points to a page in the current report.)=<hyperlinkPageExpression>
- None (Used to indicate that the element containing the hyperlinkType attribute is not an anchor (this is
the default) )
hth
Similar Messages
-
Hi,
I have just begun to use Jasper Reports, and I am trying to load a sample JR xml file into a jsp in my web application.
report.jsp
<%@ page
import="java.io.*,
java.util.*,
java.sql.Connection,
javax.sql.DataSource,
javax.naming.InitialContext,
net.sf.jasperreports.engine.*,
net.sf.jasperreports.engine.design.JasperDesign,
net.sf.jasperreports.engine.xml.JRXmlLoader,
net.sf.jasperreports.engine.export.*"
%><%@page import="com.energyts.ebench.*"
%><%@page import="com.energyts.db.*"
%><%@page import="java.sql.ResultSet"
%>
<%
out.println("Attempting to create Jasper report");
try{
// read in xml design
InputStream input = new FileInputStream(new File("c:\\Tomcat 5.5\\webapps\\eBench\\report.xml"));
JasperDesign design = JRXmlLoader.load(input);
// compile design
JasperReport report = JasperCompileManager.compileReport(design);
// Database connection
Statement statement = EbenchUtils.getStatement(session);
JasperPrint print
= JasperFillManager.fillReport(report, new HashMap(), statement.getConnection());
JasperExportManager.exportReportToPdfFile(
print, "reports/simple_report.pdf");
}catch (JRException e){
out.println("failed");
e.printStackTrace();
%>I am using Tomcat 5.5 and JasperReports 2.04
I am getting this error:
HTTP Status 404 - reports\report.xml (The system cannot find the path specified)
type Status report
message reports\report.xml (The system cannot find the path specified)
description The requested resource (.\reports\report.xml (The system cannot find the path specified)) is not available.
Is the way I declare my path not declared correctly (the file is in the directory)? do the Tomcat settings need to be changed for this to work?
Any suggestions
Thanks
JI learned that my mistake was that I am not using the .jasper file. I have a new error now although I already put the needed file inside the classes folder. This is the error:
java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.fill.JRVerticalFiller
at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:83)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:582)
at net.sf.jasperreports.engine.JasperRunManager.runReportToPdfStream(JasperRunManager.java:368)
at EmptyDSReportServlet.doGet(EmptyDSReportServlet.java:25)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96)
at com.caucho.server.http.Invocation.service(Invocation.java:315)
at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:253)
at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:170)
at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
at java.lang.Thread.run(Thread.java:619) -
Jasper Reports Vs BIRT Vs JFree Reports
Hi every one.
I am very new in using reporting tools .I prefer to use some free ware. Can you suggest me which one is better and can you please give some comparision for Jasper reports and JFree Reports , I heard that Jasper reports are slow. Can we do some thing to improve the performance of Jasper Reports,
Thanks in advance for you quice replyYes you are right.. Thanks
And there is one more thing I want to know..
I am maintaining all SQL queries in a separate text file so that I can change them any time when needed. I just want to know am I doing right, it this a optmistict way of coding?? I am using my own function to prepare query statements. please check the following and please let me know if I am doing something silly :-)
Query in text file :
select label,control,controlid,valuetypescript,validationscript,style,cssclass,field_id from dynamic_controls where page_id=val0 and portfolio_id=val1
Call to QueryBuilder :
String [] QueryVals={"10",session.getAttribute("portfolioid").toString()};
QueryBuilder(QueryFromFile,QueryVals);
QueryBuilder defination :
public String QueryBuilder(String Query,String[] Val)
for(int indx=Val.length-1; indx>=0;indx--)
Query=Query.replace("val"+indx, Val [indx] );
return Query;
Edited by: 1000588 on Apr 20, 2013 4:54 AM -
Open Jasper Report in new page using servlet
Guys,
Looks very simple but i am having problem making this process work. I am using 11.1.1.4
This is my use case:
- From a employee page, user clicks on a menu item to open report for current employee. I need to pass appropriate report parameters to servlet and open report into new page.
I can successfully call servlet using commandmenuitem and set request parameters and call servlet from backing bean.... but that doesn't open report in a new page.... any way i can do this?
Another option i tried was that using gomenuitem and setting target=blank but in that case i need to pass the parameter using servlet url which i like to avoid.(in case i need to pass many parameters in future) (also values will be set on page so i need to generate url when then click the menuitem...... so there are some hoops and loops i need to go through) I don't know a way to pass the request parameter using backing bean to servlet... i don't think it is possible.
Those are the two approaches i tried.
If you have any better approach...I would appreciate if you can let me know. (i have searched on internet for two days now.... for the solution)
-R
Edited by: polo on Dec 13, 2011 7:22 AMHi,
Hope following will useful
http://sameh-nassar.blogspot.com/2009/10/using-jasper-reports-with-jdeveloper.html
http://www.gebs.ro/blog/oracle/jasper-reports-in-adf/ -
Jasper report on HTML when one image loaded from database and for the other
How to generate jasper report on HTML when one image loaded from database and for the other we give a image path
My code
ByteArrayOutputStream baos = new ByteArrayOutputStream();
exporter = new JRHtmlExporter();
exporter.setParameter(JRExporterParameter.JASPER_PRINT, print);
exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, baos);
exporter.setParameter(JRHtmlExporterParameter.IMAGES_URI, strImageInputDirectory);
exporter.setParameter(JRHtmlExporterParameter.IMAGES_DIR_NAME, strImageOutputPath == null ? "." : strImageOutputPath);
exporter.setParameter(JRHtmlExporterParameter.IS_OUTPUT_IMAGES_TO_DIR, Boolean.TRUE);
exporter.setParameter(JRHtmlExporterParameter.IS_USING_IMAGES_TO_ALIGN, Boolean.FALSE);
exporter.setParameter(JRHtmlExporterParameter.IS_WHITE_PAGE_BACKGROUND, Boolean.FALSE);
exporter.exportReport();
byte[] bdata = ((ByteArrayOutputStream) baos).toByteArray();
Can any one help pls
Message was edited by:
ameet.auhey sorry for posting it in this forum.
but do u have sample code for making it work.. since i am able to do it on PDF format(image from Database and another stored in the webserver) using
byte image[] =(byte[]) outData.get("image");
ByteArrayInputStream img = new ByteArrayInputStream(image);
hmimg.put("P_PARAMV3", img);
print = JasperFillManager.fillReport(reportFileName, hmimg, jrxmlds);
bdata= JasperExportManager.exportReportToPdf(print); -
How to generate jasper report in pdf format using swing
hi all,
im new to swing and jasper.. can anybody provide me some example on how to generate the jasper report in pdf format? i will call the reportManager from sessionBean.. below is my code:
1)delegate:
public GenerateReportDto generateIntoPdfReport(String fileName, String outputFileName, Map parameters){
GenerateReportDto generateReportDto = getAuditTrailServiceRemote().generateIntoPdfReport(fileName, outputFileName, parameters);
return generateReportDto;
2)sessionBean:
public GenerateReportDto generateIntoPdfReport(String fileName, String outputFileName, Map parameters){
//Map parameters = new HashMap();
ReportManager reportManager = new ReportManager();
3)ReportManager()
public void generateIntoPdfReport(String fileName, String outputFileName, Map parameters) {
Connection conn = null;
try {
conn = dataSource.getConnection();
//Generate the report to bytes
File reportFile = new File(fileName);
byte[] bytes =
JasperRunManager.runReportToPdf(
reportFile.getPath(),
parameters,
conn
//conn.close();
//Write the bytes to a file
ByteBuffer buf = ByteBuffer.wrap(bytes);
File file = new File(outputFileName);
// (if the file exists)
boolean append = false;
// Create a writable file channel
FileChannel wChannel = new FileOutputStream(file, append).getChannel();
// Write the ByteBuffer contents; the bytes between the ByteBuffer's
// position and the limit is written to the file
wChannel.write(buf);
// Close the file
wChannel.close();
} finally {
if (conn != null) {
conn.close();
Any help would be highly appreciated. Thanks in advanceHi ,
One 'simple' way is by using the DBMS_SCHEDULER db package and the procedure CREATE_JOB(....) using as job_type the value 'EXECUTABLE'...
Read for further info in 'PL/SQL Packages and Types Reference'.
If you have access to OEM ... you can configure this there using wizard.....
Other way is to use the External Procedure call capabiblity of Oracle DB Server...:
http://www.oracle.com/pls/db102/ranked?word=external+procedure+call&remark=federated_search
My greetings,
Sim -
Jasper report with Struts2 and hibernate.
Hey all!
I'm new to Struts2, Hibernate and jasper report. I want to make a report using those tools. Can anybody pls help me by providing a step by step process for it?
I'm using eclipse Ganymede IDE. And want to view report on page with two search criteria as start date to end date and an option choosing.
Can any body pls response me for this?Yes you can, you'll need to create a new library in JDeveloper with the Jasper reports JARs.
See: Re: JasperReport with Jdeveloper -
Jasper Reports in Linux vs Jasper Reports in Windows
Dear Sirs...
an application is developed using jdeveloper 10.1.2 (struts with UIX technology) and used Jasper report to generated PDF and HTML reports programmatically (no XML files for reports tamplates are used).
in jdeveloper PDF reports are generated without problem,
i create a WAR file and deploy it to oracle application server R2 under windows, it works just fine.
that same WAR file is deployed into linux (again oracle application server R2), this time an exception occurs,
i only selected two jar files (jasperreports.jar and itext.jar) to be included into the war file.
now can any one explain to me why it runs perfectly fine in windows AS and not linux AS???? aren't both of them use the same java virtual machine????
any advice please???
best regardssorry i forget to post the error in linux, the log contains the following:
net.sf.jasperreports.engine.JRException: Error
compiling report java source files :
/home/oracle/OraHome/j2ee/home/EasyJasperDesign_1192848437309_635467.java
best regards -
dear all,
i'm now trying to integrate jasper report in ADF..
and i'm try to code this code at bean..but its error..
public void runOracleReport(ActionEvent actionEvent) {
JRBeanCollectionDataSource ds = new JRBeanCollectionDataSource(PopulateBean.createBeanCollection());
Map parameters = new HashMap();
parameters.put("branchval", getBranchId());
try
InputStream input = new FileInputStream(new File("C:\\Users\\user\\.ireport\\4.7.0\\config\\Templates\\Report\\GenerateOfferLetter.jrxml"));
OutputStream os = new FileOutputStream(new File("C:\\Users\\user\\Desktop\\ICEMS\\Report\\offerLetter.pdf"));
JasperDesign jasperDesign = JRXmlLoader.load(input);
JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, conn);
JasperExportManager.exportReportToPdfStream(jasperPrint, os);
JasperViewer.viewReport(jasperPrint, false);
catch (JRException e) {e.printStackTrace();}
catch (Exception e) {e.printStackTrace();}
is it any connection code that i have to write..
Thank youthank you very2 much..it helps me al lot..
2 questions taht i confused:
1: Is it query at adf must be same at query jasper?
2: Is it this code is valid code when i want to call more than parameters:
Map parameters = new HashMap();
parameters.put("branchval", getBranchId());
parameters.put("degreeVal", getDegreeId());
parameters.put("intakeVal", getIntakeId());
parameters.put("typeOfferVal", getTypeOfferId());
parameters.put("jasperParamenterName", "ParameterValue"); Used if you want to pass a parameter to a jasper report
JasperPrint print = JasperFillManager.fillReport(report, parameters, conn);
Thank you -
i have table name student in my MS access data base. student have column name class,section, rollno,studdof... etc . Class Field contains data I ,II,III Std. etc similar to section contains A,B,C etc i want to generate a jasper report by selecting particular class,section eg. i am selecting class I and section B using combobox my problem is that how to pass this condition in java pro to generate jasper report for particulas class and section
Edited by: faizan on Jun 9, 2008 11:53 PMThose extra pieces are from my program and there just to show where I was getting the variables to pass to the map.
You can replace them with your our variables you need for your reports. -
Hi can someone plz tell me integration of ireport with Myeclipse
or how can i use jasper report as i want reports to hav output in pdf and html and i'm using spring/hibernate as persistence .
thanks in advance.Hi Shariff,
have you already googled for "apex integrate jasper"? It returns several how-to's.
Regards
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
How to open Jasper report in New window (new Browser,new Tab)
Hi,
I'm Using oracle jdeveloper 11.1.1.4.0 fusion middleware for Jasper report. i want to open the Jasper report in new window
In Application On click of CommandMenuItem(ExportToHTML)it opens the New Window,.While opnening this window i want to call a method (This method opens the jasper report in current browser)
I Tried the afterPhase and beforePhase for this but doesnt work for me.while executing this using beforePhase I'm getting following Exception :
Pls Help on this.Thanks in Advance......!!
Java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()
at weblogic.servlet.internal.ServletResponseImpl.getOutputStream(ServletResponseImpl.java:280)
at javax.servlet.ServletResponseWrapper.getOutputStream(ServletResponseWrapper.java:112)
at ReportsDisplayBean.exportHtmlReport(ReportsDisplayBean.java:272)Is any other way to do this ? :(
Thanks.Hi,
The view itself is a Web Part called an XSLT List View Web Part (XLV for short). This Web Part is stored on an ASPX page that is by default associated with a list or library on your site.
I suggest you can check if the view page is valid, also, you can try to create another view, then redirect to the view page to see if there is xslt in the page.
Here are some detailed articels for your reference:
Create a custom list view using SharePoint Designer
Using SharePoint Designer 2010 to Work with Web Parts
How to: Customize the Rendering of a Field on a List View
Best Regards
Zhengyu Guo
TechNet Community Support -
Error in Jasper Report Generation
Hi,
I generated Jasper Report.
Jar File Used:
1)classes12
2)commons-beanutils-1.5
3)commons-collections-2.1
4)commons-digester-1.7
5)commons-logging-1.0.2
6)jasperreports-1.2.1
7)org.eclipse.jdt.core.manipulation_1.0.0.v20060605-1400
8)org.eclipse.jdt.core_3.2.0.v_671
Jdk Used
JDK 1.5
Java File:
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 LineDisplay {
public static void main(String[] args) {
JasperReport jasperReport;
JasperPrint jasperPrint;
try {
jasperReport = JasperCompileManager.compileReport("F:\\SampleProject\\Jasperreport\\WEB-INF\\src\\com\\zylog\\Sample.jrxml");
jasperPrint = JasperFillManager.fillReport(jasperReport, new HashMap(), new JREmptyDataSource());
JasperExportManager.exportReportToPdfFile(jasperPrint, "c:\\firstReport.pdf");
} catch (JRException e) {
e.printStackTrace();
I succesfully generated Jasper Report.But My client faced the following Exception as,
java.io.FileNotFoundException: F:\MBSWorkspace\JasperReport\Sample_1252478220359_232342.class (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at net.sf.jasperreports.engine.util.JRLoader.loadBytes(JRLoader.java:272)
at net.sf.jasperreports.engine.design.JRAbstractClassCompiler.compileUnits(JRAbstractClassCompiler.java:73)
at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:190)
at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:131)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:211)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:144)
at com.zylog.jasper.Sample.main(Sample.java:18)
NESTED BY :My Client Used JDK 1.6..
I dont know why he got a such problem..Help anyone to solve it..Deepa_05 wrote:
What do you mean?They mean that every time something doesn't work for you, you just post it here and act all helpless, rather than try and solve it yourself. Do you not have any idea what the error might be telling you? -
Jasper report issue report row 65535 but can't generated correctly
Hi All ,
We are trying to create report with jasper report . The issue is sometime generated report can be open.
Below is test case and result .
1. when dummy all the returned field of procedure to 1 and 20000 rows are to printed in report. The file size is 7564K. The excel can be open after several minutes waiting.
2. When dummy the procedure only return 5000 rows with actual data, the field type may be char, number. The file size is 2010K. The excel can be open quickly.
3. When dummy the procedure only return10000 rows with actual data. The file size is 3999K. The excel cannot be open.
What the issue may be?
Below is our code.
* Generate the the report, currently generate excel report.
* @param results - data set return from procedure execution
* @param parameters - input parameters for Jasper Report design
* @param procName - Jasper file name
* @param outputFile - used as report file name
* @throws JRException - Jasper exception
private void ReportGenerator(List<ScriptParameterObject> results,HashMap<String, Object> parameters, String procName,String outputFile) throws JRException, Exception
logger.info("Creating report: " + outputFile + ".xls");
//URL en = ClassLoader.getSystemResource("jasper"+java.io.File.separator+procName + ".jasper");
URL en = ClassLoader.getSystemResource(procName + ".jasper");
if(en==null)
throw new Exception("Can't find jasper file: " + procName + ".jasper");
logger.debug("Loading jasper file: " + en.getPath());
//InputStream isJasper = ClassLoader.getSystemResourceAsStream("jasper"+java.io.File.separator+procName + ".jasper");
InputStream isJasper = ClassLoader.getSystemResourceAsStream(procName + ".jasper");
JasperReport relatorio = (JasperReport) JRLoader.loadObject(isJasper);
SapiData sapiData = new SapiData(results);
logger.debug("Filling report file ..." + results.size());
JasperPrint impressao=null;
try{
impressao = JasperFillManager.fillReport(relatorio,parameters, sapiData);
catch(Exception ex){
System.out.println(ex); ---never catch error. but not know why the .xls can't open
if (impressao == null) {
logger.debug("impressao == nul.");
logger.debug("Filled report file successfully.");
impressao.setLocaleCode(Locale.getDefault().getCountry());
JRAbstractExporter saida = null;
saida = new JRXlsExporter();
saida.setParameter(JRExporterParameter.JASPER_PRINT, impressao);
saida.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, outputFile + ".xls");
saida.setParameter(JRXlsExporterParameter.IS_ONE_PAGE_PER_SHEET,Boolean.FALSE);
saida.setParameter(JRXlsExporterParameter.IS_WHITE_PAGE_BACKGROUND,Boolean.TRUE);
saida.setParameter(JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS,Boolean.TRUE);
saida.setParameter(JRXlsExporterParameter.IS_COLLAPSE_ROW_SPAN,Boolean.TRUE);
saida.setParameter(JRXlsExporterParameter.MAXIMUM_ROWS_PER_SHEET, Integer.decode("5000"));
logger.debug("Exporting excel report file ...");
saida.exportReport();
logger.debug("Generated excel report file successfully: "+outputFile + ".xls");
/* - used for generate html report
JRAbstractExporter htmlExp = new JRHtmlExporter();
htmlExp.setParameter(JRExporterParameter.JASPER_PRINT, impressao);
htmlExp.setParameter(JRHtmlExporterParameter.OUTPUT_FILE_NAME,outputFile + ".html");
htmlExp.setParameter(JRHtmlExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS,Boolean.TRUE);
htmlExp.setParameter(JRHtmlExporterParameter.IS_WRAP_BREAK_WORD,Boolean.TRUE);
htmlExp.exportReport();
}I hava the same problem.Hava you solved it?
-
Problem while incrementing a variable in Jasper Reports
Hi
I am using Jasper Reports for designing reports. These reports will be used by my Java application.
But there is problem while I am trying to increment a variable depending on some condition.
Requirement: I have to display information about all the residents in a hospital in a single report. Resident information will be fetched from the XML file. When a resident ID is found in the XML, then the variable(resno) shoud be incremented. I have set the initial value to 1.
Problem: Only for the first resident, resno is showing as 1. For all the remaining residents, its showing as 0 (zero).The variable 'resno' is not incrementing for each resident.
Even the ResidentID is not null. All the ResidentID's exists in the XML file.
Please find the code below.
<variable name="resno" class="java.lang.Integer" incrementType="Group" incrementGroup="residentbrk" calculation="Count">
<initialValueExpression><![CDATA[new Integer(1)]]></initialValueExpression>
</variable>
<group name="residentbrk" isStartNewPage="true">
<groupExpression><![CDATA[$F{ResidentID}]]></groupExpression>
<groupHeader>
<band height="16">
<textField hyperlinkType="None">
<reportElement positionType="Float" x="0" y="-1" width="96" height="17"/>
<textElement>
<font isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$R{residentno}]]></textFieldExpression>
</textField>
<textField hyperlinkType="None">
<reportElement positionType="Float" x="96" y="-2" width="64" height="18"/>
<textElement/>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{resno}]]></textFieldExpression>
</textField>
</band>
</groupHeader>
</group>
Could you please provide a solution for this.Not clear at all. May be like this
declare
v_temp varchar2(100);
v_final number;
begin
--loop
v_temp:='sun';
v_temp:=translate(lower(v_temp), '1abcdefghijklmnopqrstuvwxyz', '1');
dbms_output.put_line('Temp:'||v_temp);
v_temp := v_temp || 'Mon5.1';
v_temp:=translate(lower(v_temp), '1abcdefghijklmnopqrstuvwxyz', '1');
dbms_output.put_line('Temp:'||v_temp);
v_temp:= v_temp || 'Tue';
v_temp:=translate(lower(v_temp), '1abcdefghijklmnopqrstuvwxyz', '1');
dbms_output.put_line('Temp:'||v_temp);
v_final:=to_number(v_temp);
dbms_output.put_line('v_final'||v_final);
--coalesce
--end loop;
end;
/
Maybe you are looking for
-
Music app won't sort albums by artist
On my iPad 3rd Gen, after the 8.0 update, the "Group By Album Artist" check box in the Settings no longer works. It used to group the albums in the Music app by the associated Artist, but now it just alphabetizes them regardless of the artist. I've
-
how can i add the airport expres to my network, how can i add the airport expres to my network, how can i add the airport expres to my network
-
Hi, I am using C#. Is there any way by which I can apply filter on a list of objects. for e.g.: I am having struct B string Name; string Address; class A List of B I am storing A in coherence cache as Dictionary<string,instance of A> I want to query
-
HOW TO USE BAPI IN FUNCTION MODULE
Hi All, I am writing BDC for f-28 in that inbetween bdc i wanted to call a bapi and wated to display that to the endusr and ask user to select line iems from that and then proced the bdc further bsed on that selection PL Sugeest me Somthing Pts assu
-
Which function module or class is used to import UNICODE files
Hello all, Does anyone know which function module or global class is used to import files when the UNICODE check for the FILE port is ON? Thanks Ed Baker