Problem Crystal Report on SAP 8.8

Hi all!
I need to modify an addon developed for SAP2007 so that it works even on SAP 8.8. Now, i have an error when i try to show a report made with Crystal Report. I know that in SAP 8.8, Crystal Reports are seamlessly integrated in the core product. The addon source code that generates the error is as follows:
  If File.Exists(sReportName) Then
                Dim oeng As New SAPObjects.Engine
                Dim f As New frmReportViewer(SBO_Application)
                Dim rDoc As CrystalDecisions.CrystalReports.Engine.ReportDocument
                rDoc = New CrystalDecisions.CrystalReports.Engine.ReportDocument()
                rDoc.Load(sReportName)
                rDoc.SetDataSource(dsReport)
                f.VisualizzaReport(rDoc)
                oeng.ShowDialogSapWindow(f)
End If
The error is returned when you try to initialize the object rDoc (The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception).
I linked to the project the following references:
- CrystalDecisions.CrystalReports.Engine
- CrystalDecisions.Enterprise.Framework
- CrystalDecisions.Enterprise.InfoStore
- CrystalDecisions.ReportSource
- CrystalDecisions.Shared
- CrystalDecisions.Windows.Forms
Thanks.
Edited by: Gianluca D'Alessandro on Jun 22, 2010 5:00 PM

Hi,
Instead try it after installing all the pre-requisite softwares which you are doing with SAP 2007.
thanks:
Sandy

