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

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

$
0
0

Are you saying you designed the reports in CR XI which is version 11, and previewing a version 14 Java BI 4.0/BI 4.1 Java app using the BI 4.x Jars?

 

XI is not version 14 and it is not called XI.

 

This is likely a JDBC issue so moving your post to the Java SDK forums.

 

See is updating the Oracle JDBC drivers resolve the issue. It's likely as I noted there is an issue in the DB client.

 

Don


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

$
0
0

Hi Don,

 

It will be great if you can provide me the link where this post have been moved. so that it will be helpful to track it.

Can you please provide which version of Oracle jdbc drivers which will help us to resolve this issue.

 

Thanks,

Nagamani

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

$
0
0

If you get notifications the link is there otherwise it's this:

 

View the full discussion

 

Try the latest JDBC drivers from Oracle. Or even use a third party driver. You'll have to test to find one that works, or report the issue to Oracle.

 

Don

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

$
0
0

Hi Nagamani,

 

 

I think it requires more troubleshooting by sharing your system.  Do you have SAP support ? If so, please log a ticket with SAP support.

 

They will look into your system and trouble shoot the issue.

 

To log a ticket go in : http://service.sap.com

 

-Sastry

Re: How to Map Universe to a report in BO4.0 SDK

$
0
0

Hello Gagan,

 

Which service pack are you using in BI 4.0?

If you are using the BI 4.0 SP6 or later, you can remap a webi report to other universe using Webi REST web services SDKs as Report Engines SDKs are deprecated & partially functional from BI 4.0 release onwards.

 

Please refer the SAP Documents of REST Web Service SDKs.

 

Hope this helps.

 

Thanks,

Shailendra

Re: Internal error publishing Crystal report to BOE 3.1

$
0
0

Hello Benjamin,

 

Please try the attached sample to publish a crystal report to enterprise.

Convert the attached text file to JSP & do the necessary changes in the sample & if you want you can also add multiple crystal report path from your local disk in the code to publish in the enterprise in one go.

 

Hope this help.

 

Thanks,

Shailendra

Re: SAP Business Objects SDK

$
0
0

The SDK comes as part of the BI Platform.  You will not need a license to develop, but you will need the user licenses to run  and connect your application to the platform's content and services.

Re: 32-bit 4.1 SDK DLLs with 64 bit DSN


Re: Reading and transforming streaming XML Data in JAVA

$
0
0

I have no idea on the answer, but I do know this is  not placed in the correct SCN Space. See the description of this Space under the Overview tab.

 

 

- Ludek

Re: BO 4.0 Binding error

$
0
0

Where does BI / BO / CR / CRS come into the picture?

 

 

- Ludek

Re: BO 4.0 Binding error

$
0
0

Hi Jerome,

 

Can you explain your application workflow in brief?

 

In BI 4.0 a major chunk of REBEAN SDK's are deprecated/removed and you can no longer use them.

These kind of errors can come if you are using a deprecated functionality of REBEAN SDK's in your application.

 

Also if your are using an IDE(Eg. Eclipse)  for your application developement, make sure you do not have two applications one with BI 3.1 jars and another with BI 4.0 jars running at the same time on the same IDE. This can cause conflicts between the jars and can cause issues.

 

Hope this helps.

 

Regards,

Rajarsh

Open document URL through SDK functions?

$
0
0

Dear all,

 

I am an ABAP and Webdynpro Developer.

Out client system is BOBJ 3.1 and BW  release 701 systems.


We have a requirement to call the  BOBJ Webi Report through a Webdynpro program from BI system.

We need to provide a link of thie WEBI report to user , where he does not required to navigate through the document list  and even no need to enter input values also.


I came to know that this is possible through Open document URL approach.


Please let me know how to achieve it.

If possible, please provide any sample examples.


Thanks,

Vamshi

Re: Open document URL through SDK functions?

$
0
0

Hi Vamshi,

 

Yes, OpenDocument URL can be used to open a Report using simple url's as below:

http://<servername>:<port>/OpenDocument/opendoc/openDoc

ument.jsp?iDocID=Aa6GrrM79cRAmaOSMGoadKI&sIDType=CUID

You just need to change the URL according to your enviorment. You can also give parameters to your report in the above url.

 

You can find the OpenDocument Guide from the below link:

http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_url_reporting_opendocument_en.pdf

 

