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

Create lcmbiar from java sdk - few questions

$
0
0

Hi!

 

I'm trying to make a .lcmbiar file for many of my BI objects (Webi, Universes, Connections without dependencies) - one .lcmbiar for one object. For now I do it in LCM command line tool, but it's not good, because it create job in CMC for each object and it takes time (it login to CMC for each execute). My questions are:

 

1. I need to create .lcmbiar without creating job in Promote Manager. How to do it?

2. It takes time to execute command for one objects (aspecially logging to SAP BO). Can I just one login, create biars (one biar for one object) and logout?

3. I see there is a lcm.jar, but it's only on server side (I don't see it when I install only client tools). Which jar's shoud I include? There is a 1.4 GB jars in \SAP BusinessObjects Enterprise XI 4.0\java\lib\ folder and I think, that lcm don't need all...

4. There is a biarengine.jar, that create .biar file. Can I use this .biar's to import object in Promote Manager? What is a diffrence with .biar and .lcmbiar?

 

SAP BO 4.1 SP3

 

Thanks!

 

Thomas


Scheduling webi reports via Java SDK in BI 4.1

$
0
0

Hi,

 

Has anyone been able to schedule a Webi report containing date prompts via Java SDK in BI 4.1? I have tried doing so but it doesn't work when date prompts are involved, I get the exception raised: java.lang.NullPointerException error. Though the scheduled instance is created and the date prompt appears to be correctly populated the report fails with the above mentioned error message. The code is working for other text prompts but fails when I have a date prompt in the report. I am using the populateWebiPrompts() method to populate the prompts.

 

CF

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.

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,

How to count files in a folder and subfolders of the folder.

$
0
0

Hello everyone,

I'm having a difficulty with countin files in a Regular folder and subfolders of the folder. I've tried to use SI_ANCESTOR  in a query; however, it gives me innacurate results.

I used this hierarchy to create the code below, and it works to count all the files:

Folder A ---> Folder B( subFolder of A)  -


> Folder C(subFolder of B)  

 

//get folder A

IInfoObjects regFolders = infoStore.query ("SELECT * FROM CI_INFOOBJECTS WHERE SI_KIND='Folder' AND SI_PARENTID=0 AND SI_NAME!='User Folders' Order by SI_NAME");

IFolder regFolder = (IFolder) regFolders.get(0);     

 

//get files from Folder A     

IInfoObjects rFiles = infoStore.query ("SELECT * FROM CI_INFOOBJECTS WHERE SI_PROGID !   = 'CrystalEnterprise.Folder'   AND SI_PARENTID=" + regFolder.getID() );

ilesCount += rFiles.size();

 

int subCntr=0;

nt subCntr2=0;

          

  //get folder B      

IInfoObjects rSubFolders = infoStore.query ("SELECT * FROM CI_INFOOBJECTS WHERE SI_PROGID = 'CrystalEnterprise.Folder' AND SI_PARENTID=" + regFolder.getID() );

 

//get files from subFolders of Folder A

