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

Re: The system cannot find the path specified---- Error code:-2147467259 Error code name:failed

$
0
0

Prithvi,

 

Verify on First Refresh option is already checked. Any other options i need to set?

 

 

Thanks,

Bharath


Re: The system cannot find the path specified---- Error code:-2147467259 Error code name:failed

Re: BO4.0 openDocument:please wait while the document is being processed

$
0
0

Hi Rajarsh,

 

For the issue above, last few days I deployed the portal site to our BO server, the issue has been solved.

So there is a question, we must deploy the portal site in BO server??? can't deploy it to a independent server??? thanks in advance.

Re: Run custom (SDK) applications from my local machine

$
0
0

Thank you, that clarified the fact that it is indeed possible to compile against the BO SDK on a client machine. I was able to compile a quick test file successfully.

com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Failed to open the connection. Failed to open the connection.

$
0
0

Use the sample program for connecting crystal report by passing database connecting parameters, its giving

 

Error 10884_9404_{0F3C851E-1913-40C5-8403-94B834395DF6}.rpt---- Error code:-2147482892 [CRSDK00000000] Error code name:failed

  at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException.

 

4.0 BI server version.

 

Code.

 

//Obtain collection of tables from this database controller.
Tables tables = databaseController.getDatabase().getTables();

 

 

//Set the datasource for all main report tables.
for (int i = 0; i < tables.size(); i++) {

 

 

ITable table = tables.getTable(i);

 

 

//Keep existing name and alias.
table.setName(table.getName());
table.setAlias(table.getAlias());
//Change properties that are different from the original datasource.
table.setQualifiedName(TABLE_NAME_QUALIFIER + table.getName());
//Change connection information properties.
IConnectionInfo connectionInfo = table.getConnectionInfo();
//Set new table connection property attributes.
PropertyBag propertyBag = new PropertyBag();
//Overwrite any existing properties with updated values.
propertyBag.put("Trusted_Connection", "false");
propertyBag.put("Server Name", SERVERNAME); //Optional property.
propertyBag.put("Connection String", CONNECTION_STRING);
propertyBag.put("Database Name", DATABASE_NAME);
propertyBag.put("Server Type", "JDBC (JNDI)");
propertyBag.put("URI", URI);
propertyBag.put("Use JDBC", "true");
propertyBag.put("Database DLL", DATABASE_DLL);
connectionInfo.setAttributes(propertyBag);
//Set database username and password.
//NOTE: Even if these the username and password properties don't change when switching databases, the
//database password is *not* saved in the report and must be set at runtime if the database is secured. 
connectionInfo.setUserName(DBUSERNAME);
connectionInfo.setPassword(DBPASSWORD);
connectionInfo.setKind(ConnectionInfoKind.SQL);
table.setConnectionInfo(connectionInfo);
//Update old table in the report with the new table.
databaseController.setTableLocation(table, tables.getTable(i));
}

can anybody help on this.

SAP BusinessObjects Data Services Adapter SDK Installer?

$
0
0

Hi,

 

 

I need some help regarding creation of custom adapter with help of SAP BusinessObjects Data Services Adapter SDK,

The problem is I am not able to find the DIR\adapters\sdk\ folder as i have seen in Adapter SDK tutorial(ds_42_adapter_sdk_en), in our installed bods 4.2 folders.

In my knowledge we will use the above SDK to create custom adapters.

Do we need to install the SAP BusinessObjects Data Services Adapter SDK component

after the installation of BODS or it comes with the bods installer.

 

 

Please help with any links if available for the adapter SDK download.

 

 

 

 

Thanks,

Nimmagadda

Re: com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Failed to open the connection. Failed to open the connection.

$
0
0

Hi John,


Please specify BusinessObjects product version(with patches if any)?

Are the reports managed or unmanaged?
What is the behaviour from CR designer, are you able to refresh report after changing datasource from Cr designer?

Try to run the attched code and let me know if it works.


Thanks,

Prithvi

When to use Crystal Server? Already using CR4E as Unmanaged RAS

$
0
0

Hi,

 

I am developing a java web application that will open crystal reports from an external location, populate it with service xml data and render in the browser using Crystal DHTML Viewer.

Till now, I have used crystal runtime engine shipped with CR4E which can be embedded in tomcat server. I think this is what you call unmanaged RAS?

 

The app works.

 

I have found out that we have license version of Crystal server 2013(5 CAL) and would like to know If I can use it instead of the runtime engine. I am not familiar with Crystal Server so just want to get an idea before I proceed with server installation.

 

My questions are:

  1. What is the function of Crystal server? When to use Crystal Report server? My requirement is report viewing in browser,exporting the report in pdf format and in future browse through and view the reports using frontend provided by Crystal server. Not sure if such a front end app exists now.
  2. Do I continue to use the runtime api jars shipped with eclipse or does crystal server has java SDK?
  3. Are there any API changes in crystal server compared to api's of crystal runtime?
  4. Do I get any performance benefit when using Crystal Server over Crystal runtime engine?  Will using Crystal server speed up report rendering or pdf export?

Best Regards,

Bharat


Re: When to use Crystal Server? Already using CR4E as Unmanaged RAS

$
0
0

Hi Bharat,

 

 

