Quantcast
Channel: SCN : Unanswered Discussions - BI Platform
Viewing all articles
Browse latest Browse all 5661

BO XI3.1 ReportEngineType.FC_REPORT_ENGINE error

$
0
0

Hi all,

    I'm using this simple code below to open a WebItelligence and a Desktop Intelligence Document :

 

infoObject = (IInfoObject) infoObjects.get(0);  String kind = infoObject.getKind();  if (kind.equalsIgnoreCase("Webi")){  // Retrieve the Report Engine for Web Intelligence documents  wiRepEngine = (ReportEngine) getReportEngines()  .getService(ReportEngines.ReportEngineType.WI_REPORT_ENGINE);  }else if (kind.equalsIgnoreCase("FullClient")){  wiRepEngine = (ReportEngine) getReportEngines()  .getService(ReportEngines.ReportEngineType.FC_REPORT_ENGINE);  }  Request qr;  Set<Request> listQr;  DocumentInstance widoc = wiRepEngine.openDocument(infoObject.getID());  widoc.refresh();  boDataProviders = widoc.getDataProviders()
;

The function openDocument works for WebIntelligence document but nit for deski document.

il return me the following error:

Unable to instantiate ReportEngine


Which function can I use in this case??



Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>