Quantcast
Channel: SCN : Popular Discussions - Java SDK Application Development
Viewing all 1701 articles
Browse latest View live

BO SDK code for Universe

$
0
0

Hi Experts,

 

I am trying to create a JSP page which will be used  to change universe object name without using IDT using BO SDK.

 

We are using Bo 4.0 SP6 and we generate the Universe with class name same as table name and columns name as objects names.I need a script which will modify these object name in the Universe with proper name.I have some information that we can use SL SDK to achieve the same.

 

Could you please guide me with some start points on SL SDK.I have some  prior experience in SDK programming but most of them are to extract information from CMS repo.

Thanks in advance for your help and guidance.

 

Regards

Kishore


Unable to connect to the server: .ReportApplicationServer

$
0
0

Hello all.

I want to deploy a Crystal Report to the CMS server from a little web application using the jsp sample from the page http://scn.sap.com/docs/DOC-6321 and when i execute the IReport.refreshProperties line this error comes out (after a while, maybe 10 minutes).

 

<log4j:event logger="com.crystaldecisions.sdk.occa.managedreports.reportadd.internal.ReportAddServiceHelper" timestamp="1365086946396" level="ERROR" thread="http-bio-8080-exec-3">

<log4j:message><![CDATA[ReportAddServiceHelper.sendRequestToServer: sendOneRequest threw an SDKException]]></log4j:message>

<log4j:throwable><![CDATA[com.crystaldecisions.sdk.occa.managedreports.ras.internal.ManagedRASException: Cannot initialize report application session. --- Unable to connect to the server: qldev00d.ReportApplicationServer. - Unable to find servers in CMS qldev00d:6400 and cluster @qldev00d:6400 with kind rptappserver and service DTSRequestor. All such servers could be down or disabled by the administrator. (FWM 01014)

cause:com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server: qldev00d.ReportApplicationServer. - Unable to find servers in CMS qldev00d:6400 and cluster @qldev00d:6400 with kind rptappserver and service DTSRequestor. All such servers could be down or disabled by the administrator. (FWM 01014)---- Error code:-2147217387 Error code name:connectServer

detail: Unable to connect to the server: qldev00d.ReportApplicationServer. - Unable to find servers in CMS qldev00d:6400 and cluster @qldev00d:6400 with kind rptappserver and service DTSRequestor. All such servers could be down or disabled by the administrator. (FWM 01014)

    at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)

    at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)

    at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.sendOneRequest(Unknown Source)

    at com.crystaldecisions.sdk.occa.managedreports.reportadd.internal.a.a(Unknown Source)

    at com.crystaldecisions.sdk.occa.managedreports.reportadd.internal.d.refreshReportObjectProperties(Unknown Source)

    at com.crystaldecisions.sdk.plugin.desktop.report.internal.n.refreshProperties(Unknown Source)

    at mio.PublishClass.publish(PublishClass.java:100)

    at org.apache.jsp.otraPrueba_jsp._jspService(otraPrueba_jsp.java:68)

    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:222)

    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:99)

    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)

    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:1002)

    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.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server: qldev00d.ReportApplicationServer. - Unable to find servers in CMS qldev00d:6400 and cluster @qldev00d:6400 with kind rptappserver and service DTSRequestor. All such servers could be down or disabled by the administrator. (FWM 01014)---- Error code:-2147217387 Error code name:connectServer

    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(Unknown Source)

    at com.crystaldecisions.sdk.occa.managedreports.ras.internal.CECORBACommunicationAdapter.connect(Unknown Source)

    ... 29 more

Caused by: com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$AllServicesDown: Unable to find servers in CMS qldev00d:6400 and cluster @qldev00d:6400 with kind rptappserver and service DTSRequestor. All such servers could be down or disabled by the administrator. (FWM 01014)

    at com.crystaldecisions.enterprise.ocaframework.ServerController.redirectServer(ServerController.java:671)

    at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.redirectServer(ServiceMgr.java:1099)

    at com.crystaldecisions.enterprise.ocaframework.ManagedSession.redirectServer(ManagedSession.java:352)

    at com.crystaldecisions.enterprise.ocaframework.ManagedSession.get(ManagedSession.java:264)

    at com.crystaldecisions.enterprise.ocaframework.ManagedSessions.get(ManagedSessions.java:297)

    at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService(ServiceMgr.java:702)

    ... 30 more

]]></log4j:throwable>

