Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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()





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


Edited by: Gianluca D'Alessandro on Jun 22, 2010 5:00 PM

Former Member
Not what you were looking for? View more on this topic or Ask a question