1. What is the function of Crystal server? When to use Crystal Report server? My requirement is report viewing in browser,exporting the report in pdf format and in future browse through and view the reports using frontend provided by Crystal server. Not sure if such a front end app exists now.

Refer the below link

http://www.sap.com/solution/sme/software/analytics/crystal-server/index.html

BILaunchpad is the front end for end users for managing their content and Central management console is the admin console to manage the entire system.

Refer to the official guides available at help.sap.com to understand the features better.

 

2. Do I continue to use the runtime api jars shipped with eclipse or does crystal server has java SDK?

Crystal server provides its own set of jar files.

 

3. Are there any API changes in crystal server compared to api's of crystal runtime?

No. Crystal server runtimes pretty similar to what CR4E provides with more features.

 

4. Do I get any performance benefit when using Crystal Server over Crystal runtime engine?  Will using Crystal server speed up report rendering or pdf export.

Performance depends on many factors and it is not about just which runtimes are being used. If you size your crystal server properly, you would definately get better performance.

 

Thanks,

Prithvi

Re: When to use Crystal Server? Already using CR4E as Unmanaged RAS

$
0
0

In addition to what Prithvi mentioned, CR4E, I believe, is limited to 5 concurrent users and 100 concurrent "print jobs" (a report opens a print job and each "run" of a subreport opens a print job).  With Crystal Server, you have as many concurrent licenses as you purchase (I believe they come in sets of 25.)

 

-Dell

Re: BI 7.3 SDK

$
0
0

Hello everybody!

 

No, sadly enough we did not get an answer to this question, but resolved the issue by creating our own client around the standard BI webservice that is exposed on every BI server.

 

Thank you anyway!

Re: com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Failed to open the connection. Failed to open the connection.

$
0
0

Hello Prithvi,

 

SAP BusinessObjects BI Platform 4.1 Support Pack 5

Version: 14.1.5.1501



can you elaborate managed or unmanaged  reports - we're attempting to access them in Java.

When I try to access report using crdb_jdbc driver its not able to access.

open the connection.

ADMIN_ROLES []

---- Error code:0 [CRWEB00000119]



I tried with your code its giving the same error.

Failed to open the connection.

10884_11980_{5B04FF74-24AF-409E-850D-0C677F25B5FC}.rpt---- Error code:-2147482892

Re: When to use Crystal Server? Already using CR4E as Unmanaged RAS

$
0
0

Thanks Prithviraj and Dell.

 

My current approach of using Crystal reports has been xml based datasource.

What I do is design crystal reports using static xml(service response) and static xsd. I tried designing reports using remote xml but as the service response does not return xml ‘as a resource’. It writes string data in the http response which is xml representation. Crystal reports designer does not understand this. Hence static file as datasource

I have created a servlet that calls our app services. The service response is xml written in the output stream. I convert the incoming stream to xml bytes and set as datasource to crystal template which is then rendered using embedded crystal runtime.

Another question:

When viewing the report from within CMC/BI Launchpad, can I initiate call to my servlet that will then dynamically set xml data as datasource for the crystal template or is there another better way of doing this?

[Java - BO BI SDK 4.1] Interface ICMSQuery (example) ?

$
0
0

Hello,

 

someone there an example (code java) of this class/interface?

 

com.crystaldecisions.sdk.occa.infostore
Interface ICMSQuery

 

 

Tx,

 

Yves

Re: com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Failed to open the connection. Failed to open the connection.

$
0
0

Hi John,

 

Unmanaged reports are the reports which are not published to BusinessObjects enterprise system.

Managed reports are those which are created using CR designer and then published to BO system.

 

Can you test whether you are able to point your report to the new database connection from crystal reports designer 2013?

 

Thanks,

Prithvi


Re: Crystal Reports SDK \ Unable to find CrystalReportViewerHandler

$
0
0

Was this solved? If so, can you help me please? I am also facing same issue.

Re: com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Failed to open the connection. Failed to open the connection.

$
0
0

Hello Prithivi,

 

I am using Managed reports, reports are published to BO system.

 

Yes, I am able to connect reports from crystal report designer with new database connection.

 

can you let me know which way is beneficial unmanaged reports or managed reports, our purpose to have reports are on demand reports from different server.

how the licensing handle on unmanaged reports.

SAP BO 3.1 SP7

$
0
0

Hi Team,

 

We have recently installed BO 3.1 SP7 for POC purposes.

 

We want to run program objects which were already created on 3.1SP3. The program objects are basically used to view, refresh and schedule webi reports with prompt.

 

Could you please confirm if the same program object of 3.1 SP3 will work in 3.1 SP7.

 

I have checked the 3.1 SP7 API and there is no change. However, need your point of view.

 

Please let me know in case of any queries.

 

Regards,

Mitesh Joshi

Re: SAP BO 3.1 SP7

$
0
0

Hi Mitesh,

 

You will not have to do any coding level changes since the API's are same for BO 3.1 SP3 and SP7, however you will have to recomplie your Program Object code with the jars of your current  version i.e BO 3.1 SP7 and it should work fine.

 

Hope this helps.

 

Regards,

Rajarsh

Re: SAP BO 3.1 SP7

$
0
0

Thanks for your help Rajarsh.

 

Much appreciated.

Viewing all 2284 articles
Browse latest View live


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