Quantcast
Channel: SCN: Message List - Java SDK Application Development
Viewing all 2284 articles
Browse latest View live

Re: IWebiProcessingInfo class in BOXI R4.1 with different signatures

$
0
0

Hi Prithvi,

 

Thanks!

Yes it has the same features.

 

Bernd


Re: BO SDK code for Universe

$
0
0

Hi,

 

To add Bhushan's point, there has been new features implemented in SL SDKs in BI 4.1 to that of BI 4.0. SL SDKs for BI 4.0 had limited features available.

 

To understand better download the developers guide for BI 4.0 and BI 4.1 from

http://help.sap.com

Navigate to Analytics-->Business Intelligence-->Business Intelligence Platform(Enterprise)

Select SAP BusinessObjects Business Intelligence platform 4.1 and navigate to Development Information.

Download

BI Semantic Layer Java SDK Developer Guide 4.1 SP 2

 

Follow the similar steps for SAP BusinessObjects Business Intelligence platform 4.0

 

The direct links to the guides are below

 

http://help.sap.com/businessobject/product_guides/sbo41/en/sbo41sp2_slsdk_java_dg_en.zip

http://help.sap.com/businessobject/product_guides/boexir4/en/slsdk_java_dg_40sp5_en.zip

 

Thanks,

Prithvi

Re: How to access structured properties like si_webi and si_universe

$
0
0

Thanx a lot prithvi ..

 

I will try this out..:)

Automating bulk WEBI report modification

$
0
0

Hi All,

My existing scenario as below,

Data contained in 1 single DB-1 (across n tables), 1 Universe existed (U1) & 1 webi document using U1 with many reports representing many KPIs.

(Many WEBI reports exist like above)

 

Now a new requirement,

Due to volume of data, there is a decision to distribute the data across 2 DBs or even 3 DBs. i.e., same schema would exist in 2/3 DBs with different data set. So, all existing reports may need to support data retrieval from 2 or 3 DBs instead of 1(as earlier)

 

Current Plan:

1. Create 1 universe per DB (i.e., same copy per DB)

2. Create copy of every existing report & modify new report to replicate everything from existing report but obtain from 2 or 3 universes (instead of 1)

 

Questions:

1. Since there are many reports looking for suggestions to possibly auto the above plan. Is it possible to automate with webi Java SDK? any possible issues?

2. Any other way possible to achieve same result but easier than the 'current plan'?

 

Thanks in advance for any possible directions.

 

Best Regards,

Baskar

Re: BO 4.0 Binding error

$
0
0

Dear Jerome,

 

did you find out where was the problem?

 

Thx for reply.

 

Roman

Reading and transforming streaming XML Data in JAVA

$
0
0

Hello

I am Developing a JAVA application to read and transform XML data from oracle database and storing it in HANA.

 

Developing applications to read and transform XML data from oracle database and storing it in HANA. So the steps involves

 

1.    1.   Reading a table which has a Blob field contain an XML

2.     2.  The idea is to take all the Attributes , values and its xpath from the XML and  putting it in a table in HANA.

3.     3.  It involves applying XSLT transformation on the XML to transform it to a simple name –Value pair.

4.     4.  I have written a code in JAVA for this purpose but it is not efficient. Since I am using the local file system to read the XML and then writing the result back into the local file.

5.      I want to check if I can apply XSLT transformation on streaming XML read from the database and directly store the result back into HANA DB.

Is   Is there any JAVA API which can help me achieve. The JAVA Transformer API's take XML as a file as input type. So that does'nt help me.

 

B   Best Regards

 

Ph   Phani

Re: Java SDK for Data Services 4.0?

$
0
0

do you have solved your problem,can you tell me the method.thank you.

ERROR reports.reportdefinition : com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length

$
0
0

I have developed Java web application which uses Crystal Report 2013 , java 1.6 , Windows 32 bit System, All the reports are loading fine in the Following environment

 

Development Environment

 

Windows7 Professional Service pack 1 -32 bit

Java - 1.6

Internet Explorer 11

Oracle Client 10g 32 bit ODBC driver

 

 

Testing Environment

 

Windows Server 2008 R2 Enterprise - 64 bit

java 1.6

Internet Explorer 9

Oracle Client 11g 62 bit ODBC driver

 

While loading reports in the 64 bit server the error occurs

 

ERROR reports.reportdefinition :  com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length

ERROR dataengine.datasource : Failed to read next recurring database record: database row set error.

