on 01-24-2019 7:42 AM
I use crystal report Java API (com.crystaldecisions.sdk.*) to generate a report. When the request exceed to call the method(reportAppFactory.openDocument), no response after long time, the same code is working well on
SAP BusinessObjects BI Platform 4.2 Support Pack 5(Version: 14.2.5.2618),
but not working on(Product: 12.1.0)
the code:
IInfoStore iStore = (IInfoStore) enterpriseSession.getService("InfoStore");
logger.info("Token::::::" + getSapBOConnection().getToken());
IInfoObjects reports = iStore.query(StringUtils.getStringUtil.getStringWithParams(query, params));
if (reports == null || reports.size() == 0)
return null;
IInfoObject report = (IInfoObject) reports.get(0);
IReportAppFactory reportAppFactory = (IReportAppFactory) enterpriseSession.getService("RASReportFactory");
ReportClientDocument rcd = reportAppFactory.openDocument(report, OpenReportOptions._openAsReadOnly,
java.util.Locale.getDefault());
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.