Formula in the Crystal report 2008 R2

Hi Experts,
I want a formula in the Crystal report.
Scenario is that i want the sum of INV4.taxsum where INV4.Relatetype = 1 .(means, i want only sum of taxsum of  lines having relatetype = 1 and not all ).
how to write the formula for crystal report filed ?
Thanks in advance,
Regards,
Dwarak

Hi Dwarak,
Go to the Field Explorer > Right-click Running Total Fields > New.
Choose INV4.taxsum as the field to summarize and in the Evaluate section, choose 'Formula' and click on the formula button beside it. Use this code:
INV4.Relatetype = 1
Drag and drop the Running Total field on the Footer section.
You can also do this using two formulas.
First formula goes on the Details section with this code:
whileprintingrecords;
numbervar summ;
if INV4.Relatetype = 1 then
     summ := summ + INV4.taxsum;
And another one to display with this code. This goes in the footer:
whileprintingrecords;
numbervar summ;
-Abhilash

Similar Messages

  • Report Selection Formula Error with Crystal Reports 2008 SP3 Fix Pack 3.5

    Hello,
    My name is Carlos, and I would like to report a defect found in the Crystal Reports 2008 SP 3 Fix Pack 3.5 Runtime that is affecting the majority of our reports.  As well, I would like to ask if there is a simple workaround that does not involve updating hundreds of reports.
    The issue is that the runtime engine incorrectly returns the report selection formula.  I have included sample code showing what I mean.
    To reproduce;
    1. Create a simple report that has a date range filter like: 
      ({Orders.Order_Date} >= {?START_DATE})  
      AND ({Orders.Order_Date} <= {?END_DATE})
    2. Create a test app as follow that loads a report using the following code:
    ReportDocument rpt = null;
    try
      rpt = new ReportDocument();
      rpt.Load("TestReport.rpt");
      this.txtMessage.Text = string.Format(
        "ReportSelectionFormula:{0}{1}",
         Environment.NewLine,
      rpt.RecordSelectionFormula);
    catch (Exception ex)     
      this.txtMessage.Text = ex.ToString();     
    3.  Install Crystal Reports 2008 SP3 Fix Pack 3.5 Runtime [https://smpdl.sap-ag.de/~sapidp/012002523100006341772011E/cr2008fp35_redist.zip]..
    4.  Execute the app.
    At this stage, the screen shows
    ReportSelectionFormula:
    (   (  NOT  {Orders.Order_Date} >= {?START_DATE}  )   AND   (  NOT  {Orders.Order_Date} <= {?END_DATE}  )   ) 
    The expected value is:
    ReportSelectionFormula:
    (   (  {Orders.Order_Date} >= {?START_DATE}  )   AND   (  {Orders.Order_Date} <= {?END_DATE}  )   ) 
    If we were to repeat the same test above but use the Crystal Reports 2003 SP3 runtime (i.e. no Fix Pack), which can be dowloaded from [https://smpdl.sap-ag.de/~sapidp/012002523100007123592010E/cr2008sp3_redist.zip], we would get the correct report selection formula. A side-effect for this incorrect report selection formula is a runtime exception complaining about an errorkind and a boolean being expected. 
    Do you know if there is any workaround that I can apply in code, perhaps a different Fix Pack?  Is there a Fix Pack expected to be released soon?  It is not practical for us to update our reports and use a different style in the record selection formula because we have many such reports, and our customers probably have even more.
    Thank you.
    -Carlos.

    Already a known issue, here's the [KB 1584095 - A boolean NOT is added at the beginning of a record selection formula when the report is loaded by the Crystal Reports .NET SDK |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533383334333033393335%7D.do]

  • How to open the crystal reports 2008 in CRYSTAL REPORTS ENTERPRISE 4.0

    Hi All,
    Can you please let me know how can migrated the crystal reports from BO XI 3.1 to SAP BO 4.1 and after migrate how to open the crystal reports 2008 in CRYSTAL REPORTS ENTERPRISE 4.0.
    can you please help on this and if document please share.
    Thanks,
    Rajesh

    Use the upgrade management tool to move from 3.1 reports to BO 4.1. After migration, open the report in crystal enterprise 4.0, you will get a message saying that the report will be converted to latest version, will not be able to view from older version after converting. (Similar words- not sure exact words).

  • Failed to Install the Crystal Reports 2008

    Post Author: cechow
    CA Forum: Crystal Reports
    Hi,
    I am facing some error message when installing the Crystal Reports 2008 that I have purchased. I am currently working on a Windows XP Pro SP2, 1 GB RAM, 60 GD Free Space to install the Crystal Reports but failed. The error stated on the Crystal Reports installation screen is "Crystal Reports 2008 Setup has Failed".
    Thanks.
    Adrian

    Post Author: cechow
    CA Forum: Crystal Reports
    Basic Template
    Product: Crystal Report 2008
    Version:
    Patches Applied: I'm not sure what patches need to be installed
    Operating System(s): Windows XP Professional SP2
    Database(s): SQL Server 2000 sp3a
    Error Messages:  Failed to INstall the Crystal Reports 2008.Steps to Reproduce: When I entered the CR disc in the CD ROM, there was no auto-run, then i decided to browse into the CD and execute the Setup.exe which then prompt the error above. Please advise.Is there some Pre-requisites that I need to install, any JRE or some other application?

  • Integrate the Crystal Reports 2008 SP1 with SAP R/3

    Hi Experts,
    I have a requirement to integrate  Crystal Reports with the SAP R/3 . I'm new with this kind of integration and need help because I need to create a report based on the R/3 data.
    I have read some posts from this forum especially on the integration kits - SAP forum but still don't have any idea on how to do it?
    I already installed the BusinessObjects Enterprise XI 3.1 and also Crystal Reports 2008 SP1. I also download the Integration Kits -SAP installer from the SAP Marketplace but when I tried to installed it, I get stuck because it need information for BW publisher.
    As for your information, we don't use any BW server because we only use R/3.
    Can anyone help me where to start on this integration?
    Thanks,
    -Syahida-

    Hi Stratos,
    You're right regarding the transport files. My basis team able to transport that file but when I try again to connect from Crystal Report to R/3, it come out with other error like " Connect to SAP gateway failed" and " partner 202.171.46.161 :3300 not reached"
    What I did were :
    a) Click on blank report
    b) Create New Connection
    c) SAP Tables, Cluster
    Did I do any wrong here because the error cameout after I did all the step above ? When I look out on the error, it seems like it need to use port 3300.  Is there any specific port required for the integration? This is because if the integration through SAPGui, it should used port 3200 and if go direct using SAPRouter, it will use port 3299.
    Really need your expertise here or any document that I can refer because the standard document for integration kit for SAP did not mention anything about the port.
    Thanks and Regards,
    -Syahida-

  • Crystal Report 2008 / JavaScript hyperlink formula/ Issue

    Hi,
    We've developed the Crystal Report using the Crystal Reports 2008 software & integrated it in asp.net web page and also deployed in IIS web server. We have a requirement like opening the sub report in a new window. We have integrated the sub report also in a asp.net web page & passing the parameters in URL & acheived it..
    For the above, we have used JavaScript code like "javascript:window.open('SubReport.aspx','...','..' ...)" in the hyperlink formula field of main report. It works fine while running using VS 2005 in the development box.
    But in production serer (Windows 2003 server), the JS URL in the formula field is not working properly. Instead , it is rendered as a drill down JS url. Like javascript:bobj.event.publish('drilldown',........)
    Can you please help us to resolve this issue?
    (OR) Do we have any other approach to open the web page in new window from CR (same like a popup window)
    Thanks
    Jeyakumar
    Edited by: Jeyakumar Seenivasagam on Nov 21, 2008 12:02 PM

    I understand that the point of this is to allow the URL link to open the Subreport.aspx page in a new window. This can be problematic due to cross-site scripting restrictions. A few years ago we found that it was possible for report writers to add JavaScript to reports. This isn't a problem if the report writers are honest and nice. However, it is possible for JavaScript to be malicious so that ability to include JavaScript was turned off when the app uses our webform viewers. There may be a way to turn it off in the registry though. This is documented for CR XI r2 [here|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do].
    I am not sure if this reg key works for the .NET viewer, though the note specifies DHTML and .NET InfoView, so CR should work also. As you are using CR 2008, I suspect the key would be:
    HKLMSoftwareBusiness ObjectsSuite 12.0Crystal Reports
    You will most likely have to add the Export folder, then add the HTML folder, then add the EncodeHTMLForSingleLineFieldObjects and set it to "no".
    Please note that this is a hack / workaround found for CR XI r2. The functionality you are looking to exploit was removed for a reason. As such if the above does not work for CR 2008, it will not be considered to be a "bug" and we will not be able to send this to R&D for a resolution.
    Ludek

  • Two problmes between  Crystal Reports 2008 and Bex Query

    Hi Gurus.
    I have two problems with Crystal Reports 2008 when It obtains data from a Bex Query (SAP MDX query connection).
    1)     I have defined some Parameters Fields using the follow options:
    Type: String
    List of Values: Dynamic
    Value Options Level1:
                         Show on (Viewer) Panel :Editable
                          Prompt text: <text>
                          Sort Order: Ascending by value
                          Prompt With description Only : False
                          Optional Prompt: True
                          Allow multiple values: True
                          Allow discrete values: True
                          Allow range values: False
    When I execute the report with the client of Crystal Reports 2008 (the developer tool), in the initial screen shows a list box where I can select the values from the left box and add it to the left box (as a usually filter). When the number of options (LOV) is more than  the maximum of the system, I have a input box bellow the list box, where I can insert any value (manually) and a button to insert it into the left box. When I publish the Report in the infoview, this filter is modified and the input box where I can introduce manually values is not showed and I can insert only the values showed in the list box, it causes that I can`t select a lot of values that is in the master data of SAP BW, because they arenu2019t listed in the list box.
    There is any option to ability this option in the infoview.
    2)     My Bex query, have a date filter with variable in the restricted key figures, when I execute a Crystal Reports, the infoview (and the Crystal Reports 2008 designer) ask me 2 times the same date, first only the date and second the date and the rest of parameters (introduced in the report of Crystal Reports).
    Why I need insert the date 2 times? How can I modify the Crystal Report for ask me only one time all the parameters?.
    Thanks.

    Hi Abhilash.
    Thank you for your information.
    1) Yes, the parameters are created in the Crystal Reports designer. I have created the parameters in the Crystal Report because I use the same Bex Query to create some Crystal Report, in other case, I will need create some Bex Query.
    2)The Bex query has the date filters and I have created some filters in Crystal Reports designer, the date filter from the Bex query is created automatically in the Crystal Report Designer but I don't use it, I haven't created it anytime. I use my filters only in the record selection. The date filters from the Bex query is showed as Static, and I can`t delete it, if I modify the parameter to dynamic or static with values, at first step ask me again static without values and the second step of the report execution ask me the parameter as I have defined in Crystal Reports Designer, my parameters fields are dynamic. A lot of reports have subreport, but I have created one of them without subreport (to trial) and the Crystal Reports ask me the date filters at first execution, and when I insert the date filters, in the second step, ask me the date filters again and my parameters fields again.
    Thank you again.

  • Crystal Reports 2008-Vista-ERROR-crw32.exe Entry Point Not Found in dll

    Hi Experts,
    I just installed the Crystal Reports 2008 (with SP0) on my Vista (Home) machine.  When I try to start the CR 2008, I am getting the below error message:
    Error Title: crw32.exe - Entry Point Not Found
    Error Message: The procedure entry point ?PrintLegend@CMapXLegend@CSLib300@@QAEXJJJJJ@Z could not be located in the dynamic link library cslibu-3-0.dll
    Here are the things I tried to resolve the above problem:
    1) Uninstall and Reinstall the CR 2008.  -  No change.
    2) I configured the DEP to accept Crystal Reports (Performance - Advanced - DEP allow). 
    None of these seem fix the problem. 
    Can you please help me kick start the Crystal Reports 2008? 
    Thanks,
    Arun

    Please try with this:
    Run a command prompt as administrator. From the start menu, select "All Programs", then "Accessories" and right-click on the "Command Prompt" shortcut and choose "Run As Administrator". From here you can use the following command to disable Data Execution Prevention (DEP) with the following command:
    bcdedit.exe /set nx AlwaysOff
    Keeping your command prompt open, run your setup or other process being stopped by DEP. Then, to turn it back on again, do the same and run the following:
    bcdedit.exe /set nx AlwaysOn
    Regards,
    Shweta

  • Invalid export DLL or export format" with Crystal Reports 2008 to Excel xls

    We are experiencing the same issue as reported in the sticky thread. I answered in that thread, but thought that I woudl open a new thread to keep track of this issue.  I can give you the responses to your questions you have requested in that thread:
    Server Operating System - MS Windows Server 2003 R2 Enterprise Edition SP2
    Version of the .NET Framework - MS .NET Framework 3.5 SP1
    How did you deploy? - Installed CR 2008 SP1 runtime with msi package
    If you deployed with CRRuntime_12_0_mlb.msi - what was the date of the file and its size? CRRuntime_12_1_mlb.msi dated Sept. 16, 2008 12:55:00 PM, size: 56,717,824 bytes
    What is the file version of crpe32.dll on your server? You'll find this in the C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 directory - File was created 9/13/08 11:21AM, 9451KB File Version: 12.1.0.882
    How many libpng10.dll files are on your system? List all instances. - 1 instance is on the system located in C;\Program Files\Business Objects\Business Objects Enterprise 12.0\win32_x86 directory. It is dated 9/13/08 8:52:26AM 132KB version 1.0.30.1
    Any additional comments - We have tried to export to PDF and this works successfully. However, we can not export to xls or rft formats.
    CRXF_XLS.dll is 905KB 9/13/08 9:38AM Version 12.1.0.882
    CRXF_RTF.dll is 509KB 9/13/08 9:35AM Version 12.1.0.882
    We also have the CR XIR2 server runtime installed side by side on the server as we migrate from CR 2008 to CR XIR2 SP4 ( where this function does work currently).
    Please let me know if you need anything additional.
    Phil
    "Invalid export DLL or export format" with Crystal Reports 2008
    Posted: Sep 27, 2008 12:36 AM       E-mail this message      Reply 
    I've included this sticky because we are seeing many posts in this forum regarding the error Invalid export DLL or export format when exporting to Excel and RTF in .NET applications using the Crystal Reports 2008 .NET SDK.
    Issue
    Exporting a Crystal Report to Excel or RTF format
    .NET application using the Crystal Reports 2008 runtime (version 12.0)
    error Invalid export DLL or export format
    We've been doing some testing in-house and haven't reproduced this behavior. In order to figure this issue out we will need your help. If you are getting this error please reply to this post with the following information:
    Server Operating System
    Version of the .NET Framework
    How did you deploy?
    If you deployed with CRRuntime_12_0_mlb.msi - what was the date of the file and its size?
    What is the file version of crpe32.dll on your server? You'll find this in the C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 directory
    How many libpng10.dll files are on your system? List all instances.
    Any additional comments
    What We Know
    The error invalid export DLL or export format may occur when exporting to Excel and RTF formats in .NET applications utilizing the Crystal Reports 2008 runtime (v 12.0)
    Other export formats like Adobe PDF, Crystal Reports, CSV all export with no error
    Some customers have resolved this by adding C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 to their environment path variables
    This may have something to do with the file libpng10.dll. Both crxf_xls.dll and crxf_rtf.dll are dependent on it.
    Thanks in advance for your co-operation. We hope to figure out what is causing this issue soon.

    Hi,
    I am also having the same problem, except that I am not using Crystal Report 2008 runtime but the actual Crystal Report 2008 installation on Windows XP SP2 with VS Studio 2005 (VC++). MS .NET Framework 2.0.
    Cyrstal Report XIR2 was installed on the same machine but uninstalled before installing Crystal Report 2008.
    So only one instance of libpng10.dll and found in C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86
    Crpe32.dll        3/1/2008 version 12.0.0.683
    Crxf_xls.dll       3/1/2008 version 12.0.0.683
    Crxf_rtf.dll         3/1/2008 version 12.0.0.683
    crdb_oracle.dll  3/1/2008 version 12.0.0.683
    libpng10.dll       3/1/2008 version 1.0.30.0             122880 bytes
    There is no problem for exporting to pdf, html, word, csv, Crystal Report. If I create a testing report without any data from database, the testing report can then be exported also to rtf and xls.
    Oracle 11.1.0.6 is the DB for the reports.
    Adding C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 to the path did not resolve my problem.
    Any idea to fix this issue?
    Thanks
    Kin H Chan

  • Crystal Reports 2008 - Blank page on server only

    Crystal Reports 2008 - Blank page on server only
    My report is developed in the Crystal Reports 2008 Report Designer 12.0.0.683.
    I have a .NET application that takes the report file, an ODBC connection and exports the resulting report to PDF. This application is deployed as an MSI and includes the Crystal Reports .msm merge module. The report uses multiple views and tables from a single database to create invoices in PDF format.
    Problem: For one particular invoice, a blank page is being added to the end of the invoice. This blank page contains the report's standard page header. There is no missing data and no missing sections on the invoice. This is only occurring when the pdf is generated on a Windows Server 2008 x64 server where the application is deployed using the merge modules.
    I have installed the application locally on my Windows Vista Business x86 system and the generated PDF does NOT contain the blank page at the end.
    The blank page is not generated when previewing the report in Report Designer. For the particular invoice this is occurring on, footer F and footer G are blank and therefore suppressed.
    Please bear in mind that this happens only for one particular invoice that uses this report file and does not happen from my local system using the same .rpt file.
    The report is constructed of the following sections:
    -Page Header (suppressed on page 1)
    -Grp1 header A (watermark conditionally suppressed based upon a parameter)
    -Grp1 header B (Keep together - always fits onto a single page)
    -Details
    -Grp1 footer A (Keep together)
    -Grp1 footer B (Conditionally suppressed based upon data)
    -Grp1 footer C (Keep together)
    -Grp1 footer D (Contains sub report(suppressed when blank). Keep together. Suppress blank section. New page before but (Not OnLastRecord))
    -Grp1 footer E (Contains sub report(suppressed when blank). Keep together. Suppress blank section.)
    -Grp1 footer F (Contains sub report(suppressed when blank). Keep together. Suppress blank section.)
    -Grp1 footer G (Contains sub report(suppressed when blank). Keep together. Suppress blank section.)
    -Report footer (Always blank. Suppress blank section)
    -Page footer (Fixed static content, displayed on every page.)
    Edited by: alibaabaa on Oct 12, 2009 12:41 PM
    Edited by: alibaabaa on Oct 12, 2009 12:45 PM

    Thanks for responding, Jonathan.
    Is the same runtime installed on the 64 bit system? I notice from your version number that you do not have any service packs installed on the dev system. SP 2 is out and may help.
    I have installed SP1 and SP2 this morning, resaved the report file and tried again but the same problem remains.
    I'm not sure how to answer your runtime question. I am using the same application built with the same merge modules on both the dev machine and the production server. Of course, the dev machine has the additional complication of having Crystal Reports 2008 installed. Perhaps this is causing the difference?
    Compare the printer settings between the two systems. Try installing the same printer driver on the 64 bit system.
    Perhaps I am misinterpreting your suggestion, but I am not printing the invoices. I am only exporting them to PDF. It is the PDF that has the extra page. Is there a 'print to PDF' driver of some sort that I need?
    Also, was the .NET application compiled as 32 bit, or Any CPU? Whichever it was, try switching it then recompiling to see if that helps.
    I tried switching to Any CPU but this caused the Crystal Reports module not to load at all on the 64bit Windows server.
    Thank you for your suggestions, but my problem remains. Is it worth trying with the redistributable msi rather than using the merge modules? If so, could you recommend which one I should use? I am using Visual Studio 2008 Professional.

  • Crystal Reports 2008 export to PDF does not render Japanese fonts

    Hello,
    I have searched the forums for this issue, and there does not seem to be a clear resolution to this problem.  We are using CR2008 to create RPT files that are bundled with our custom .NET 2005 application, which then generates reports in PDF format by running the RPT files against an access mdb database using the CR2008 runtime (our application is deployed on a different machine than the one that is used to create the RPT files).  The issue we are having occurs when data in the access mdb file contains Strings with Japanese characters.  The system that our application is running on does contain the eastern asian language fonts so if a user opens the mdb file using access, they can see the Unicode strings in the database rendered properly (rather than the usual boxes and garbage).  However, once our application generates the report filling in the rpt file with data from the mdb and exporting the report to pdf format, the entries that should contain Japanese font data, which leads me to believe the problem is in the export pdf function of the crystal reports 2008 runtime.  Is there anyway we can configure the runtime to properly embed the fonts in the PDF so that the users can view the Japanese content from the database.  Our users end up viewing reports on both OSX and Windows using Adobe Acrobat Reader.
    Thank you very much in advance

    Thanks for the quick reply!
    1) Exact version of Crystal Reports. (Open Crystal Developer. Go to Help> About Crystal Reports).
    12.0.0.683
    Type: Full
    2) What happens if you export the report to PDF format from the standalone Crystal Reports Designer?
    Same result.  The entry shows up as giberish in the report designer preview...however, by doing this I stumbled upon something.  See below
    3) Are you able to export the report to other formats without any issue?
    See Note below
    NOTE:
    In another part of the report, I just put the fields in question directly in the report (that is, not embedded in a text object).  That part of the report when run produces the correct non-gibberish, properly rendered Japanese result (in the CR designer preview).  The same field, however, when embedded in a text object, results in the gibberish being shown in the designer preview as well.
    Now when I export this to PDF, that ends up turning both areas into the incorrect, gibberish result.  Both the one that did properly render in the preview (field not embedded in text object) and the one in the text object.
    Exporting to any other format (tried xls, rtf and html) results in correct rendering for the field not embedded in the text object and incorrect rendering for the field embedded in a text object.
    Hope this helps with the problem, and I think it means this thread probably still belongs under this current forum.
    Cheers

  • How to configure Crystal Reports 2008 and IIS7 and Windows Server 2008?

    I have downloaded and installed the trial for Crystal Reports 2008 on our Windows 2008 server.  I can open Crystal Reports on the server just fine, but I get HTTP 500 errors when I attempt to view a report hosted on that server via the web.
    As far as I can tell, the handler mappings in IIS7 are not configured properly, although I confirmed that the Crystal Reports 2008 install did add several handlers.  I read that I must configure the application pool to enable 32-bit applications.  I did that and am still getting the same error.  Documentation seems sparse and I've spent the better part of the day searching the forum here with no luck.  What am I missing?

    Don,
    Thank you for the quick response!
    We will ultimately be using ASPX/C#, but this simple case has a very basic report with no databind, just a single text label that reads "test succeeded" and I'm attempting to access it by direct URL (i.e. "http://192.168.99.21/crystalreportviewers12/test.rpt").  This works on our Windows 2000 server running Crystal Reports 8.
    I've also tested with a simple test.aspx file with only the line "Response.Write(System.DateTime.Now.ToString())" and that works just fine.  This file is in the same folder as the test.rpt file.
    If I leave the Application Pool set for the "Integrated" managed pipeline mode, I continue to get a rather generic "500 - Internal server error".  If I switch it to "Classic", I get the following error:
    Failed to Execute URL.
    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.Web.HttpException: Failed to Execute URL.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
    Stack Trace:
    [HttpException (0x80004005): Failed to Execute URL.]
       System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.BeginExecuteUrl(String url, String method, String childHeaders, Boolean sendHeaders, Boolean addUserIndo, IntPtr token, String name, String authType, Byte[] entity, AsyncCallback cb, Object state) +2004965
       System.Web.HttpResponse.BeginExecuteUrlForEntireResponse(String pathOverride, NameValueCollection requestHeaders, AsyncCallback cb, Object state) +390
       System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state) +223
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8674594
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155

  • Crystal Reports 2008 can't access R/3 queries

    Hi there,
    My company is in the middle of SAP implementation and our go-live is in 2 months. We don't have a BW system in place and are (for the most part) using the Standard SAP Reports available out of the box to facilitate the requirements of the different business users. But as we all know, there are always some reports that require customization. So, for that we decided to use Crystal Report 2008 (ver. 12.3.0.601) to design custom reports while accessing data from the Standard SAP Tables. I am able to access the Standard SAP Tables in R/3 (built on Oracle database) and the fields in those tables from the Crystal Report 2008 Database Expert option and have created an A/R Aging Report successfully. However, while working on my second report (GL Journal Entry By Invoice#) I am struggling to maintain and improve the query execution time since I am accessing data from huge standard FI-CO tables (BSEG, BSID, BSAD). Our 3rd party implementation team has already designed a custom report in R/3 that is available in all the clients using the T-Code in NetWeaver for the end users but it's missing some fields that the end users would need for go-live and it's not possible to ask the 3rd party implementation team to make the needed changes to the already customized report (for whatever reasons). And, that's why, I am asked to customize this report in Crystal. I suspect the execution time is so bad in Crystal because of lack of filtering of the data when I am pointing at the huge Standard Tables. I would have added some SQL clause and filters to bring in only the required fields from the table into the Crystal environment but I don't have that option since the R/3 system is sitting on Oracle. I have couple questions:
    1) Would it be advantageous to build the custom Crystal Report on top the custom R/3 report that is already in place since in the R/3 report I can create a default variant with the conditions I want and it gets executed every time I call it in Crystal giving me only the data I am interested in? And, is it even possible?
    2)  Why am I not able to see the R/3 custom report from the Database Expert option even though the report is accessible from NetWeaver? I am able to access all the Standard SAP Tables from Database Expert in Crystal 2008.
    And I forgot to add, we don't have an ABAP expert in house to create ABAP function modules that might help me filter the data in the R/3 system.
    Is there any suggestions that will get the job done? Am I doing anything wrong here?
    Sorry for the long story but I wanted to give you guys a full background of the issue.
    Any help will be greatly appreciated.
    -RBora

    RohitBora wrote:
    Hi there,
    > My company is in the middle of SAP implementation and our go-live is in 2 months. We don't have a BW system in place and are (for the most part) using the Standard SAP Reports available out of the box to facilitate the requirements of the different business users. But as we all know, there are always some reports that require customization. So, for that we decided to use Crystal Report 2008 (ver. 12.3.0.601) to design custom reports while accessing data from the Standard SAP Tables. I am able to access the Standard SAP Tables in R/3 (built on Oracle database) and the fields in those tables from the Crystal Report 2008 Database Expert option and have created an A/R Aging Report successfully. However, while working on my second report (GL Journal Entry By Invoice#) I am struggling to maintain and improve the query execution time since I am accessing data from huge standard FI-CO tables (BSEG, BSID, BSAD). Our 3rd party implementation team has already designed a custom report in R/3 that is available in all the clients using the T-Code in NetWeaver for the end users but it's missing some fields that the end users would need for go-live and it's not possible to ask the 3rd party implementation team to make the needed changes to the already customized report (for whatever reasons). And, that's why, I am asked to customize this report in Crystal. I suspect the execution time is so bad in Crystal because of lack of filtering of the data when I am pointing at the huge Standard Tables. I would have added some SQL clause and filters to bring in only the required fields from the table into the Crystal environment but I don't have that option since the R/3 system is sitting on Oracle. I have couple questions:
    >
    > 1) Would it be advantageous to build the custom Crystal Report on top the custom R/3 report that is already in place since in the R/3 report I can create a default variant with the conditions I want and it gets executed every time I call it in Crystal giving me only the data I am interested in? And, is it even possible?
    No - this is not possible; you can only report in Crystal against ECC tables, ABAP functions, and SAP Query/Infosets
    > 2)  Why am I not able to see the R/3 custom report from the Database Expert option even though the report is accessible from NetWeaver? I am able to access all the Standard SAP Tables from Database Expert in Crystal 2008.
    ABAP Reports are not a datasource in Crystal
    >
    > And I forgot to add, we don't have an ABAP expert in house to create ABAP function modules that might help me filter the data in the R/3 system.
    > Is there any suggestions that will get the job done? Am I doing anything wrong here?
    > Sorry for the long story but I wanted to give you guys a full background of the issue.
    >
    > Any help will be greatly appreciated.
    >
    > -RBora
    Hello,
    Those are some big tables to be reporting against in Crystal
    Have you considered creating an InfoSet using logical database BRM (Financial Documents) that could then be used to report against Crystal?
    We do use Crystal / SAP Query against the logical database BRM as an InfoSet and so far we haven't seen the performance issues you are describing.
    Also, have you considered upgrading to Crystal Reports 2011?  Not sure that it would help the performance issues you are describing.
    Regards,
    Tammy

  • Error in Crystal Reports 2008 Runtime Version = 12.2.3.467

    Dear Support Team
    <br />
    <br />
    I am making the setup for our application using InstallShield 2010.
    <br />
    <br />
    I recently updated the crystal reports 2008 runtime to version = 12.2.3.467.
    <br />
    <br />
    Based on this article
    <br />
    <br />
    <br />
    <br />
    Topic of the week (October 15, 2009)  
    <br />
    Date time field is blank when using ADO .NET dataset and Crystal Reports 2008, Service Pack 2.0
    <br />
    This is a new issue, very specific to CR 2008 and SP 2. Date time fields are stripped out of a report (or not
    <br />
    visible), if a report is consuming a .NET dataset which contains a date time field. A technical escalation has been
    <br />
    submitted and a work-around is detailed in note number 1392258
    <br />
    <br />
    <br />
    Since DateTime Column was not getting displayed in the deployment machine when running the report.
    <br />
    <br />
    So I downloaded the Crystal Report 2008 FP2.3 and merge module for the same and installed on my development machine
    <br />
    <br />
    where I am making the Setup.
    <br />
    <br />
    I am able to make the setup successfully without errors, but when I try to install the setup on the deployment machine I am getting
    <br />
    the errors as
    <br />
    <br />
    Error 1904.Module C:\Program Files\BusinessObjects\BusinessObjects Enterprise 12.0\win32_x86\CEReportSource.dll
    <br />
    failed to register
    <br />
    Same message pops up for N number of Crystal Dlls with message failed to register.
    <br />
    Even though as per article in your forums I am doing everything right.
    <br />
    I have correct Dll for VC++ 2005
    <br />u2022
    <br />
    Microsoft_VC80_ATL_x86.msm; version 8.0.50727.762
    <br />
    <br />
    u2022 Microsoft_VC80_CRT_x86.msm version 8.0.50727.762
    <br />
    <br />
    u2022 Microsoft_VC80_MFCLOC_x86.msm; version 8.0.50727.762
    <br />
    <br />
    u2022 Microsoft_VC80_MFC_x86.msm; version 8.0.50727.762
    <br />
    <br />
    u2022 Microsoft_VC80_OpenMP_x86.msm; version 8.0.50727.762 
    <br />
    <br />
    With exactly same versions as mentioned in the article.
    <br />
    <br />
    I followed the article in your forum
    <br />
    Building a deployment project with Crystal Reports 2008 (12.1.0.892) SP1
    <br />
    Posted on Mar. 09, 2009 08:22 AM in Business Objects
    <br />
    The same sort of errors is coming but I am doing everything right as per that article.
    <br />
    <br />
    To Inform you further before updating crystal reports 2008 runtime to version = 12.2.3.467.
    <br />
    <br />
    Everything was working fine, only problem was that Date Time column was not displaying at runtime on the deployment
    <br />
    <br />
    machine.
    <br />
    <br />
    With Regards
    <br />
    Arshad
    Edited by: arshhb on Dec 29, 2009 7:11 AM

    Dear Mr. Williams
    I dont think this is the issue related to MS Installer. Still based on your suggestion I downloaded the latest MS Installer from Microsoft Website and Installed on my setup machine and made the new setup with zero errors and warning.
    The deployment machine is having full rights and so there is no security issues  related to installation even though to clear the confusion I installed the setup on three other xp machines the result was same even after installing the latest MS installer on those machines as well.
    I wanrt to remind it again since I was facing the DATE TIME column Issue problem in reports on deployment machines so I updated the Crystal Reports TO CRFP 2.3 EXE AND MSM as mentioned in your forums regarding this known bug that if datetime column is getting from dataset then that column was not getting displayed.
    From that time onwards I am unable to install the setup on the deployment machines and I am getting errors unable to register errors crystal reports dlls.
    Apart from that I downloaded Crystal Reports 2008 Fix Pack 2.3 - Redist Install  (cr2008_fp23_redist.zip)  from the download page but i can't open it I am gettinig the error message doesnt appear to be a valid archive.
    Please help me and provide me some solution regardeing the issue I am stuck with.
    With Regards
    Arshad

  • Crystal Reports 2008 in Windows Vista x64 + IIS7 DOESNT WORK!!!!!! HELP!

    Hi,
    I´m developing an application with Microsoft Visual Studio 2008 and Crystal Reports 2008 Professional
    (i´m not using the Crystal Reports 2008 for .Net basic)
    As I have Windows Vista x64, my ASP.NET applications run under IIS7, but for my surprise, Crystal doesn´t work under Vista x64 + IIS7. I got the following error:
    An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http://www.businessobjects.com/support for more information.
    When I run the same routine in an Windows Application the error doesnt occur. It only happens under Web Applications.
    I tested in a Windows Vista 32 bit and there´s no error....
    Crystal Reports 2008 does not work in II7 x64 ?
    Is there any solution?
    Please.... help me!!!!!

    Hi Fernando,
    Please read and follow the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] for future topic posts as yours violates the current policy.
    You will need to build your application to run in 32 bit only mode. This note explains how to do it:
    [Set app to 32 bit mode|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    Jason

Maybe you are looking for