com.crystaldecisions.reports.reportdefinition.datainterface.j: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length

    at com.crystaldecisions.reports.reportdefinition.datainterface.q.a(Unknown Source)

    at com.crystaldecisions.reports.dataengine.n.m(Unknown Source)

    at com.crystaldecisions.reports.dataengine.n.l(Unknown Source)

    at com.crystaldecisions.reports.dataengine.n.bn(Unknown Source)

    at com.crystaldecisions.reports.dataengine.n.bp(Unknown Source)

    at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)

    at com.crystaldecisions.reports.dataengine.s.a(Unknown Source)

    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)

    at com.crystaldecisions.reports.dataengine.bk.ab(Unknown Source)

    at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)

    at com.crystaldecisions.reports.dataengine.bk.if(Unknown Source)

    at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.a(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.h(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.objectformatter.i.h(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.for(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bf.a(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.objectformatter.ca.a(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.objectformatter.a9.a(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.e.m.a(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.e.m.for(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.e.p.void(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.e.p.aE(Unknown Source)

    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)

    at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)

    at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)

    at com.businessobjects.reports.sdk.b.b.int(Unknown Source)

    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)

    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)

    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)

    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)

    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)

    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)

    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)

    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)

    at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)

    at com.erm.controller.ALMReportsController.queryDll(ALMReportsController.java:1681)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:471)

    at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:408)

    at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)

    at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)

    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)

    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)

    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)

    at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:838)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)

    at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at com.erm.authentication.HttpSecurityFilter.doFilter(HttpSecurityFilter.java:658)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)

    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)

    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)

    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)

    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

    at java.lang.Thread.run(Unknown Source)

Caused by: com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length

    at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)

    at com.crystaldecisions.reports.queryengine.ap.if(Unknown Source)

    at com.crystaldecisions.reports.queryengine.l.bN(Unknown Source)

    at com.crystaldecisions.reports.queryengine.ap.eg(Unknown Source)

    at com.crystaldecisions.reports.queryengine.ap.e(Unknown Source)

    at com.crystaldecisions.reports.queryengine.b2.f(Unknown Source)

    at com.crystaldecisions.reports.queryengine.b2.dy(Unknown Source)

    ... 89 more

Caused by: java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid string or buffer length

    at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)

    at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)

    at sun.jdbc.odbc.JdbcOdbc.SQLGetDataString(Unknown Source)

    at sun.jdbc.odbc.JdbcOdbcResultSet.getDataString(Unknown Source)

    at sun.jdbc.odbc.JdbcOdbcResultSet.getBigDecimal(Unknown Source)


Re: ERROR reports.reportdefinition : com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length

$
0
0

I'm not sure whether there is a 64-bit version of the Crystal SDK for java.  Crystal Reports itself is a 32-bit application.  I would try using a 32-bit ODBC connection instead of the 64-bit connection to see whether that solves your problem.

 

-Dell

Re: ERROR reports.reportdefinition : com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length

$
0
0

A few things to note:

 

1) Crystal Report 2013 doe snot install any SDK. Thus the assumption is that you are using CR from teh following link:

SAP BusinessObjects - SAP Crystal Reports, Version For Eclipse Download

 

2) Since you are using a 64 bit connection (Oracle Client 11g 62 bit ODBC driver) you will have to make sure you are using 64 bit JVM. Otherwise, follow Dell's advice and use a 32 bit ODBC datasource.

 

3) On one test you are using Oracle Client 10g 32 bit ODBC driver and the other you are using Oracle Client 11g 64 bit ODBC driver. You might want to see if you can run your app using Client 11g 32 bit ODBC driver.

 

 

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

32-bit 4.1 SDK DLLs with 64 bit DSN

$
0
0

Trying to retrieve a UNX universe using the 4.1 Semantic Layer SDK.

Apparently, we need to use the 32 bit DLLs if the universe is uses a

32-bit ODBC DSN. It fails if we are using 64 bit DLLs.

 

Question is:

    If a UNX universe is using a 64 bit db and DSN, does it require that we

    use the 64 bit SL SDK DLLs to retrieve metadata? Or can this be done

    using the 32 bit DLLs.

Internal error publishing Crystal report to BOE 3.1

$
0
0

Trying to add a Crystal report to a BOE 3.1 server, via a JSP page, but it keeps failing with an internal error.  Currently I am using code that came directly from a published example, but the jsp always fails when it gets to the boInfoStore.commit.

 

