Symptom
-
The following code is used in an attempt to view a DESKI report:
String sampleReportName = "Report1";
SessionMgr sessionMgr = new SessionMgr();
EnterpriseSession enterpriseSession = sessionMgr.Logon("user", "pass", "boxi", "secWinAD");
InfoStore infoStore = (InfoStore)enterpriseSession.GetService("InfoStore");
InfoObjects infoObjects = infoStore.Query("Select SI_ID From CI_INFOOBJECTS Where SI_NAME ='" + sampleReportName + "' And SI_INSTANCE=0");
InfoObject infoObject = infoObjects[1];
EnterpriseService tempService = enterpriseSession.GetService("", "RASReportFactory");
ReportAppFactory reportAppFactory = (ReportAppFactory)(tempService.Interface as ReportAppFactory);
ReportClientDocument reportClientDocument = reportAppFactory.OpenDocument(infoObject.ID, 0);
- This results in an error on the last line of the above code:
No such interface supported
Read more...
Environment
- BOXI 3.1
- VS 2008
Product
SAP BusinessObjects Enterprise XI 3.1
Keywords
KBA , BI-DEV-NET-IV , .NET InfoView/BI launch pad , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview