Hi All,
I have a requirement to open a crystal report and read it's contents for dynamic recipients. The current code has been written for Crystal Reports 2011 and I'm trying to convert it to work for Crystal Reports for Enterprise. Please have a look at the code and suggest changes for the new design.
IReportAppFactory | oReportAppFactory | = (IReportAppFactory) oEnterpriseSession.getService("RASReportService"); |
ReportClientDocument oReportClientDocument | = oReportAppFactory.openDocument(oDynRec, 0, Locale.ENGLISH); |
InputStream | isInputStream | = (InputStream) oReportClientDocument.getPrintOutputController().export(ReportExportFormat.characterSeparatedValues); |
P.S: I have gone through the SAP Note 1697619 - Opening crystal report for enterprise from RAS SDK in BI 4.0 gives error CRSDK00002515
The note doesn't provide the alternate solution/script. I would really appreciate it if anyone can help me out with this scripting.
Thanks & Regards,
Vijay