</log4j:event>

 

I look the server configuration and the ReportApplicationServer (rptappserver) is up and running and enabled.

 

RAS_Server.jpg

The CMS is in a Linux.

 

Can somebody help me, Please.

Java code for user-wise report access list

$
0
0

Dear All,

 

I have a very big requirement and I have no idea where to begin. I only have a limited experience with SAP BI's Java SDK and has mostly used it for just generating list of all reports with their folder path or list of all users in a group.

 

This time though I have a big ambition (or at least I think it would be a difficult one to pull off)

 

What I need

Is a list of all reports with all users who has access to it and the access level they have.

It needs to have following columns

 

Report Name, Full Report Path, User ID (and Name if possible), Access level

 

I am also trying to write a code for list of reports and the user groups that has to it.


What I have

I know how to retrieve the list of all reports and I know how to retrieve list of users. But what I don't know is how to connect them or to get the access level they have.

 

So if anyone can help me out, it would be great. It would be even more great if I could have a ready to use code! I know it is too much to ask, but as I said I am a novice to Java part and if you give me pieces, it would take me days to stitch em up and make a full code.

 

So if there are any kind ones out there, please help!

 

Thanks.


Unable to instantiate ReportEngine - Guice configuration errors

$
0
0

Version: SAP BusinessObjects 4.1

 

Description

I'm getting the following error when attempting to instantiate the ReportEngine.

 

I have imported all the jar files from the following directories

  • C:\Program Files\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\lib
  • C:\Program Files\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\lib\external

 

Code

ReportEngines boReportEngines = (ReportEngines) boEnterpriseSession.getService("ReportEngines");

                

ReportEngine boReportEngine = (ReportEngine) boReportEngines.getService(ReportEngines.ReportEngineType.WI_REPORT_ENGINE);

 

Error

com.businessobjects.rebean.wi.CommunicationException: Unable to instantiate ReportEngine.

    at com.businessobjects.rebean.wi.ReportEngines.createReportEngine(ReportEngines.java:290)

    at com.businessobjects.rebean.wi.ReportEngines.getService(ReportEngines.java:249)

    at main.java.infocentric.businessobjects.scraper.BusinessObjectsScraper.main(BusinessObjectsScraper.java:97)

Caused by: com.businessobjects.sdk.core.CoreException: com.google.inject.CreationException: Guice configuration errors:

Required Jar Files

$
0
0

HI,

 

In which jar file, I can get the following classes.

 

1. com.crystaldecisions.sdk.occa.report.application.ReportClientDocument

2. com.crystaldecisions.report.web.viewer.CrystalReportViewer

 

 

 

Thanks & Regards,

Molay Dutta

SAP bo SDK ireportappfactory hang on problem

$
0
0

Dear all,

 

I encountered a problem recently.

 

I used ireportappfactory to get repository info, the code like this,

 

321.png

but some err occurred,

[4/20/16 17:32:15:820 CST] 00000018 ThreadMonitor W   WSVR0605W: Thread "WebContainer : 2" (00000022) has been active for 649235 milliseconds and may be hung.  There is/are 2 thread(s) in total in the server that may be hung.

      at java.lang.Object.wait(Native Method)

      at java.lang.Object.wait(Object.java:196)

      at com.crystaldecisions.sdk.occa.managedreports.ras.internal.CECORBACommunicationAdapter.request(Unknown Source)

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

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

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

      at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source)

      at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)

      at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)

      at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source)

      at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source)

      at hk.com.mtr.pcis.report.ReportCreator.prepareExportReport(ReportCreator.java:119)

      at hk.com.mtr.pcis.report.ReportCreator.getReportStream(ReportCreator.java:173)

      at hk.com.mtr.pcis.report.ReportCreator.exportReportToWebView(ReportCreator.java:265)

      at hk.com.mtr.pcis.report.ReportFactory.GenerateReport(ReportFactory.java:139)

      at hk.com.mtr.pcis.report.ReportFactory.GenerateReport(ReportFactory.java:105)

      at hk.com.mtr.pcis.web.servlet.Report.doGet(Report.java:337)

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

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

      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1655)

      at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1595)

      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)

      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)

      at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)

      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

      at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)

      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)

      at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)

      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

      at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)

      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)

      at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)

      at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)

      at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)

      at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)

      at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)

      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

      at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)

      at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)

      at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)

      at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)

      at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)

      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:932)

      at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:500)

      at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)

      at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3826)

      at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)

      at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931)

      at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)

      at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)

      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)

      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)

      at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:272)

      at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)

      at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)

      at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)

      at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)

      at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)

      at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)

      at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)

      at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)

      at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)

      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)