while (subCntr < rSubFolders.size())

  {  

          IInfoObject subFolder=(IInfoObject)rSubFolders.get(subCntr);

          IInfoObjects subFiles = infoStore.query ("SELECT * FROM CI_INFOOBJECTS "

      + " WHERE SI_PROGID != 'CrystalEnterprise.Folder'" AND SI_PARENTID=" + subFolder.getID() );

 

         filesCount += subFiles.size();

      

         //get subFolders of Folder B                   

         IInfoObjects rSubFolders2 = infoStore.query ("SELECT * FROM CI_INFOOBJECTS WHERE SI_PROGID = 'CrystalEnterprise.Folder' AND SI_PARENTID=" + subFolder.getID() );

 

                     //get files from subFolders of Folder B

     while (subCntr2 < rSubFolders2.size())

     {  

          IInfoObject subFolder2=(IInfoObject)rSubFolders2.get(subCntr2);

          IInfoObjects subFiles2 = infoStore.query ("SELECT * FROM CI_INFOOBJECTS "

               + " WHERE SI_PROGID != 'CrystalEnterprise.Folder'  AND SI_PARENTID=" + subFolder2.getID() );

           

                                           filesCount += subFiles2.size();

           subCntr2++;

     }

          subCntr++;

}

 

As you can see, the code is too complicated, and what if folder C has subFolder?

I'm guessin maybe recursion would be one way to got, but I'm not really good with it, so I was wondering if anyone has any idea on how to go about doing it.

 

Thank you,

Crystal Server, BOE Promoted Reports Don't work

$
0
0

Dear Experts,

 

One of our costumers has two Crystal Server(development, prod) same version and working on same JDBC driver with same name. We transfer reports from development to prod by a promotion job. This job is successfully working. But, when we transport reports to prod system, some of report doesn't work. I notice that the all reports which don't work include more then one SQL Command and these are all parametric.

 

Please help me or share your idea about this problem.

 

Kindly regards,

Onur

Determining Connection for .UNX universes

$
0
0

BI4.1 SP4 or newer.

 

I'm working on a program where I'm pulling a bunch of information about universes, the connections they use and the reports that use them.  I know that for non-OLAP unvs, I can pull the connections with kind "CCIS.DataConnection" which has a property called SI_CONNUNIVERSE that gives me the SI_ID values for unvs that use that universe.  However, that list doesn't seem to include unx universes and that property does not exist for OLAP connections (kind = "CommonConnection"). 

 

So, without using the Designer SDK for the unvs, here are my questions:

 

1.  How do  determine which OLAP connection an OLAP unv is using?

 

2.  Either with or without the Semantic Layer SDK, how do I determine the connection(s) for a unx?

 

Thanks!

 

-Dell

Business objects 4.0 sdk Implementation

$
0
0

Hi, I am new to business objects sdk Implementation. Can anyone tell me the how to get started. I need to get list of objects used in a web intelligence report in BOXI 4.0? I believe Restful sdk can be used. Kindly list out the steps I need to follow.


Could not initialize class com.businessobjects.bcm.BCM

$
0
0

Hi,

 

When i am tring to view the report on My application with CR 2011 with Jboss Application Server 5.0  i am seeing below exception

 

 

java.lang.NoClassDefFoundError: Could not initialize class com.businessobjects.bcm.BCM

          at com.crystaldecisions.sdk.occa.security.internal.ConfidentialChannelService.establishConfidentialChannel(ConfidentialChannelService.java:175)

          at com.crystaldecisions.sdk.occa.security.internal.ConfidentialChannelService.createConfidentialChannel(ConfidentialChannelService.java:145)

          at com.crystaldecisions.sdk.occa.security.internal.LogonService.doUserLogon(LogonService.java:985)

          at com.crystaldecisions.sdk.occa.security.internal.LogonService.userLogon(LogonService.java:292)

          at com.crystaldecisions.sdk.occa.security.internal.SecurityMgr.userLogon(SecurityMgr.java:191)

          at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon_aroundBody2(SessionMgr.java:446)

          at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon_aroundBody3$advice(SessionMgr.java:42)

          at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon(SessionMgr.java:1)

 

 

bcm.jar and other Crystal jars are in classpath and these are working with other appservers. but not with Jboss Application Server

Setting PDF format to Publication defaulted to TEXT

$
0
0

The following code snippet failed setting PDF format to the publication.  Everyone I set it, it defaults to TEXT.

IProcessingPublicationInfo processingPublicationInfo = (IProcessingPublicationInfo)newPublication.getDocumentProcessingInfoObject(documentID);

IFormatInfo pdfFormatInfo = processingPublicationInfo.getFormatInfos().add();

pdfFormatInfo.setFormat(CeKind.FullClient, IReportFormatOptions.CeReportFormat.PDF); // Always default to TEXT when viewing in InfoView as well as when the report runs.  It works nicely with EXCEL.  Is this a bug in BO 3.1

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,

NullPointerException at ISecuritySession.getEffectivePreferredViewingLocale()

$
0
0

I got the following error when I use getReportParameters in Publication. Error occurs at . What I try to do is to set parameters for IReport contained in Publication. Any help will be greatly appreciated.

 

The following code works in the server box version 3.1 but not works in the other server box version 4.0 .

 

Exception in thread "main" java.lang.NullPointerException: while trying to invoke the method com.crystaldecisions.sdk.occa.security.internal.ISecuritySession.getEffectivePreferredViewingLocale() of an object loaded from field com.crystaldecisions.sdk.plugin.desktop.report.internal.Report.m_session of an object loaded from local variable 'this'

at com.crystaldecisions.sdk.plugin.desktop.report.internal.Report.getPVL(Report.java:697)

at com.crystaldecisions.sdk.plugin.desktop.report.internal.Report.getReportParameters(Report.java:675)

at com.mpn.report.ReportService.setPublicationParameters(ReportService.java:368)

at com.mpn.report.ReportService.processRequest(ReportService.java:302)

at com.mpn.report.ReportService.run(ReportService.java:148)

at com.crystaldecisions.sdk.plugin.desktop.program.internal.ProgramWrapper.main(ProgramWrapper.java:174)

 

Here is my code:

// This routine will set publication parameter

protected void setPublicationParameters(IEnterpriseSession enterprisesession, IInfoStore infoStore, IInfoObject report,

String requestID, CallableStatement procGetParameter)

throws SDKException

{

try {

IPublication boPublication = (IPublication) report;

IProperties docProperties = report.getProcessingInfo().properties().getProperties("SI_PROCESSINFO_PER_DOC");

 

for (int num=1; num < docProperties.size(); num++) {

String numStr = Integer.toString( num );

IProperties oInfoDocumentProp = docProperties.getProperties(numStr);

IProperty prop = oInfoDocumentProp.getProperty("SI_NAME");

 

String report_name = (String) oInfoDocumentProp.getProperty("SI_NAME").getValue();

IInfoObjects boInfoObjects2=null;

IInfoObject boInfoObject2=null;

 

boInfoObjects2 = infoStore.query("Select SI_ID, SI_KIND, SI_PROCESSINFO FROM CI_INFOOBJECTS WHERE SI_NAME='" + report_name + "' AND SI_INSTANCE=0");

boInfoObject2 = (IInfoObject)boInfoObjects2.get(0);

int documentID = boInfoObject2.getID();

String documentKind = boInfoObject2.getKind();

 

IReport crystalReport = (IReport)enterprisesession.getPluginManager().getPluginInterface(CeKind.CRYSTAL_REPORT, IPluginMgr.Type.DESKTOP);

 

// Now retrieve any custom processing properties and add them into the infoobject

com.crystaldecisions.sdk.properties.IProperties processingProperties = boPublication.getDocumentProcessingInfo(documentID);

crystalReport.getProcessingInfo().properties().putAll(processingProperties);

 

// Now retrieve the processing info for the desired report.

IReportProcessingInfo boProcessingInfo = (IReportProcessingInfo)crystalReport;

 

// Now retrieve the report parameters collection

List boParamList = (List)boProcessingInfo.getReportParameters();  

String parameterName;

String parameterValue;

 

// Now loop through the parameters and set values.

for (Iterator i = boParamList.iterator(); i.hasNext(); )

{

IReportParameter boParam = (IReportParameter)i.next();

parameterName = boParam.getParameterName();

 

procGetParameter.setString(1, requestID);

procGetParameter.setString(2, parameterName);

procGetParameter.executeQuery();

 

parameterValue = procGetParameter.getString(3);

 

IReportParameterValues boCurrentValues = boParam.getCurrentValues();

boCurrentValues.clear();

IReportParameterSingleValue boSingleValue = boCurrentValues.addSingleValue();

boSingleValue.setValue(parameterValue);

}

 

// Save everything back

boPublication.setDocumentProcessingInfo(documentID, documentKind, crystalReport.getProcessingInfo().properties());

}

// Save the publication

boPublication.save();

}

catch (SQLException ex) {

ex.printStackTrace();

}

catch (SDKException ex) {

ex.printStackTrace();

throw ex;

}

 

}

CMC query builder-users-group

$
0
0

Hi All,

 

I aim re posting this from BI session as i couldnt get enough updates...!

 

i am looking for an script to run in QB that would retrive the user's details like username, user DI ,user mail id and also other details like the user's member of(need  know the groups which that user has).

 

 

currently i have  one which will say how many users are there in a groups. like wise i am looking for list of groups the user is associated with.

 

ultimate aim is to look the user's security setup without viewing the users profile in the CMC.

 

please let me know if you still need any info on this.

 

Thanks in advance!!

Need to change the destination email addresses in recurring schedules

$
0
0

Hi,

 

My company is undergoing some changes and as a part of Rebranding activity I need to update the user email addresses in destination section of recurring schedules. Only Domain name has to be updated for all the users.

 

I have already created a macro which would pull out information about recurring schedules. Once I have updated the email destinations, I have to upload the information in the existing recurring schedules.

This is where I am stuck right now.

 

Please guide me how this can be done.

 

Env details:

BI 4.1 sp4 patch1

redhat 5.9

 

Regards,

Richa

Accessing crystal report

$
0
0

We are trying to access Crystal server 2011 enterprise reports from Java based COTS application. I would like to know the process of implementing this, what needs to be done on the Java application side and the crystal server 2011 side in order to access the Crystal reports from the Java application.

 

Thanks in advance


Open crystal reports 2013 in java application

$
0
0

Hi everyone!

 

I need create an Java application to open a Crystal Reports 2013.

 

I use an Eclipse Mars.1 Release (4.5.1)

 

I created a Dynamic Web Project with the following configurations.

 

Sem título.png

 

Not knowing which jars import for my application, I added almost all of BO 4.1 SP5.Sem título2.png

Sem título3.png

 

 

I created one JSP, goes code below:

 

---------------------------------------------------------------------------------------------------------------------

<%@page import="com.crystaldecisions.report.web.viewer.CrPrintMode"%>

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"

    pageEncoding="ISO-8859-1"%>

 

<%@ page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer" %>

<%@ page import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase" %>

<%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource" %>

<%@ page import="java.io.Writer" %>

<%@ page import="javax.servlet.http.HttpServletResponse" %>

<%@ page import="javax.servlet.http.HttpServletRequest" %>

<%@ page import="javax.servlet.ServletContext" %>

 

 

<%

 

 

 

 

CrystalReportViewer viewer = new CrystalReportViewer();

viewer.setOwnPage(true);

viewer.setOwnForm(true);

viewer.setPrintMode(CrPrintMode.ACTIVEX);

 

 

 

 

Object reportSource = session.getAttribute("F:\\jrc_view_report");

viewer.setReportSource(reportSource);

 

 

 

 

viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);

 

 