I am not aware of  WebDynpro programming so I can't help you in consuming the above url using the same.

 

However, below is the .jsp script that can be used to consume the OpenDocument URL(if this can give you some idea)

 

<%@page import="com.crystaldecisions.sdk.framework.*" %>

<%@page import="com.crystaldecisions.sdk.occa.infostore.*" %>

<%@page import="com.crystaldecisions.sdk.occa.security.ILogonTokenMgr" %>

<%

//CMS logon information - customize....

String cms = "lmo-sca-xi31sp2"; //Enterprise CMS Server

String webServer = "lmo-sca-xi31sp2"; //Infoview Web Application Server

String webPort = "8080"; // Infoview Web Application Server's port

String userid = "Administrator";

String pwd = "";

String auth = "secEnterprise";

String reportName = "World Sales Report"; //Hard coded for this example

//Log onto the CMS

ISessionMgr entSessionMgr = CrystalEnterprise.getSessionMgr();

IEnterpriseSession entSession = entSessionMgr.logon(userid, pwd, cms, "secEnterprise");

//Get the report id to redirect to

String infoStoreQuery = "select si_id from ci_infoobjects where si_instance=0 and si_name='" + reportName + "'";

IInfoStore infoStore = (IInfoStore) entSession.getService("", "InfoStore");

IInfoObjects infoObjects = infoStore.query(infoStoreQuery);

if ( infoObjects.isEmpty() )

{

out.println("[" + reportName + "] not found.");

}

else

{


IInfoObject report = (IInfoObject) infoObjects.get(0);

String rptID = "" + report.getID();

//BOE XI 3.x URL

String urlRedirection = "http://" + webServer + ":" + webPort + "/OpenDocument/opendoc/openDocument.jsp?iDocID=" + rptID + "&sIDType=InfoObjectID";

response.sendRedirect(urlRedirection);

}

%>

Hope this helps.

 

Regards,

Rajarsh

Re: Open document URL through SDK functions?

$
0
0

Hi Rajarsh,

 

Thank you for your reply.

 

I too found the Open document URL and in BOBJ we have generated a sample URL.

Managed to prepare the URL in webdynpro.

 

Thanks,
Vamshi

CMS info object property for identifying a Crystal Reports for EP report

$
0
0

Hello,

 

We are wondering if there is a CMS property which defines a crystal report entity as Crystal Reports for Enterprise  (CRE) ?

 

Properties as SI_KIND, SI_PROGID, SI_SPECIFIC_KIND, SI_SPECIFIC_PROGID are the same for CRE and CR201? (e.g. Crystal Reports 2013) .

 

Is there any property that distinguishes a CRE report from a CR2013 report?

 

Thanks,

Bernd 


Re: CMS info object property for identifying a Crystal Reports for EP report

$
0
0

Hello Bernd,

 

There is no property bag which will distinguish between the two reports.

It can only be figured out from CMC/BILaunchpad.

 

From SDKs perspective, try opening the report using RAS, and you would get error CRSDK00002515, reason, RAS SDKs don't support CR4E reports.

 

This is one way which I can think of apart from CMC/BILaunchpad. Not the ideal way, but works.

 

Hope it helps.

 

Thanks,

Prithvi

Re: CMS info object property for identifying a Crystal Reports for EP report

$
0
0

Hello Prithvi,

 

Thanks for your reply!

 

Yes we can do it that way.

 

It also works in the other direction, as RESTful Web Services for CRE do only work for CRE documents.

 

I just wanted to know if there is another way to figure out which specific type the CR document has.

 

 

Bernd

Re: CMS info object property for identifying a Crystal Reports for EP report

$
0
0

Hello Bernd,

 

Thanks for pointing out to the REST as well.

Apart from these, there is no other way of figuring out the same. As there is no significant property bag which distinguish both the CR documents.

 

Thanks,

Prithvi

Error while accessing BO document

$
0
0

We r trying to fetch reports from BO 4.1 using java code.The sysytem is logged in and the code also create session.
When it tries to open document the code fails and i got the following error:

 

 