Current error message is

An internal error occurred. An error was encountered. A description of the error

is as follows:

com.crystaldecisions.sdk.occa.managedreports.reportadd.internal.b: Adding

Crystal Report "TestUpload.rpt" failed. An internal error occurred.


I searched extensively and found people with similar errors due to version errors in required jar files, but I have checked extensively and I am sure all the jar files are in sync with the server, which is 3.1 SP6.

 

When I take the exact same java code and copy it into a program object, I can run it successfully, it just won't run when called from jsp.  Any suggestions?

 

A copy of the test jsp page is attached.

SAP BI 4 SDK vs Desktop Document

$
0
0

Hello,

 

For large conversion and non regression project, we need to know is there a way to compare results from Desktop Intelligence Document and the converted document in Web Intelligence ? We aren't sure that the sdk

 

Regards

Laurent

Re: SAP BI 4 SDK vs Desktop Document

$
0
0

This is not really something that you can do with the SDK.  I would do something like exporting both to Excel and use that to do the comparisons.

 

-Dell

Need help with simple report built in CR in Eclipse

$
0
0

I'm using the Java SDK in Eclipse to be able to leverage a function that does not appear to be native in Crystal Reports - auto refresh.  Looking at the SDK, it appears straight forward to create a viewer on an existing report (built via Crystal Reports) and then refresh the data in a loop.  First glance at the SDK it appeared CrystalReportViewer would be the right class, but I didn't find that in the CR Java Runtime Library that comes with cr4e download.  So, I used ReportViewerBean, at least to prove out the concept.  Here's the prototype code (high-level), using the bean:

 

public static void main (...) throws ReportSDKException

     ReportViewerBean viewer = new ReportViewerBean();

     viewer.setReportSource(path to the .rpt file);

     viewer.init();

     viewer.start();

     while (...) {

          viewer.refreshReport();

}

 

What else is needed to display the report?

 

Thanks,

Roger


Need help on PDF and Excel download using BO SDK (Version BOXIR3)

$
0
0

Need help on PDF and Excel download using BO SDK (Version BOXIR3). When we run the report in Rich Client it refreshes in only 12 Sec. But when we execute the SDK code written for downloading Excel/PDf output of same report, it takes around 45 sec. i.e. 3 times more time. Can some one help in improving the performance of the SDK code. The SDK code that we use is very basic code. Report has few prompts and these prompts have been included in the SDK code. We call and execute the SDK code from another application and pass the values of prompts in it.

Re: Need help on PDF and Excel download using BO SDK (Version BOXIR3)

$
0
0

There may not be anything that can be done for this.  Here's how things work:

 

When you view a report in Rich Client, everything is processed inside Rich Client which does a couple of things:

 

1.  Renders the pages as HTML instead of converting to Excel or PDF.

 

2.  Shows the first page as soon as it's ready, even though it may be processing the rest of the pages.  This is part of why you see the report so quickly.

 

When you export a report through code, not only does the code have to take the time to convert the report to a different format, it has to render ALL of the pages in the report prior to the export.  This is the part that is probably taking longer.

 

-Dell

Re: Display 4000 character string in Crystal Report Viewer using crystal reports XI

$
0
0

You mention Crystal Reports XI viewer. This, to different people, means different things:

 

Viewer:

 

Crystal Reports Designer viewer?

The free download of the Crystal Reports viewer?

Crystal Reports viewer invoked via an SDK (.NET or Java)?

Viewer invoked via BOE / BI?

 

 

Crystal Reports XI:

 

Meaning - Crystal Reports version 11.0.x, 11.5.x, 14.0.x or even possibly 14.1.x?

 

 

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow us on Twitter

Re: Display 4000 character string in Crystal Report Viewer using crystal reports XI

$
0
0

Hi Ludek,

 

Please find my answers below.

 

I am using Crystal Reports XI with version 14.0.6.1036RTM. This report is invoked from Java Web application.

We haven't seen any issue while reviewing preview from crystal report designer. However it is showing junk values while calling the rpt file from Web app.

 

Thanks,

Nagamani

Re: Display 4000 character string in Crystal Report Viewer using crystal reports XI

$
0
0

Hi Don,

 

I am using CR XI, version -14.0.6.1036 with Oracle 11g.

It is a java web application and I am using JDBC to connect to database.

 

Thanks,

Nagamani

Viewing all 2284 articles
Browse latest View live


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