%>

---------------------------------------------------------------------------------------------------------------

 

 

 

 

 

But when I run the application, this message is shown:

 

 

 

HTTP Status 500 - Unable to compile class for JSP:


type Exception report

messageUnable to compile class for JSP:

descriptionThe server encountered an internal error that prevented it from fulfilling this request.

exception

 

 

org.apache.jasper.JasperException: Unable to compile class for JSP:

 

An error occurred at line: [14] in the generated java file: [C:\WorkSpace\EclipseProjets\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\AcessoCrystal\org\apache\jsp\report_005fsource_jsp.java]

Only a type can be imported. com.crystaldecisions.report.web.viewer.CrPrintMode resolves to a package

 

An error occurred at line: [15] in the generated java file: [C:\WorkSpace\EclipseProjets\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\AcessoCrystal\org\apache\jsp\report_005fsource_jsp.java]

Only a type can be imported. com.crystaldecisions.report.web.viewer.CrystalReportViewer resolves to a package

 

An error occurred at line: [16] in the generated java file: [C:\WorkSpace\EclipseProjets\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\AcessoCrystal\org\apache\jsp\report_005fsource_jsp.java]

Only a type can be imported. com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase resolves to a package

 

An error occurred at line: [17] in the generated java file: [C:\WorkSpace\EclipseProjets\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\AcessoCrystal\org\apache\jsp\report_005fsource_jsp.java]

