Runtime errors "Raise_Exception" occur when running crystal report

Dear all expert,
I had develop a CR. It is fine and I can run it. but in our remote system, there is a runtime error "RAISE_EXCEPTION" with exception condition "EXECUTION_HALTED". There is no error show to me at CR side where the report is running fine. But I wonder why the is a runtime error in the remote system.
Thank You.

Hi Ingo,
I had check the transport folder in my integration solution installer kit folder. There is only Folder with name "ansi" and "unicode_compatible".
The readme for my transport file are as below:
There are two sets of transport files, which can be used with BusinessObjects Enterprise Integration Kit for SAP. One set is ANSI and the other set is Unicode enabled.
The set of transports you must use depends on the BASIS system your SAP system is running on. Additionally, each transport consists of a data file and a cofile, which are listed in brackets behind the transport names.
If your SAP system is running on a BASIS system earlier than 6.20, you must use the files listed below:
(These files are ANSI.)
Open SQL Connectivity transport (K900084.r22 and R900084.r22)
Info Set Connectivity transport (K900085.r22 and R900085.r22)
Row-level Security Definition transport (K900086.r22 and R900086.r22)
Cluster Definition transport (K900093.r22 and R900093.r22)
Authentication Helpers transport (K900088.r22 and R900088.r22)
If your SAP system is running on a 6.20 BASIS system or later, you must use the files listed below:
(These files are Unicode enabled.)
Open SQL Connectivity transport (K900574.r21 and R900574.r21)
Info Set Connectivity transport (K900575.r21 and R900575.r21)
Row-level Security Definition transport (K900576.r21 and R900576.r21)
Cluster Definition transport (K900585.r21 and R900585.r21)
Authentication Helpers transport (K900578.r21 and R900578.r21)
The following files must be used on an SAP BW system:
(These files are Unicode enabled.)
Content Administration transport (K900579.r21 and R900579.r21)
Personalization transport (K900580.r21 and R900580.r21)
MDX Query Connectivity transport (K900581.r21 and R900581.r21)
ODS Connectivity transport (K900582.r21 and R900582.r21)
The dump "raise_exception" occur when in the Crystal Report Designer.
Thank You.

