Skip to Content

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

BOXI API does not respect the filter to limit number of records displayed.

Support Case for BOXI

Title: BOXI API does not respect the filter to limit number of records displayed.

BOXI version: Business Objects boe XIR2 SP2

OS: PARISC HPUX 11.11

Description:

In the report, there is a filter to limit the number of SLAs in u201CBottom 10 SLAsu201D to be <=3.

It works correctly while viewing the report using InfoView web interface. The total is 5 and in the upper table shows only 3.

However the filter is not work in the API. The report is generated by using BOXI API, the java code is listed at the bottom for your reference.

I confirm by checking the output, the result from API does not respect the filter as it did in InfoView web interface.

-


import com.businessobjects.rebean.wi.*;

DocumentInstance doc = serverSession.getDocumentInstance(getDocumentName(), repoType);

// -


Get generated HTML -


ReportImpl rep = (ReportImpl) doc.getReports().getItem(0);

rep.setPaginationMode(PaginationMode.Listing);

rep.setReportMode(ReportMode.Viewing);

m_boHtmlDoc = getHTML(rep);

protected String getHTML(ReportImpl rep)

throws ReportErrorException {

XMLView vx = (XMLView) rep.getView(OutputFormatType.XML);

byte[] xml = getBOXML(vx);

ByteArrayOutputStream html

= transformBOXMLtoHTML(xml, rep.getDocument());

return getString(html);

}

Any one who encountered this before? From my side I think it is a bug, so I post this message asking for help and hope it can be fixed soon.

I can send you screen shot if needed, thanks!

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