BO4 Upgrade issue

Hi

While upgrading ReportEngine related Java code written for BO2 to BO4, I am facing an exception::

com.businessobjects.sdk.core.exception.common.NotImplementedException: This feature is not implemented. (Error: RWI 00013)
at com.businessobjects.sdk.core.exception.ExceptionBuilder.make(ExceptionBuilder.java:144)
at com.businessobjects.sdk.core.exception.ExceptionBuilder.make(ExceptionBuilder.java:115)
at com.businessobjects.rebean.wi.internal.WIDocumentInstance.getStructure(WIDocumentInstance.java:219)

As per, RE SDK documentation, This ReportStructure is no longer supported.

BO2 Code is -

Reports reports = reportInstance.getReports();
ReportStructure reportStructure = reportInstance.getStructure();
ReportElement reportElement = reportStructure.getReportElement(tabId);
 
ReportContainer repoContainer = (ReportContainer) reportElement;
ReportBody repoBody = repoContainer.getReportBody();
ReportBlock reportBlock = null;
 
 
  for (int i = 0; i < repoBody.getReportElementCount(); i++) {
  if (repoBody.getReportElement(i) instanceof ReportBlock) {
  reportBlock = (ReportBlock) repoBody.getReportElement(i);
  break;
  }
  }

Can you please suggest corresponding BO4 code?

Thanks!


sentiboy (BOB member since 2012-08-01)

The observation you see is just that: It’s not implemented and therefore you cannot port your existing code that deals with this part of the API, to BI4.

Get in touch with your SAP account exec. to learn of possible roadmaps that might provide better guidance in what you’re trying to do.

Hope this helps.

Atul


Atul Chowdhury (BOB member since 2003-07-07)