Similar Messages

  • Error has occurred when running internal order report

    Error has occurred when running internal order report. Last month also used this report without any error.
    Error #01: [ASE Error SQL422]Too many nested expressions or logical operators to compile. Try splitting query or limiting ANDs and ORs.
    Error #02: SQL Error: 422
    Error #03: An error occurred while reading the data; Navigation is possible.
    Please guide me to solve this issue.

    Please just say how you removed the CC version and did you remove the Preferences from Hidden User>Library??
    https://helpx.adobe.com/lightroom/kb/preference-file-locations-lightroom-41.html
    In here??
    Sorry I'm trying to help but please answer the questions specifically... thanks.

  • "The process cannot access the file ..." occurs when export crystal report

    We are using a web application developed in VS 2005, .NET 2.0 with the bundled Crystal Reports version 10.2.3600.0 running on a Windows 2003 Standard server with 4GB Ram and Dual CPU's. Periodically we are still receiving the following error in our production environment:
    InnerException:
    The process cannot access the file because it is being used by another process.
       at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions options)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportFormatType formatType)
    This is occuring at the point on the code where the report is being exported to a PDF. Exporting the report to Excel does not appear to cause the error.
                    Stream outStream = report.ExportToStream(ExportFormatType.PortableDocFormat);
                    byte[] charStream = new byte[outStream.Length];
                    outStream.Read(charStream, 0, (int)outStream.Length);
                    if ((charStream != null) && (charStream.Length > 0))
                        HttpContext.Current.Response.ContentType = "application/pdf";
                        HttpContext.Current.Response.OutputStream.Write(charStream, 0, charStream.Length);
                        HttpContext.Current.Response.End();
                report.Close();
                report.Dispose();
                ds.Dispose();
                GC.Collect();
    Closing and disposing of the report and dataset (xsd) are followed by a call for garbage collection. We are unable to produce the error in our development environmennt and have not at this point been unable to pinpoint a problematic report. The development team members do have SP1 installed. The report limit has not been changed from the standard of 75 jobs.  Reviewed the following document, Re: "The process cannot access the file ..." occurs when export crystal report However this applies to VS 2008. Any suggestions to resolve the issue would be greatly appreciated.
    Thanks,
    Joe

    Good morning Joe
    For more details re. loading please see the following resources:
    [Crystal Reports 2008 Component Engine Scalability|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7025839b-00d4-2b10-33b4-cf0aa9e08412?quicklink=index&overridelayout=true]
    [How Can I Optimize Scalability?|http://msdn.microsoft.com/en-us/library/ms225519.aspx]
    [Choosing the Right Business Objects SDK for Your Needs|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40bccdfd-88a6-2b10-1da1-c47a54b625a7]
    To answer your questions:
    Is it correct to presume that the physical number of CPU's is not factored into the CPL? So that a Server with 2 or more processors does not increase the 3 concurrent requests? Therefore 2 CPU's would not increase the CPL limit to 6 processes?
    - Server with 2 or more processors does not increase the 3 concurrent requests.
    What would be an alternate solution to this limit be, considering the report requests could increase significantly?
    - Only way around this would be to web farm the solution
    If only only 3 reports can be processed at the same time. If one or more of the reports currently processing is taking longer due to receiving large amounts of data, how does that affect the queue? And what is stored in the queue, data and/or the report? Is this something that could consume memory?
    - The report can take as much time as it needs. The result is that one license will not be released until the report is done. There is no data stored, just a pointer to the report. However queued apps will chew up memory, some times to the point of the server becoming unresponsive
    I have read in the documentation on this site, that the dataset sent to the engine is copied in memory during report construction. So if a large amount of data is requested for a report (as an example 10+ MB) Could enough users requesting reports drive the memory up because memory usage doubled due to the dataset?
    - Absolutely. See [Crystal Reports Guide to ADO.NET|http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/401c4455-a31d-2b10-ae96-fa57af5aec20].
    Understanding the the CR DLL's are loaded on the first report request, do they get released at some point time due to inactivity or garbage collection? How much memory usage could be consumed when they load and stay resident?
    - No they do not. Not as long as the application is running.
    Ludek

  • Error when running crystal report

    i saw the error in log file 'Only TrueType fonts are supported. This is not a TrueType font' and 'Error while running Crystal report'
    Help me to fix this problem.Thanks inadvanced.
    I used some software developed in vb6.It changed some system font when running :D.
    i want to run both that soft   and sap.

    Hi,
    Please refer to the link, [Re: CR XI R2, Crystal Report Viewer Opentype Font not supported|Re: CR XI R2, Crystal Report Viewer Opentype Font not supported].
    What is the version of your crystal report, we will try to apply some service packs.
    Regards,
    Clint

  • Runtime error RAISE_EXCEPTION occured

    I have created a session after my LSMW is processed. I am not able to process the session in back ground. When I am trying to process that session in back ground, I am not able to do that. I am getting the errror "Runtime error RAISE_EXCEPTION has occured". But I am able to process that session in the foreground. Kindly suggest me something.

    If the session is ran in back ground, then it is throwing the error for all the records "Runtime error RAISE_EXCEPTION has occured ".

  • Error when run crystal report viewer page

    Hi I created form using vb 2008 contains crystalreportviewer and in load sub I wrote the following code to show the report:
    Dim r_select As String
        Dim MyReport As New CrystalDecisions.CrystalReports.Engine.ReportDocument
        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            r_select = "Select Innovative_Form.* from Innovative_Form"
            Dim da As OleDbDataAdapter = New OleDbDataAdapter(r_select, System.Configuration.ConfigurationManager.ConnectionStrings("ConnectionString").ToString())
            Dim da33 As New System.Data.DataSet
            da.Fill(da33, "DataTable1")
            MyReport.Load(Server.MapPath("CrystalReport.rpt"))
            MyReport.SetDataSource(da33)
            Me.CrystalReportViewer1.ReportSource = MyReport
            Me.CrystalReportViewer1.DisplayGroupTree = False
            Me.CrystalReportViewer1.DataBind()
            Me.CrystalReportViewer1.ShowFirstPage()
        End Sub
    when run I got the following error
    Server Error in '/Innovation Last Version-10-1-10' Application.
    Object reference not set to an instance of an object.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
    Source Error:
    Line 34:
    Line 35:
    Line 36:         Dim da As OleDbDataAdapter = New OleDbDataAdapter(r_select, System.Configuration.ConfigurationManager.ConnectionStrings("ConnectionString").ToString())
    Line 37:
    Line 38:
    Source File: C:\Users\kisruser\Desktop\PROJECTS\Innovate Project\Innovation Last Version-10-1-10\Report.aspx.vb    Line: 36
    Stack Trace:
    [NullReferenceException: Object reference not set to an instance of an object.]
       Report.Page_Load(Object sender, EventArgs e) in C:\Users\kisruser\Desktop\PROJECTS\Innovate Project\Innovation Last Version-10-1-10\Report.aspx.vb:36
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       System.Web.UI.Control.LoadRecursive() +50
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
    Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016
    SO WHAT IS THE PROBLEM?????

    What version of CR are you using?
    What CR updates are you using?
    See sample apps here:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    in particular check out vbnet_win_pass_dataset_main_sub.zip
    The [Crystal Reports for Visual Studio 2005 Walkthroughs|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23] will also be good to look at.
    Ludek
    Follow us on Twitter
    http://twitter.com/SAPCRNetSup

  • Deadlocked error message when running crystal report

    Hi All,
    I need a bit of guidance as to the following problem.
    Seems there is a lock being created in SQL when running some crystal reports.
    When trying to run a report the following message is displayed:
    Database connection Error L 'ADO Error Code: 0x
    Source: Microsoft SQL Native Client
    Description: Transaction (Process ID 302) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
    SQL State: 40001
    Native Error: [Database Vendor Code: 1205 ]'
    The error is happening intermittently when refreshing the report. It does not seem to happen when no users are using the system.
    Is there any way to stop this from happening? Or is this some kind of limitation with crystal and how it accesses the database?
    Many Thanks,
    Matt

    Hi Matt
    I have had this problem with long running queries as well.  I ended up doing the main part of the query in a view using WITH (NOLOCK) for each table and then reporting on the view.
    This had extra benefits of making the report much simpler and often making the query more efficient and easier to test as well.
    Rob

  • Error when run crystal report with store procedure in JSP

    I try to run report which is developed by crystal report XI and store procedure (SQL 2005) with JSP.
    But it occurs error that is "com.crystaldecisions.reports.reportengineinterface.JPEReportSource - failed to process getPage request: No results were returned by the query."
    How can I do for solving this problem? Pls, help me !!!!!
    (In other report which is not used store procedure I can run fine.)
    Message was edited by:
    Bonds_Identity

    What version of CR are you using?
    What CR updates are you using?
    See sample apps here:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    in particular check out vbnet_win_pass_dataset_main_sub.zip
    The [Crystal Reports for Visual Studio 2005 Walkthroughs|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23] will also be good to look at.
    Ludek
    Follow us on Twitter
    http://twitter.com/SAPCRNetSup

  • Receiving Error when running Crystal reports with Images in WebSphere 6.1

    I am designing a report with a sub report that displays images via (BLOBS). The images are between 10-20 kb in size and there could be up to 200 images in the report.
    There are no problems when I run the report using Java 1.5 with Tomcat 5.5 server and JDBC connection (using ojdbc14.jar) to an Oracle 10g database.
    It seems that if I attempt to run the same report on a WebSphere 6.1 environment, the below error is encountered (stack trace is below)
    I am using Crystal 2008 (ver 12.0.0.683).
    Based on the stack trace, I think it is either an IBM JDK  javax.* package compatibility issue or the current version of Crystal reports (no service packs installed - current client environment) has a known issue with Websphere.
    I searched the forums for any similiar issues but could not find one.
    Could installing Service pack 3 solve this issue or is there another possibility?  
    Any assistance would be greatly appreciated.
    Thank you.
    Tony. 
    Stack Trace follows  (Needed to trim due to size, trying to keep unique messges) *******
    ERROR [pool-14-thread-1] c.u.p.e.g.c.GenerateCrystalReport [GenerateCrystalReport.java : 211] Generate Report: Template =
    pusehk08\evm$\EVM REPORTS 5.7.2010\Staging\TEARDOWN_COM.rpt, ReportSDKException caught: javax/imageio/metadata/IIOMetadata.getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: javax/imageio/metadata/IIOMetadata.getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:237) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:147) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:128) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:111) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.utc.pw.evm2.generatereports.crystalreports.GenerateCrystalReport.generateReport(GenerateCrystalReport.java:152) [classes/:na]
    at com.utc.pw.evm2.generatereports.ReportThread.run(ReportThread.java:144) [classes/:na]
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:678) [na:1.5.0]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:703) [na:1.5.0]
    at java.lang.Thread.run(Thread.java:811) [na:1.5.0]
    Caused by: java.lang.VerifyError: javax/imageio/metadata/IIOMetadata.getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;
    at com.crystaldecisions.reports.common.image.ImageUtils.a(SourceFile:901) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.common.image.ImageUtils.if(SourceFile:873) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.common.JavaImage.do(SourceFile:183) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.common.CrystalImage.createImage(SourceFile:50) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.FormattedBlobFieldObject.if(SourceFile:103) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.FormattedBlobFieldObject.<init>(SourceFile:57) [CrystalReportsRuntime.jar:12.2.207.916]
    [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.formatPage(SourceFile:236) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:96) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:247) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(SourceFile:642) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(SourceFile:586) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:636) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:672) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1944) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:337) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:223) [CrystalReportsRuntime.jar:12.2.207.916]
    ... 8 common frames omitted
    2010-07-20 15:57:11,147 ERROR [pool-14-thread-1] c.u.p.e.g.ReportThread [ReportThread.java : 233] Attempt to generate report TEARDOWN using
    pusehk08\evm$\EVM REPORTS 5.7.2010\Staging\TEARDOWN_COM.rpt for E733570-01 failed: Generate Report: Template =
    pusehk08\evm$\EVM REPORTS 5.7.2010\Staging\TEARDOWN_COM.rpt, ReportSDKException caught: javax/imageio/metadata/IIOMetadata.getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;, REPORTSDKEXCEPTION
    2010-07-20 15:57:11,147 ERROR [pool-14-thread-1] c.u.p.e.g.ReportThread [ReportThread.java : 238] Exception was caught trying to build report:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: javax/imageio/metadata/IIOMetadata.getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;
    Edited by: Liro9999 on Jul 21, 2010 1:55 PM

    Thank you for your reply.
    The answer to your question concerning if Websphere is a clean install is no.  The client has other applications running on that server.  We do not have access to that server other than the log files and I requested information as to what other applications are on the server.
    We did try adding a known working version of the IIOMetadata class in the ear file and deploying it in the hopes that  class will be loaded before using any other version.  Unfortunately, we receive the posted errors.  Which may mean that a different version of the class has already been loaded in memory and that is the one being accessed.  A request would have to be made to the client for a shutdown and restart of Websphere in determining if that may be the case.  Since there are other applications running, coordination and communication to the other application owner will need to be done first.
    Any additional ideas will be appreciated.
    Thank you.
    Tony.

  • Error when running Crystal Reports Viewer

    Hello,
    Has anyone come across this error before when opening the crystal report viewer?
    'The CrystalReportsViewer executable launcher was unable to locate its companion launcher jar'
    Any advice would be much appreciated.
    Kind regards,
    Kate

    Moving to Crystal Reports forums - the "Crystal Reports Viewer" desktop application is built on the Crystal Reports Java SDK, but it's not a SDK issue.
    The launcher executable just can't find the internal files it needs for its operation.
    Sincerely,
    Ted Ueda

  • Error message occurs when preview crystal

    I have one formula "Year+1" in my crystal report based on parameter "ZYEARMONTH". When I check this formula sytax, system show me no error founds. But, when I preview this crystal report, I get error message like "the string is non-numeric" with the following formula.
    syntax: ToText((ToNumber(Right({?[ZYEARMONTH]}, 4) ) + 1),'0000')
    Please give me a guide how to fix this issue. Thanks all of you in advance.
    Sudree

    This error means you're trying to convert a non-numeric value into a number. In your case, you're attempting to convert the right four characters of a string parameter into a number. If you're getting this error, then your right four characters aren't numeric and can't be converted.  Please provide an example of how you enter the parameter value.

  • Getting Runtime Error 6 Overflow when Running a BI Publisher Template

    Hi,
    I have a requirement to in a template where i am filling the table with empty lines if the no of lines in the template per page are less then the specified no of lines per page.
    It is working when the data is for 4 suppliers when the data is huge ie: 40 suppliers the template is showing Runtime Error 6 Overflow.
    can anyone please guide on this,if needed i will mail the template and the xml.
    Best Regards,
    Mahi

    Hi ,
    I am also getting the same error. When i am trying to print 6 lines per page in xml publiesher report, it is working fine but if i am trying to print 7 lines or more, then it is going into Runtime Error 6 Overflow. Can you suggest something on this?
    Regards
    Sachin

  • Duplicated data when run Crystal report

    Afternoon all,
    I'm trying to create a report which compares quantity of sold goods and qty of orderd goods.
    I've started just with one table for sold quantity using parameter fileds for From Date, To date, Customer and Part Number. I've ran the report and everything is OK.
    When I add another table (and link the fields) to get ordered quantities and run the report I receive duplicate data for ordered goods.
    To be more precise, I think that the duplicate data are in the rows where I have sold quantity but no ordered goods.
    As for example:
    Invoice Date   Inv. Qty             Date of ordered g.       Ordered Qty
    7.6.2006        80                     9.6.2006                        160
    9.6.2006        80                     12.6.2006                       160
    11.6.2006      80                     12.6.2006                       160
    The Sum formula then for Ordered qty gives 480 pcs, but it should be just 320.
    I'm sorry, If you have already answered similar question. I was not able to find it.
    Thank you in advance for your help.
    Branislav

    Hi Branislav,
    I think this is just because of dates in your Invoice Qty table. Do the following to create the report.
    --Create report with Invoice and Order tables and use inner join to join the tables.
    --Insert a group on Part Number and place the following fields on detail section
    Inv_Date,Inv_Qty,Ord_DAte,Ord_Qty
    Now your report looks like :
    Invoice Date Inv. Qty Date of ordered g. Ordered Qty
    7.6.2006 80 9.6.2006 160
    9.6.2006 80 12.6.2006 160
    11.6.2006 80 12.6.2006 160
    Now right click on Order_date,Ord_Qty and format fields--click on suppress duplicated
    Now your report looks like
    Invoice Date Inv. Qty Date of ordered g. Ordered Qty
    7.6.2006 80 9.6.2006 160
    9.6.2006 80 12.6.2006 160
    11.6.2006 80
    Now to get summary on order_Qty Create a running total like
    Right click on running totals--new give the nameSelect the Ord_Qty field to get total, Type of Summary should be sum
    Evaluate--Click On change of field and select Order_DAte
    Reset--Click On change of group.
    Now place this running total in group footer under Order_Qty. This will solve issue.
    Thanks,
    Sastry

  • Runtime error ora-12703 when running utl_mail

    hello,
    I call a procedure through push button to use UTL_MAIL.send(..) and I got error ora-12703.
    There is no error during compilation.
    For your info, I manage to execute the same code on stored procedure using TOAD and I received the email sent using TOAD and telnet from my local.
    For info:
    Forms developer version:
    Forms [32 Bit] Version 10.1.2.0.2 (Production)
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    procedure:
    PROCEDURE test_email IS
    BEGIN
    UTL_MAIL.send (
    sender => '[email protected]',
    recipients => '[email protected]',
    cc => '[email protected]',
    bcc => '[email protected]',
    subject => 'Test',
    MESSAGE => 'Hello World',
    mime_type => 'text; charset=us-ascii',
    priority => 3
    END;
    Could anyone please help me on this.
    Regards,
    Dayang

    Hi All,
    I tried another function that use utl_smtp to send email.
    Again I could recieve email when I execute the function in TOAD but got error ora-12703 when I ran using forms.
    When I ran the form, only "debug 1st" apear, then after that it returned error ora-12703.
    Function:
    FUNCTION SEND_MAIL
    (pIssuer IN VARCHAR2,
    pReceiver IN VARCHAR2,
    pSender IN VARCHAR2,
    pSubject IN VARCHAR2,
    pMessage IN VARCHAR2) RETURN VARCHAR2 IS
    c utl_smtp.connection;
    respuesta utl_smtp.reply;
    pServer VARCHAR2(50) := '10.0.3.79';
    CRLF CHAR(2) := CHR(13) || CHR(10);
    BEGIN
    message('debug 1st');
    -- Abre la conexión al Server de correo
    c := utl_smtp.open_connection(pServer);
    message('debug2nd');
    respuesta := utl_smtp.helo(c, pServer);
    -- Inicia el Issuer del correo.
    respuesta := utl_smtp.mail(c, pSender);
    -- Inicia el Receiver
    respuesta := utl_smtp.rcpt(c, pReceiver);
    respuesta := utl_smtp.open_data(c);
    -- Escribe la cabecera del e-mail
    utl_smtp.write_data(c, 'From: ' || pIssuer || CRLF);
    utl_smtp.write_data(c, 'To: ' || pReceiver || CRLF);
    -- Escribe el Subject
    utl_smtp.write_data(c, 'Subject: ' || pSubject || CRLF);
    -- Escribe el texto del Message.
    utl_smtp.write_data(c, CRLF || pMessage);
    utl_smtp.write_data(c, CRLF || '.');
    respuesta := utl_smtp.close_data(c);
    -- Cierra la conexión
    respuesta := utl_smtp.quit(c);
    RETURN '0';
    EXCEPTION
    WHEN utl_smtp.transient_error OR utl_smtp.permanent_error THEN
    utl_smtp.quit(c);
    RETURN sqlerrm;
    --raise_application_error(-20000,
    -- 'El envío del email ha fallado devolviendo el siguiente error: ' || sqlerrm);
    END;
    Regards,
    Dayang

  • Error 10810 occurs when running with SCXI

    Iam running an LV example program in RT(PXI-8176,Daq Device PXI-6052E)and i have a SCXI 1520,seven 1125 & one 1102b modules in my SCXI Chassis.When i run example acquisition program iam able to acquire from module 1 & 2(i.e 1520 & one 1125)but from my 3rd module to the rest of modules i'm not able to acquire.I get an error saying that "Error-10810 unexpected error in Group config" what could be the reason?

    Hello,
    The problem is probably related to a conflict between the driver and the controlling module in your SCXI chassis. I have heard of this problem before when trying to acquire data from an SCXI-1125 that is slot 3 or higher of a SCXI chassis running in RT, and it resulted with that exact error.
    There was no fix such as upgrading to a newer version of the driver or anything like that. Rather, the problem was shown to occur only when the SCXI-1125 module was used to control the SCXI chassis. If they used any module other than the 1125 to control the chassis, then there was no problem.
    My suggestions to you are to try this exact thing - do not use an SCXI-1125 module as the controller for your chassis. If this doesn't happen to be the case, or this does not
    work out for you, then please post back to this discussion so we might be able to solve this problem. If you happen to post back, please list some more information such as driver version, OS, SCXI chassis, controlling module/slot, etc.
    Best of luck.
    Jared A

Maybe you are looking for