I think it may has something to do with the firewall, so I open the necessary ports


But err still exists.


What should I do?


many thanks



How to set Default DateTime values in Crystal Reports 2008

$
0
0

Hi All,

 

I'm using Crystal Reports 2008. I have two fields FromDate and ToDate in reports. While running report, FromDate field should be displayed with CurrentDate + 00:00:00 in the UI and for ToDate it should be displayed with CurrentDate + 23:59:59 format.

 

I have tried the below things, But still I want to set CurrentDate + 00:00:00 time in DateTime field.


"In CR 2008 you would set the time portion to 00:00:00 in this way:

 

1) Edit the date/time parameter and look for the 'Default Value' option; it would be blank

2) Set this to 00:00:00

 

This would default the calendar to 12/30/1899 00:00:00. The only worry here is, when you click on the calendar icon you would be presented with the calendar for the year 1899 and it is painstaking to scroll all the way to the current year."

 

I found one solution in SAP forum and I have added the below lines in Record Selection formula,

 

{@FromDate} = date(@CurrentDate)+time(00,00,00)

{@ToDate} = date(@CurrentDate)+time(23,59,59)

 

When I run the report, I still getting the empty values in the input parameters screen.

 

Am I missing anything? Kindly help

 

Thanks,

Ramesh Kumar G.

Crystal Report not use the Bo to export the PDF

$
0
0

Hi all;

     As my new requirement,I should export the PDF from the RPT in Java project. If someone used to do this,Please give me some advice.

I used to get the report from the BO, but the new requirement, I do not known to do.

Thanks all.

 

-Alex


UpdateConnectionTest.java sample Invalid network layer: OLE DB error

$
0
0

When I am running the UpdateConnectionTest.java sample the lodConnection method gives error "Invalid network layer: OLE DB". Any idea what is going wrong?

How can I export the PDF to the web server

$
0
0

Hi all,

    I have a java project .In the project these are two server, one is web server,and other is Bo server (I use Bo 4.0/ BO server 2008 ). So the RPT will save in the BO server. then the requirement ,the RPT should export the PDF and export to the web server. If someone has done before,please give me some advice.

 

-Alex

Opendocument.jsp

$
0
0

I am trying to implement opendocument with the log in token. New to this. Environment is SAP BI 4.0 SP6 Java on Windows.

I have 2 questions

 

1. Where do I store new opendocument.jsp that I am creating

2. I do not understand the reason for this code in opendocument.jsp (this is taken from the example in the SAP document xi4_opendocument_en.pdf)