Only a type can be imported. com.crystaldecisions.sdk.occa.report.reportsource.IReportSource resolves to a package

 

An error occurred at line: 16 in the jsp file: /report_source.jsp

CrystalReportViewer cannot be resolved to a type

 

13: <%

14:

15:

16: CrystalReportViewer viewer = new CrystalReportViewer();

17: viewer.setOwnPage(true);

18: viewer.setOwnForm(true);

19: viewer.setPrintMode(CrPrintMode.ACTIVEX);

 

 

An error occurred at line: 16 in the jsp file: /report_source.jsp

CrystalReportViewer cannot be resolved to a type

13: <%

14:

15:

16: CrystalReportViewer viewer = new CrystalReportViewer();

17: viewer.setOwnPage(true);

18: viewer.setOwnForm(true);

19: viewer.setPrintMode(CrPrintMode.ACTIVEX);

 

 

An error occurred at line: 19 in the jsp file: /report_source.jsp

CrPrintMode.ACTIVEX cannot be resolved to a type

16: CrystalReportViewer viewer = new CrystalReportViewer();

17: viewer.setOwnPage(true);

18: viewer.setOwnForm(true);

19: viewer.setPrintMode(CrPrintMode.ACTIVEX);

20:

21:

22: Object reportSource = session.getAttribute("F:\\jrc_view_report");

 

Stacktrace: org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366) org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:485) org.apache.jasper.compiler.Compiler.compile(Compiler.java:379) org.apache.jasper.compiler.Compiler.compile(Compiler.java:354) org.apache.jasper.compiler.Compiler.compile(Compiler.java:341) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:662) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:364) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) 

 