Cannot initialize Report Engine server. (Error: RWI 00226)
com.businessobjects.rebean.wi.CommunicationException: Cannot initialize Report Engine server. (Error: RWI 00226)
at com.businessobjects.rebean.wi.occa.OccaConnection.doConnect(Unknown Source)
at com.businessobjects.rebean.wi.occa.OccaConnection.<init>(Unknown Source)
at com.businessobjects.rebean.wi.occa.OccaServerConnectionManager.createConnection(Unknown Source)
at com.businessobjects.rebean.occa.OccaReportEngineComAdapter.createCadenzaSession(Unknown Source)
at com.businessobjects.rebean.occa.OccaReportEngineComAdapter.initNewCadenzaSession(Unknown Source)
at com.businessobjects.rebean.occa.OccaReportEngineComAdapter.openDocument(Unknown Source)
at com.businessobjects.rebean.wi.ReportEngineImpl.openDocument(Unknown Source)
at com.businessobjects.rebean.wi.occa.WebiReportEngine.openDocument(Unknown Source)
at com.tcs.hana.util.ReportToExcel.processDocument(ReportToExcel.java:137)
at org.apache.jsp.view_005fwebi_005fdoc_005fpdf.start_005fenv2_jsp._jspService(start_005fenv2_jsp.java:140)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$ServiceConnection: Unable to connect to service CDZHome from server CDCTCOE.WebIntelligenceProcessingServer via CMS CDCTCOE.India.TCS.com:6400 (FWM 01006)
cause:com.crystaldecisions.enterprise.ocaframework.idl.ImplServ.OSCAFactoryPackage.connection_failure: IDL:img.seagatesoftware.com/ImplServ/OSCAFactory/connection_failure:1.0
detail:Unable to connect to service CDZHome from server CDCTCOE.WebIntelligenceProcessingServer via CMS CDCTCOE.India.TCS.com:6400 (FWM 01006) IDL:img.seagatesoftware.com/ImplServ/OSCAFactory/connection_failure:1.0
at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getUnmanagedService(ServiceMgr.java:864)
at com.crystaldecisions.enterprise.ocaframework.AbstractStubHelper.getService(AbstractStubHelper.java:29)
at com.crystaldecisions.enterprise.ocaframework.ManagedService.validate(ManagedService.java:781)
at com.crystaldecisions.enterprise.ocaframework.ManagedSession.validateStatelessService(ManagedSession.java:610)
at com.crystaldecisions.enterprise.ocaframework.ManagedSession.newService(ManagedSession.java:911)
at com.crystaldecisions.enterprise.ocaframework.ManagedSession.get(ManagedSession.java:300)
at com.crystaldecisions.enterprise.ocaframework.ManagedSessions.get(ManagedSessions.java:297)
at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService(ServiceMgr.java:697)
at com.businessobjects.rebean.wi.occa.OccaConnection$CDZStubHelper.getService(Unknown Source)
at com.crystaldecisions.enterprise.ocaframework.ManagedService.validate(ManagedService.java:781)
at com.crystaldecisions.enterprise.ocaframework.ManagedSession.validateStatelessService(ManagedSession.java:610)
at com.crystaldecisions.enterprise.ocaframework.ManagedSession.newService(ManagedSession.java:911)
at com.crystaldecisions.enterprise.ocaframework.ManagedSession.get(ManagedSession.java:273)
at com.crystaldecisions.enterprise.ocaframework.ManagedSessions.get(ManagedSessions.java:297)
at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService(ServiceMgr.java:697)
... 32 more
Caused by: com.crystaldecisions.enterprise.ocaframework.idl.ImplServ.OSCAFactoryPackage.connection_failure: IDL:img.seagatesoftware.com/ImplServ/OSCAFactory/connection_failure:1.0
at com.crystaldecisions.enterprise.ocaframework.idl.ImplServ.OSCAFactoryPackage.connection_failureHelper.read(connection_failureHelper.java:102)
at com.crystaldecisions.enterprise.ocaframework.idl.ImplServ._OSCAFactoryStub.newService(_OSCAFactoryStub.java:92)
at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getUnmanagedService(ServiceMgr.java:845)
... 46 more


Note:We have all the required jar files with the code and there is no firewall in between the BO server and the system.

Re: Error while accessing BO document

$
0
0

What is the code you're using to do this?  It would help to see where the error occurs.

 

Also, is this code that was written against and earlier version of the SDK that you're upgrading to work with 4.1?  If so, please be aware that a LOT of the ReportEngine functionality has been deprecated and it doesn't work like it did in 3.1 and earlier.  SAP is pushing the RESTful web services and OpenDocument as a replacement for this.

 

-Dell

Viewing all 2284 articles
Browse latest View live


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