return ("http://<server>:<port>/BOE/OpenDocument/opendoc/openDocument.jsp?iDocID=Aa6GrrM79cRAmaOSMGoad

KI&sIDType=CUID&token=" + tokenEncode)

 

If the user calls in the urls with the new documents all the time does the code

iDocID=Aa6GrrM79cRAmaOSMGoadKI&sIDType=CUID from the url above limits to same document.

 

I am sure I do not understand this but can anyone explain how can I pass security token for multiple users calling multiple opendocuments

 

below the code I created for my opendocument.jsp

 

 

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

com.crystaldecisions.sdk.plugin.desktop.common.*,

com.crystaldecisions.sdk.framework.*,

com.crystaldecisions.sdk.occa.security.*,

com.crystaldecisions.sdk.exception.SDKException,

com.crystaldecisions.sdk.occa.managedreports.IReportSourceFactory,

java.util.Locale,

com.crystaldecisions.report.web.viewer.CrystalReportViewer,

com.crystaldecisions.sdk.occa.report.reportsource.IReportSource, java.net.*"

%>

 

<%

 

String serializedSession;

/* Set Enterprise Logon credentials. *

    String cms = "";
    String username = "";
    String password = "";
    String auth = "secEnterprise";
    IEnterpriseSession enterpriseSession;
    String token = "";

/

 

/* Log onto Enterprise and serialize the Enterprise Session. */

enterpriseSession = CrystalEnterprise.getSessionMgr().logon(username, password, cms, auth);

String logonToken = enterpriseSession.getLogonTokenMgr().createLogonToken("",30,100);

String tokenEncode = URLEncoder.encode(logonToken, "utf-8");

 

String url = "http://<server>:8080/BOE/OpenDocument/opendoc/openDocument.jsp?token=" + tokenEncode+"&iDocID=AeKTiOvM_DpBgQ9xiEPt7NE&sIDType=CUID";

 

response.sendRedirect(url);

 

 

%>

 

I will appreciate all the comments and responses.

 

 

Regards,

Igor Cotler

To get List of Object used in Reports

$
0
0

Hi Team,

 

Do we have any SDK where we can get the list of objects used in reports.

 

Env:BO XI 3.1

 

Regards,

Shiva Gunturu

Running Custom Java Program under BOXI 4.1

$
0
0

We have custom java programs that were written to gather user inbox contents and notifying users on daily new reports delivered to their BI Inbox. We current use BOXI 3.6. We are upgrading to BO XI 4.1.

 

When we schedule custom java program we get error regarding Report Service not running on Client. It does not tell us where this custom java program is running on. we have set of servers that participate in our BI system. In Bo XI 3.x version it used to tell us where scheduled java program is running, see screenshot below,

 

BI Java Custom Program 1.PNG

 

Within BO XI 4.1, how can I find out where custom java programs are running?

 

Thanks,

Desai

OopenDocument and IFrame to open BO documents in the same html page

$
0
0

Hi experts,

 

I have I requirement to open BO document inside an HTML page that contains other components, So I use the IFrame flag to open the BO document:

 

<iframe name="StartTDB" src="http://*.*.*.*:8081/BOE/OpenDocument/opendoc/openDocument.jsp?iDocID=AcElQAZ8KrVPqqY9jOazmiQ&sIDType=CUID&token=<jsp:getProperty name="SAPBOSession" property="token" />" height="500px" width="940px">

  Votre navigateur ne supporte pas les iframes

  </iframe>

 

The issue I have is that sometimes th BO document get opened inside the IFrame (Image 1), and sometimes it reloads all the html page to only open the BO document (Image 2)!!

 

Image 1:

cas2.PNG

 

 

 

Image2:

cas1.PNG

 

Thank's a lot for your help.

 

Abdess,

Error: Unable to find servers in CMS - Deploying in Sun Solaris Machine

$
0
0

Hi Experts,

 

My team is developing a crystal report java application that access CR Report in the CR server X1.

The report retrieval works fine in windows dev environment (using Tomcat or Oracle App Server (OC4J)).

But when we deploy it to Oracle App server in Sun Solaris machine, we encounter this CMS server connection error.

 

[error]

08/12/01 18:40:43 com.crystaldecisions.sdk.exception.SDKException$OCAFramework: Unable to find servers in CMS <ip address> and cluster  with kind cms and extra criteria null. All such servers could be down or disabled by the administrator.

cause:com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$AllServersDown: Unable to find servers in CMS <ip address> and cluster  with kind cms and extra criteria null. All such servers could be down or disabled by the administrator.

detail:Unable to find servers in CMS <ip address> and cluster  with kind cms and extra criteria null. All such servers could be down or disabled by the administrator.

The exception originally thrown was com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$AllServersDown: Unable to find servers in CMS <ip address> and cluster  with kind cms and extra criteria null. All such servers could be down or disabled by the administrator. and had the following message: Unable to find servers in CMS 10.188.12.108 and cluster  with kind cms and extra criteria null. All such servers could be down or disabled by the administrator.

[error]

 

I'm pretty sure that that CR server is not down since we can access it in our windows machine.

This might be a common problem and experts out there can share some resolutions.

 

Thank you in advance.

 

Regards,

Rulix


Where is BusinessObjects Enterprise Java SDK jars located(BO XI3.1)?

$
0
0

We need to import Business Objects Enterprise Java SDK's jar files. However, there is no document or forum post that have the directory for version BOXI3.1.

 

By searching for the cecore.jar file, we find a directory that contains many Business Objects Enterprise Java SDK jar files:

D:\Business Objects\BusinessObjects Enterprise 12.0\warfiles\WebApps\BusinessProcessBI\WEB-INF\lib

Is this the correct directory for the Business Object Enterprise jar files?

 

We imported bellow SDK jar files:

asn1.jar

cecore.jar

celib.jar

ceplugins_client.jar

ceplugins_core.jar

ceplugins_cr.jar

cereports.jar

certj.jar

cesession.jar

ceutils.jar

clientplugins.jar

commons-codec-1.3.jar

commons-logging-1.1.jar

corbaidl.jar

ebus405.jar

flash.jar

freessl201.jar

jsafe.jar

logging.jar

pluginhelper.jar

postprocessing_oca2service.jar

publishing_oca2service.jar

rasapp.jar

rascore.jar

reporttemplate.jar

serialization.jar

SL_plugins.jar

webreporting.jar

xbean.jar

xcelsius.jar

XcelsiusSLPlugins.jar

 

Is this the complete list that we should import for X3.1? there are some files like commons-codec-1.3.jar, it looks a Apache jar file, not the SDK's jar file. shall i include such files as well?

A crystal reports IReportAppFactory.openDocument ,waiting for the openDocument () the method return value!

$
0
0

Hello everyone!

 

I use Eclipse to write a small program to open in the Crystal Report XI Server encountered a problem! The Java code is as follows:

 

  IReportAppFactory rptAppFactory = (IReportAppFactory) enterpriseSession.getService("", "RASReportService");

  System.out.println("-----Opening...");

  System.out.println("-----infoObject.Title:"+infoObject.getTitle());

  ReportClientDocument reportClientDocument = rptAppFactory.openDocument(infoObject, 0, Locale.ENGLISH);

  System.out.println("-----OK...");


And then in the JSP page to call this method!

 

The console to print:

-----Opening...

-----infoObject.Title:bookTest

 

Eclipse progress bar has been stuck motionless! Debugging display has been waiting for the openDocument () the method return value!

 

The bookTest.rpt statement can access InfoView through the browser address, browse content!

 

The Crystal is the new Report Crystal Report XI Server, is this what configuration? What steps are needed? What is the specific?

Please master answer, thank you!!!


-Alex

Upload/Import a Webi document to the CMS

$
0
0

Hello,

 

I'm looking for some help programatically uploading a .wid file to the repository. The developer guide shows how to copy an existing report to another folder in the CMS. However, how do you upload a .wid file from a local machine to the repository.

 

Thank you in advance,

Mark

How to set Default DateTime values in Crystal Reports 2008

$
0
0

Hi All,

 

I'm using Crystal Reports 2008. I have two fields FromDate and ToDate in reports. While running report, FromDate field should be displayed with CurrentDate + 00:00:00 in the UI and for ToDate it should be displayed with CurrentDate + 23:59:59 format.

 

I have tried the below things, But still I want to set CurrentDate + 00:00:00 time in DateTime field.


"In CR 2008 you would set the time portion to 00:00:00 in this way:

 

1) Edit the date/time parameter and look for the 'Default Value' option; it would be blank

2) Set this to 00:00:00

 

This would default the calendar to 12/30/1899 00:00:00. The only worry here is, when you click on the calendar icon you would be presented with the calendar for the year 1899 and it is painstaking to scroll all the way to the current year."

 

I found one solution in SAP forum and I have added the below lines in Record Selection formula,

 

{@FromDate} = date(@CurrentDate)+time(00,00,00)

{@ToDate} = date(@CurrentDate)+time(23,59,59)

 

When I run the report, I still getting the empty values in the input parameters screen.

 

Am I missing anything? Kindly help

 

Thanks,

Ramesh Kumar G.

Java SDK code to get details of Data provider with Excel as data source in BO 4.1

$
0
0

Hi Experts,

 

I am developing a Java application using Restful webservices SDK to get webi report metadata.

 

I got a solution to get list of dataproviders in a webi report and SQL queries of each data provider. But not able to fetch information if the data provider is with Excel data source.

 

I searched a lot but not able to find solution for Excel data provider in BO 4.1 as PersonalDataProvider interface are deprecated from BO 4.0

 

Can anyone please help me in getting Excel data provider information.

 

Thanks and Regards,

Preethi M

Viewing all 1701 articles
Browse latest View live


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