noteThe full stack trace of the root cause is available in the Apache Tomcat/7.0.65 logs.

 

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

 

Anyone know tells me where is the problem?

BusinessObjects Enterprise Java Software Development Kit (SDK) ??

Converting VBA code to Java with equivalent APIs

$
0
0

Hi,

I have the following code that is in VBA that I would like to convert to Java with equivalent APIs.  What I mean is I want the program in Java to behave the same as that of the program in VBA code.  What it does is:

1) Open a document.

2) Add a filter variable - this is for sectioning.

3) Add a complex filter - this is to pull the content that belongs to the filtering (i.e employee Id).

4) Save the content to a file based on the filtering value and format.

I have been searching for in this forum to see any APIs that can do the same in Java, but I could not find anything.  Currently the VBA code processes Deski doucment and I want to do the same and Webi in Java.  Please help.  Thanks!  Code snippet in VBA enclosed below:

 

    Set myFilterVar = mydoc.DocumentVariables(in_filter_var)

    Set myFilterVarValueName = mydoc.DocumentVariables.Add("Value", "Filter_Value")

   

    If myFilterVar.ValueCount > 0 Then

        intNumChoices = UBound(myFilterVar.Values(boUniqueValues))

        'collect the number of choices in a variant variable

        myFilterChoices = myFilterVar.Values(boUniqueValues)

     

        For i = 1 To intNumChoices

   'Get the variable value

   strNextValue = Replace(myFilterChoices(i), "'", "")

       

   For j = 1 To TabCount

    Set myrpt = mydoc.Reports(j)

    'build filter

    If IsNumeric(myFilterChoices(i)) Then

     myrpt.AddComplexFilter myFilterVar, "=<" & myFilterVar.Name & "> = ToNumber(<" & myFilterVarValueName.Name & ">)"

    Else

     myrpt.AddComplexFilter myFilterVar, "=<" & myFilterVar.Name & "> = " & """" & strNextValue & """"

    End If

   

    myFilterVarValueName.Formula = strNextValue

    'recompute the report

    myrpt.ForceCompute

   Next j

           

   'now export to desired format, using the filter value as part of the name

   If g_report_file_type_id = pdf Then

    mydoc.SaveAs (lDir & mydoc.Name & "-" & strNextValue & ".pdf")

   ElseIf g_report_file_type_id = xls Then

    mydoc.SaveAs (lDir & mydoc.Name & "-" & strNextValue & ".xls")

   ElseIf g_report_file_type_id = both Then

    mydoc.SaveAs (lDir & mydoc.Name & "-" & strNextValue & ".pdf")

    mydoc.SaveAs (lDir & mydoc.Name & "-" & strNextValue & ".xls")

   End If       

        Next i

    End If

Crystal Server 2013: How to troubleshoot "Can not create temp file---- Error code:-2147215357"

$
0
0

We have a Java7 web app, which generate PDF report by calling Crystal Server 2013 SP4.

 

 

The app is being deployed on many different servers. We sometimes got the error below when generating report:

 

 

com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Can not create temp file---- Error code:-2147215357 [CRSDK00000615] Error code name:internal

at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.controllerExportInternal(PrintOutputController.java:280)

at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(PrintOutputController.java:152)

at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(PrintOutputController.java:130)

at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(PrintOutputController.java:113)

 

 

 

Problem is, this seems to be  a pretty generic exception. It could be caused by many different reasons.

e.g. network connection problem, wrong DB login, wrong folder path, lack of folder access right, etc.

 

 

Each time we could only guess what's wrong.

 

 

We are running into it again, and this time everything seems correctly configured so far.

 

 

We wonder if there are more info we can get to troubleshoot? For example, any log file of Crystal Server we should look into? Or does Crystal Server has debug mode which prints more details to tell us what goes wrong?

Webi Extension Points - getting the SQL or DataProvider

$
0
0

Has anyone used Webi Extension points to "extend" the BO XI R2 Java Report Panel?  Great concept - but seem like "all show".

 

We have a requirement that prior to the Refresh of a report -  we modify the SQL.  I do not see a corresponding Interface for the "view SQL" and "change/freeze SQL"

 

More importantly, I can not get to the DataProvider.   The

IDataProviderPanel only has getName or getUniverseName?  I need com.businessobjects.rebean.wi.DataProvider.

 

We cann't be expected to "decompile" ThinCadenza.jar?

 

Help!?!?

Viewing all 1701 articles
Browse latest View live


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