Similar Messages

  • Crystal report for sap business one problem

    Hi experts,
    I am facing problem while dealing with crystal report 2011.
    I installed sap b1 8.8 pl 10, then upgraded to pl 20. Now again upgraded to 9.0 pl08. Then i installed SAP Crystal Report for SAP Business One 2011.
    I seems that it is not integrated to SAP Business One, because i am not able to save my crystal layouts in sap business one.
    How can i resolve this issue, please let me know if anyone faced same kind of problem and got solution for that.
    Thanks

    Hi
    1758302 - Error while connecting to Crystal
    1397692 - Error when starting Crystal Reports software
    Thanks
    Mohammad Imran

  • Problem while importing a Crystal Report in SAP Business One

    Hi Experts,
                        I am facing a problem while importing a Crystal Report in SAP Business One, it displaying an error  "No matching records found  'Queries' (OUQR) (ODBC -2028)  [Message 131-183]" , and there is no use of this table OUQR  in the Query.
    Kindly let  me know the solution.
    Regards
    Rahul Singh

    Hi Rhaul,
    i don't exactly know why this is a problem, but if your not on latest (881 p10) then upgrade and try again.
    Or as a workaround,
    try saveing from CR to SAP with the CR add-on. That usualy works better then the import.
    Regards,
    D

  • Problem when trying to print standart invoice crystal report for SAP

    Hi All, I have the following problem when trying to print a system invoice report in crystal reports for SAP
    I pass params and load the report using this code
    Private Sub DisplayThreadReportSeq()
    Dim oView As New frmViewReport
    Dim strReportPath As String = ""
    Dim strParamName As String = ""
    Try
    Dim CR As New ReportDocument
    CR.Load(oReport.CrstPath)
    ' Declare the parameter related objects.
    SetReportValues(CR)
    Dim crParameterDiscreteValue As ParameterDiscreteValue
    Dim crParameterFieldDefinitions As ParameterFieldDefinitions
    Dim crParameterFieldLocation As ParameterFieldDefinition
    Dim crParameterValues As ParameterValues
    ' Get the report's parameters collection.
    For Each oPar As cslParam In oReport.Params
    crParameterFieldDefinitions = CR.DataDefinition.ParameterFields
    crParameterFieldLocation = crParameterFieldDefinitions.Item(oPar.ParName)
    crParameterValues = crParameterFieldLocation.CurrentValues
    crParameterDiscreteValue = New CrystalDecisions.Shared.ParameterDiscreteValue
    crParameterDiscreteValue.Value = oPar.Value
    crParameterValues.Add(crParameterDiscreteValue)
    crParameterFieldLocation.ApplyCurrentValues(crParameterValues)
    Next
    If pPrint Then
    If oReport.Printer "" Then
    CR.PrintOptions.PrinterName = oReport.Printer
    End If
    CR.PrintToPrinter(IIf(oReport.Copies = "", 1, oReport.Copies), False, 0, 0)
    SBO_Application.StatusBar.SetText("Printed Document Successfully", SAPbouiCOM.BoMessageTime.bmt_Medium, SAPbouiCOM.BoStatusBarMessageType.smt_Success)
    Else
    oView.Text = pReport
    oView.TopMost = True
    oView.Viewer.ReportSource = CR
    oView.Hide()
    oView.ShowDialog()
    End If
    Catch ex As Exception
    Util_GenErrorLog("DisplayReport", ex)
    End Try
    End Sub
    This code works fine when the report invoke to print is developed in crystal reports version for .net 2008 or .net 2005
    when trying to print a report standart getting from SAP BO 8.8.1 using this code I getting the following error:
    Error in File C:UsersecombaAppDataLocalTemp5ARInvoiceStandartSap {300B9A68-DF05-4D7B-8F3B-1670A4493BEE}.rpt:
    Error in formula .
    'Shared numberVar SectionTotalMaxHeght;
    A number, currency amount, boolean, date, time, date-time, or string is expected here.
    This report is the standart report that SAP 8.8.1 includes and works fine on SAP.
    I referenced this dlls CrystalDecisions.CrystalReports.Engine.dll, CrystalDecisions.CrystalReports.Shared, version 10.2.3600
    How I can get these dll´s version for Crystal Report 2008 for SAP Business one or How I can solve this problem
    thanks in advance,
    Ezequiel.

    Hi Ezequiel,
    You can try to search in SAP Business One Reporting & Printing forum section or post there.
    nd.Q

  • Problem opening Crystal Report from SAP GUI through VPN

    Hi Everyone,
      I am facing an issue with opening the crystal report from SAP BW Role menu(SAP GUI). The issue is only with the BW Users who are connecting to the Client systems through VPN. All the settings are done perfectly in the Transaction /CRYSTAL/RPTADMIN and SICF for the CE_URL.
    For those who are in the client network it works fine. Please see the URLs generated in both the cases,below.
    From Client N/W
    [http://sapbobj:8080/SAP/jsp/Action_Dispatch/dispatch.jsp?sap_client=100&cmsname=sapbobj:6400&language=EN&sap_sysid=D40&bw_id=4HUFYJ3XBZ7QLP5HIDYPR7PR6&sap-client=100&actionName=SAP_CrystalReport_View&appKind=InfoView&service=%2FInfoViewApp%2Fcommon%2FappService.do&loc=&initialFolderId=null]
    Through VPN
    [http://sapbwd.abc.com:8100/sap/bw/ce_url?(ce_protcl):(DS)(ce_server)/(ce_path_pr)/viewreport.csp(Q)bw_id=4HUPI3I78CG4S4EDH7XSDP736&sap_sysid=(sysid)&sap_client=100&language=EN&sap-client=100]
    where "sapbobj" is the BOBJ system and "sapbwd" is the SAP BW Dev box.
    For me it seems to be something related to the N/W. Please provide me your valuable inputs to solve this issue.
    Thanks in Advance,
    Koka M
    Edited by: Madan Koka on May 19, 2010 5:18 PM

    Hi,
    I'm also facing the same issue. when try to open my report the URL doesn;t taking "bw_id".
    It is blank for all transported reports.
    Any advice..
    Thanks,
    Jothi

  • Print Preview using crystal report in SAP B1 slow.

    Dear all,
    I face another problem. Print preview using crystal report in SAP B1 is very slow. Although i have create a query view in SQL server but it's still slow for my user. First time i create using table in crystal report. just drag the table. It's take more than 10 minutes. After that i move all the query to view in SQL server , it's take 1-2 minutes to print preview some time more.. But i think that it's still slow. Does any one know how to print preview fast. Just like in PLD.
    Thanks in advance
    bodhi86

    Hello,
    How do you answered to this question ?
    Malika
    Edited by: Malika Sanoune on May 13, 2011 1:48 PM

  • Print preview using crystal report in SAP B1 is very slow.

    Dear all,
    I face another problem. Print preview using crystal report in SAP B1 is very slow. Although i have create a layout in AR invoice form  and applying the print sequences (ie 4 prints). Does any one know how to print preview fast. Just like in PLD.
    Thanks in advance
    Kamlesh Naware

    Hi,
    Basically Crystal report run with SQL statement, I would suggest to do well performance tuning on SQL query / Store Procedure.
    Structure your query in DBA manner that will make some how faster such as use ( inner join, less condition,...)..
    also if it simple query then use Command in Crystal report rather store Procedure..that make some how Faster your report.
    Thanks
    Kevin
    Edited by: Kevin Shah on May 27, 2011 4:21 PM

  • Connecting Crystal Reports to SAP BW BEx query

    Post Author: mfrank
    CA Forum: Data Connectivity and SQL
    We have used Crystal Enterprise 8.5 to connect to an SAP BW BEx query in the past, however we are having some difficulties.  Rather than trying to upgrade our old CE system, I've been told that we should be able to connect Crystal Reports (2008?) directly to the BW BEx query.  I've been trying to accomplish this, but can't seem to find any drivers that will allow the connectivity.  When I try to set up a connection using OLAP, the only two options listed are Hyperion and Microsoft OLAP.  I have an old version of Brio Query (now Hyperion, now Oracle) that does show up with a driver for BW, but this doesn't show up in my Crystal options.
    Can someone give me some advice as to how to connect Crystal Reports to SAP BW?  I realize there are licensing issues with running live data without using Crystal Enterprise (or later BO products), but I'm just looking to print a report to a PDF.
    Thanks

    Post Author: A Kumar
    CA Forum: Data Connectivity and SQL
    Hi mfrank,
    I am also facing a similar kind of a problem. Did you get any solution to your problem. If yes, kindly let me know.
    Thanks
    A kumar

  • Crystal reports 2013 , SAP MDX Driver not able to connect with BW BEX Query

    Hi All,
    We just installed Crystal 2013, and want to create crystal report on SAP BW CUBE/BEX Query through SAP MDX Driver.
    1.When start connecting through SAP MDX Query option from new connection , SAP Systems which are in SAPLOGON are not appearing in initial screen. where as from OLAP Connection we are able to connect to SAP BEX Query.
    2.Even from SAP Tool kit we are not able to connect to BEX query, we are getting ERROR MESSAGE.
    and we are using SAP BI BO PLATFORM 4.1 sp01 .
    Please suggest me , if I am missing any configuration settings.
    Regards,
    Joseph

    Hi Joseph,
    Before you start building the report, make sure the right transports have been loaded on the SAP System. The right Transport files are the ones found inside the installation zip you download from SAP's server. They're under the "Collaterals\Add-Ons\SAP\Transports" folder.
    For more info on Transports, authorizations etc, please have your BASIS admin go through this wiki:
    Crystal Reports 2008 and BW - Installation and Configuration - Business Intelligence (BusinessObjects) - SCN Wiki
    To resolve your first issue, please follow the steps from this thread:
    Problems with SAPLogon.ini for SAP GUI and Crystal 2011
    P.S: Crystal Reports for Enterprise 4.1 does a better job at handling BEx queries that the CR 2013 designer. It directly connects to BEx queries via the BICS connectivity driver and doesn't need the Transports to be there on the SAP System. You might want to give this flavour of CR a try too.
    -Abhilash

  • Add web element in Crystal report for SAP system

    Hi all,
    I have added web element in Crystal report for SAP system (BI or R/3) . But it does not show the control. It shows only scipt.It does not render the HTML.
    But if I add the webelement for Excel sheet ,It shows the control.
    How can I add web element for SAP System? Can't we use web controls in SAP system ?
    Help me in this regard.

    Hi All,
    i have the same issue on crystal report add-ins. Have you able to solve this without upgrading our sap business one to the latest version or patch level? Please see details below.
    OS: MS Windows 7 SP1
    SAP Business One 8.82 pl7
    Crystal report 2011
    Crystal report integration package installed under B1_SHare/Client
    But still the problem persist on the workstation.
    Please help me solve this problem.
    Thank you,
    ana

  • Error while trying to open crystal report with SAP B1 8.8

    Hello Experts
        I found one problem when I open my Crystal Report from SAP B1 8.8 then it gives me error like
       "Failed to retrieve data from database.  Details : [Database Vendor Code : 156]"
       This report perfectly work while open in crystal report outside from SAP.    
    Waiting for your replies...
    Hepil Doshi

    Dear Experts,
    I face the exactly same problem, please forgive if i am not suppose to ask the same question in other people thread.
    I am using SAP 8.8, PL09, SQL Server 2005, the Crystal Report is working perfectly after import into SAP B1.
    However, when i do the same configuration in my customer server, the error message prompt:
    Failed to retrieve data from the database.
    Detail: [Database Vendor Code: 156]
    Failed to retrieve data from the database.
    Error in File Temp {8090e857-e2a3-4fa9-80dc-9e776e5991b8}{0912E6A5-88EF-406C-BD89-0155AE10F045}.rpt:
    Failed to retrieve data from the database.
    Detail: [Database Vendor Code: 156]
    The server is using SAP 8.8, PL09, with SQL Server 2008.
    Could it be some setting require for SQL Server 2008?
    Please advice.
    Thanks.
    Regards,
    Lay Chin

  • UNABLE TO IMPORT CRYSTAL REPORT IN SAP B-1

    Hi all!
    I am using Crystal Report 2008 for SAP B1 8.8, Currently I am not able to import any .RPT file to SAP-B-1,
    I has a problem a about crystal report 2008 SAP with SAP B1 8.8 cannot imported as "Report", if imported as "layout" crystal report working fine, any solution for this, i'am using SAP 8.8 PL 13
    did any body now the solution?
    Thanks
    DINESH CHANDRA

    Hello, Sorry you have the wrong forum and I can't move it to the B1 forum.
    /community [original link is broken]
    Thank you
    Don

  • How to delete all the crystal reports from SAP B1 ?

    Dear Experts,
    I have one problem and I need to Delete all the Crystal PLD's and Crystal Reports from SAP B1.
    I can delete a PLD or Report using delete option from Report and layout manager or layout designer.
    But I need to select delete option for each PLD and It makes very time.I have some 200 Reports and I need to delete fully.
    Is there any possible to multi delete option in SAP B1?
    I have searched many but i will not receive proper solution. Any one can explain how to do This?
    Thanks ,
    Karthikeyan.P
    MSBI Developer-Chennai

    Dear Karthikeyan,
    Manual deletion is actually the most safe way to delete them. If you try update B1 tables directly, you are against SAP support rule.
    Thanks,
    Gordon

  • Crystal Reports and SAP BW Connectivity for OLAP

    Hello,
    Anybody created Crystal reports off SAP BW Infocubes? For some reason I am not able to create or configure BW sever connection. I installed Crystal reports and SAP enhance cd for OLAP.
    Thanks
    Tom

    Hello,
    I was able to connect and create Crystal report based on Bex query..no connection problem there. But, reporting directly off infocubes, the server type "SAP Business Information Warehouse"(add server option in OLAP connection Browser) not showing up in list of values.
    1. I released Info query for PLE DB for OLAP as per 
       user's guide.
    2. The manual says you have to configure SAP BW server  
       log on? For Bex query(Crystal) all available servers
       automatically available
    Thanks

  • How to add/create additional page in Crystal Report Layout SAP B1

    Hi,
    I wanna ask about How to add/create additional page in Crystal Report Layout SAP B1 ?
    I want when user print Purchase Order then on last page also print some page like Penalty Clause etc.
    Pls help me to find the solution.
    Br,
    Thomas Marsetyo

    Hi,
    In your report footer, set it to create a new page before it is printed (In 'Section Expert', select the Report Footer -> 'Paging' tab -> Check 'New Page Before' checkbox). Throw your Terms & Conditions into the Report Footer section.
    If you already have a Report Footer that you want to keep, just split the footer into two sections (Right-click the Report Footer section -> 'Insert Section Below') and follow the same procedure for the newly created section.
         Check this Link
    http://stackoverflow.com/questions/9232239/adding-an-additional-page-to-end-of-a-crystal-report
    http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=18960
    Regards,
    Manish

Maybe you are looking for

  • Help needed to display Values one below the other

    Hi Experts, I am having three characteristics among eight others whose values are to be displayed in BEx Analyzer. These three characteristics values are line items whose values are being displayed side by side. Now, I want them to be displayed one b

  • Does the new shuffle read foreign languages?

    Specifically - Chinese - Korean All my songs are Chinese and Korean, so I'm wondering if it will announce those characters.

  • Problems launching photoshop - can anyone help?

    It was fine on Saturday and I haven't done much with one my mac since then. Then today photoshop wont open up. This is the report : Process:     Adobe Photoshop CS5 [225] Path:        /Applications/Adobe Photoshop CS5/Adobe Photoshop CS5.app/Contents

  • New iTunes not working with iPad

    I updated iTunes and now when I plug into my computer I get the message " thisiPad cannot be used because the required software is not installed. Run the iTunes installer to remove iTunes then install iTunes again." But if I do that will I loose all

  • Need help choosing a hardware color calibrator

    I'm in the market for a hardware color calibrator for my Cinema display and MBP. These are the ones I'm looking at. Spyder3 Pro, EyeOne LT and Huey Pro. Any comments or recommendations would be appreciated. thx lenn