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

WebiPrompt problem: no data to fetch ("your parameter here": no given values)

$
0
0

I am new to SAP Business Objects and am having trouble running a report that has parameters.  Specifically I am trying to execute a Web Intelligence Document that has WebiPrompts.

 

When I execute my program i get the following error:

no data to fetch ("pmTWIA": no given values)


In my code execution I can see that I am passing the xml with the prompts populated AND that when I look at the history for my Web Intelligence document that parameters have been passed.


Please see my java code attachment, debug output, and screen shot for more details



com.sap.tools.commons.exception.NestedException: Interface requested not found : csLIB

$
0
0

Hi we have this error launching java idt sdk

Quote:

com.sap.tools.commons.exception.NestedException: Interface requested not found : csLIB
 
win32_x86\cs_jni.dll: The specified procedure could not be found


the command is
 

Code:

set CLASSPATH=E:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\SL SDK\java\sl_sdk.jar;E:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer\java\*;D:\ebiexpertsGIT\codenet\XComponents\SoftnTic\UserLibrary - ebi-framework-slsdk\ebi-framework-slsdk-0.0.4-test.jar
 
"E:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\sapjvm\bin\java" -Xmx1g -cp "%CLASSPATH%" "-Dbusinessobjects.connectivity.directory=E:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\dataAccess\connectionServer" TestOpenBLX BI41SP5 manager boss secEnterprise 785447
 
 


 
Any help thanks

_________________
Jean-Philippe Golay
ebiexperts
SAP-BI Version Manager, Enterprise Manager, Java Abstration Framefork, Development, API, Versionning, Auditing, Migration on All BI 3.x and 4.x Environments

Crystal Reports calling Cascading prompts through UI

$
0
0

I believe the Web Services SDK for Java will allow us to send request to the semantic layer.

In order to access the universe I will need to use a combination of the SAP BusinessObjects Business Intelligence platform 4.0 (semantic layer) SDK and the SAP BusinessObjects Business Intelligence platform 4.0 (BI document access and administration). Can Someone please confirm that I'm folowing right process.

 

http://scn.sap.com/docs/DOC-27465

 

 

Thanks!

Performance issue with BO4.1 Upgrade from 3.1 Java SDK legacy code

$
0
0


Hi,

I myself Kishore and I am having performance issue while running BO4.1 SDK from the legacy code as below, would you be able to help

attached Leak Suspects from Heap Dump.

Thanks,

Kishore

 

code:

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

 

import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;

import com.businessobjects.rebean.wi.*;
import com.crystaldecisions.sdk.exception.SDKException;
import com.crystaldecisions.sdk.framework.CrystalEnterprise;
import com.crystaldecisions.sdk.framework.IEnterpriseSession;
import com.crystaldecisions.sdk.framework.ISessionMgr;
import com.crystaldecisions.sdk.occa.infostore.IInfoObject;
import com.crystaldecisions.sdk.occa.infostore.IInfoObjects;
import com.crystaldecisions.sdk.occa.infostore.IInfoStore;
import java.sql.Timestamp;

 

public class BusinessObjectsReportGenerator

{

public static void main(String[] args)

{

 

  if (args.length < 1) {

  System.out.println("Use:");

  System.out.println

  (" BusinessObjectsReportGenerator <username> <password> <CMS> <authentication> <filename> <Document Name> <Report[xls,pdf,xml,xlsDataCentric,csv,mhtml,html,dhtml]>");

  System.exit(1);

  }

 

  

  new BusinessObjectsReportGenerator(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);

 

 

}

 

public BusinessObjectsReportGenerator(String username, String password, String CMS, String authentication, String filename, String docName, String reportList)
{
    IEnterpriseSession enterpriseSession = null;
    OutputStream os      = null;
    BinaryView docView = null;
    CSVView csvView= null;
    HTMLView htmlView = null;
    ReportEngine reportEngine = null  ;
    DocumentInstance doc = null;
   
   
       
    try {

        IInfoObject riverDocument = null;

           
        System.out.println("Report " +docName + " started executing " );

        ISessionMgr mySessionMgr = CrystalEnterprise.getSessionMgr();

        enterpriseSession = mySessionMgr.logon(username, password, CMS, authentication);

        if (enterpriseSession != null){
            IInfoStore iStore = (IInfoStore)enterpriseSession.getService("InfoStore");

                       
            System.out.println("Report " +docName + " RETRIEVING INFOOBJECTS");

            String reportQuery = "SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS WHERE SI_NAME='"+docName+"' and SI_INSTANCE = 0 " ;
            IInfoObjects reportObjects = iStore.query(reportQuery);

            if (reportObjects.size() > 0){
                riverDocument = (IInfoObject) reportObjects.get(0);
            }


            if (riverDocument == null) {
               
           
                System.out.println("Couldn't find " + docName + " report in business objects");
                System.exit(1);
            }
           
           
      

            ReportEngines reportEngines = (ReportEngines)enterpriseSession.getService("ReportEngines");

            if (riverDocument.getKind().equals("Webi"))
                reportEngine = reportEngines.getService
                (ReportEngines.ReportEngineType.WI_REPORT_ENGINE);
            else {
                reportEngine = reportEngines.getService
                (ReportEngines.ReportEngineType.FC_REPORT_ENGINE);
            }

            doc = reportEngine.openDocument(riverDocument.getID());
            System.out.println("\nTimeStamp Before Doc Refresh " + new Timestamp(System.currentTimeMillis()));
           
            doc.refresh();
           
            System.out.println("TimeStamp After  Doc Refresh " + new Timestamp(System.currentTimeMillis())+"\n");
           
            Reports riverReports = doc.getReports();
            Report riverReport = riverReports.getItem(0);
            riverReport.setPaginationMode(PaginationMode.Listing);

            if (reportList.contains("xls")) { 
                docView = (BinaryView)riverReport.getView(OutputFormatType.XLS);
                os = new FileOutputStream(filename + ".xls");
                docView.getContent(os);
                os.flush();
                os.close();
            }
            if (reportList.contains("xml")) {
                docView = (BinaryView)riverReport.getView(OutputFormatType.XML);
                os = new FileOutputStream(filename + ".xml");
                docView.getContent(os);
                os.flush();
                os.close();
            }
            if (reportList.contains("pdf")) {
                docView = (BinaryView)riverReport.getView(OutputFormatType.PDF);
                os = new FileOutputStream(filename + ".pdf");
                docView.getContent(os);
                os.flush();
                os.close();
            }
            if (reportList.contains("csv")) {
                csvView = (CSVView)doc.getDataProviders().getView(OutputFormatType.CSV);
                os = new FileOutputStream(filename + ".csv");
                os.write(csvView.getContent().getBytes());
                os.flush();
                os.close();
            }
            if (reportList.contains("xlsDataCentric")) {
                docView = (BinaryView)riverReport.getView(OutputFormatType.XLSDataCentric);
                os = new FileOutputStream(filename + ".xlsDataCentric");
                docView.getContent(os);
                os.flush();
                os.close();
            }
            if (reportList.contains("html")) {
                htmlView = (HTMLView)riverReport.getView(OutputFormatType.DHTML);  //#1
                os = new FileOutputStream(filename + ".html");
                os.write(htmlView.getContent().getBytes());
                os.flush();
                os.close();
            }
            if (reportList.contains("dhtml")) {
                htmlView = (HTMLView)riverReport.getView(OutputFormatType.DHTML);  //#1
                os = new FileOutputStream(filename + ".dhtml");
                os.write(htmlView.getContent().getBytes());
                os.flush();
                os.close();
            }

            if ((reportList.contains("mhtml"))) {
                htmlView = (HTMLView)riverReport.getView(OutputFormatType.MHTML);  //#1
                os = new FileOutputStream(filename + ".mhtml");
                os.write(htmlView.getContent().getBytes());
                os.flush();
            }

        }
        doc.closeDocument();
        reportEngine.close();
        enterpriseSession.logoff();

    }
    catch (IOException ioe)
    {
        ioe.printStackTrace();
        System.out.println("Report " + docName +" IOException Error : " + ioe.getMessage());
        System.exit(1);
    } catch (SDKException se) {
        se.printStackTrace();
        System.out.println("Report " + docName + " SDKException Error : " + se.getMessage());
        System.exit(1);
    }
    finally {
        if (doc!= null)
        {
            try
            {
                doc.closeDocument();
                System.out.println("Report "+ docName +" DocumentInstance Closed");
            }
            catch (Exception e2)
            {
                System.out.println(e2.getMessage());
            }
        }


        if (reportEngine != null)
        { 
            try
            {
                reportEngine.close();
                System.out.println("Report " +docName +" ReportEngine Closed");
            }
            catch (Exception e3)
            {
                System.out.println(e3.getMessage());
            }
        }

        if (enterpriseSession != null)
        {

            try
            {
                enterpriseSession.logoff();
                System.out.println("Report " +docName + " EnterpriseSession Closed");
            }
            catch (Exception e4)
            {
                System.out.println(e4.getMessage());
            }

        }
    }
}

 

}

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

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

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;

}

 

}

java.lang.UnsupportedOperationException when loading local .blx

$
0
0

I looked all the posts that have a simmilar error but they all suggest to add this -Dbusinessobjects.connectivity.directory attribute.

I am using jdeveloper  I have added it an verified in the run log that java command has this directive. My error is as follows:


The code is:

 

Project classpath includes SL_SDK.jar  and

C:\PROJECTS\SL_PROJECT\bin\dataAccess\connectionServer\java\* (all the cs_*.jar files)

 

Also, the java argument is set like this

-Dbusinessobjects.connectivity.directory="C:\PROJECTS\SL_PROJECT\bin\dataAccess\connectionServer"

 

LocalResourceService service = context.getService(LocalResourceService.class);

     // universePath =  “C:\STUFF\TMP\retrieval-2015-10-15-08-04-55\DART- Data Analytics & Reporting Tool.blx”

RelationalBusinessLayer businessLayer = (RelationalBusinessLayer) service.load(universePath);

 

*Note* the computer this is running on remotely connects to BOBJ,  and uses

  1. cmsService.retrieveUniverse()

to retrieve the  universe files  .blx and .dfx etc

 

There is not actually a bobj installation on the machine so the folder C:\PROJECTS\SL_PROJECT\bin\dataAccess\connectionServer is just a copy of the folder from the installation directory.

 

Then I get error:

 

Exception in thread "main" java.lang.UnsupportedOperationException

at com.businessobjects.connectionserver.ConnectionServer.getInstance(ConnectionServer.java:165)

at com.businessobjects.connectionserver.ConnectionServer.getInstance(ConnectionServer.java:100)

at com.businessobjects.mds.services.relational.CsService.<init>(CsService.java:362)

at com.businessobjects.mds.services.solver.AbstractConnectionSolver.getCSService(AbstractConnectionSolver.java:180)

at com.businessobjects.mds.services.parser.decoder.DataFoundationSQLDecoder.getPRM(DataFoundationSQLDecoder.java:79)

at com.businessobjects.mds.services.parser.decoder.DataFoundationSQLDecoder.<init>(DataFoundationSQLDecoder.java:96)

at com.businessobjects.mds.services.parser.decoder.UniverseSQLDecoder.<init>(UniverseSQLDecoder.java:40)

at com.businessobjects.mds.services.parser.EncodeDecodeHelper.decodeExpression(EncodeDecodeHelper.java:301)

at com.businessobjects.mds.services.helpers.BindingHelper.decodeExpression(BindingHelper.java:250)

at com.businessobjects.mds.services.helpers.BindingHelper.decodeResultExpression(BindingHelper.java:264)

at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.getResultExpression(MdsToSdkBusinessLayerConverter.java:343)

at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.copyBusinessItemProperties(MdsToSdkBusinessLayerConverter.java:303)

at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.createSdkItem(MdsToSdkBusinessLayerConverter.java:252)

at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.copyMdsToSdk(MdsToSdkBusinessLayerConverter.java:216)

at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.copyMdsToSdk(MdsToSdkBusinessLayerConverter.java:221)

at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.copyMdsToSdk(MdsToSdkBusinessLayerConverter.java:221)

at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.createSdkModel(MdsToSdkBusinessLayerConverter.java:143)

at com.sap.sl.sdk.authoring.businesslayer.internal.services.BusinessLayerModelToModel.createSdkModel(BusinessLayerModelToModel.java:31)

at com.sap.sl.sdk.authoring.local.internal.services.LocalResourceServiceImpl.createSdkBusinessLayer(LocalResourceServiceImpl.java:191)

at com.sap.sl.sdk.authoring.local.internal.services.LocalResourceServiceImpl.loadInternal(LocalResourceServiceImpl.java:172)

at com.sap.sl.sdk.authoring.local.internal.services.LocalResourceServiceImpl.load(LocalResourceServiceImpl.java:134)

at gov.gnma.iopp.service.bobj.SL_TEST.useSemanticLayer(SL_TEST.java:184)

at gov.gnma.iopp.service.bobj.SL_TEST.main(SL_TEST.java:144)

Caused by: java.lang.NullPointerException

at com.businessobjects.connectionserver.ConnectionServer.getInstance(ConnectionServer.java:151)

... 22 more

List of public folder reports

$
0
0

Hi Team,

 

Do we have any automated way where we can get list of public folder reports including sub folder reports..

 

Regards,

Shiva


Bulk Update database properties in Crystal Reports

$
0
0

Hello Everyone

 

In my situation for one of the apps, I have more than 200 reports organized in diff folders. For both migrating these reports from one environment to other and for updating databases password, I had a need to update database credentials in bulk for all reports.

 

I am putting the code here, in case anyone needs this in a similar situation.

 

 

public class dbUpdate {

 

 

  public static void main(String[] args) throws ReportSDKException, FileNotFoundException, IOException {

    Properties prop = new Properties();

    prop.load(new FileInputStream("config/setup.properties"));

   

       String UpdateDBProps = prop.getProperty("UpdateDBProps");

       String encryptPass = prop.getProperty("encryptPass");

       String decryptPass = prop.getProperty("decryptPass");

       String TopLevelFolder = prop.getProperty("TopLevelFolder");

       String BOCmcHostPort = prop.getProperty("BOCmcHostPort");

       String BOUserName = prop.getProperty("BOUserName");

       String BOPassword = prop.getProperty("BOPassword");

       String dbServerName = prop.getProperty("dbServerName");

       String dbuserName = prop.getProperty("dbuserName");

       String dbpassword = prop.getProperty("dbpassword");

       String logFile = prop.getProperty("logFile");

      

       logger.setLogFilename(logFile);

      

       try

       {

    

      if (encryptPass.equalsIgnoreCase("true")) {

       String eBOPassword= AESencrypt.encrypt(BOPassword)  ;

       String edbpassword= AESencrypt.encrypt(dbpassword)  ;

       logger.write("boPass Plain: " + BOPassword + " boPass Encrypted: "  + eBOPassword);

       logger.write("dbPass Plain: " + dbpassword + " dbPass Encrypted: "  + edbpassword);

       System.exit(0);

     } //if encryptpass is true

    

      if (decryptPass.equalsIgnoreCase("true")) {

        String dBOPassword= AESencrypt.decrypt(BOPassword)  ;

        String ddbpassword= AESencrypt.decrypt(dbpassword)  ;

        logger.write("boPass Plain: " + BOPassword + " boPass Decrypted: "  + dBOPassword);

        logger.write("dbPass Plain: " + dbpassword + " dbPass Decrypted: "  + ddbpassword);

        System.exit(0);

     } //if decryptpass is true

    

         dbpassword = AESencrypt.decrypt(dbpassword);

         BOPassword = AESencrypt.decrypt(BOPassword);

       }

       catch (Exception ex)

       {

         ex.printStackTrace();

       }

             

       //System.out.println("BOCmcHostPort:" + BOCmcHostPort + " dbServerName:" + dbServerName + " dbuserName:" + dbuserName + " dbpassword: " + dbpassword + " Plain");

       logger.write("Update DB: "+ UpdateDBProps + " Root Folder: " + TopLevelFolder + " BOCmcHostPort:" + BOCmcHostPort + " dbServerName:" + dbServerName + " dbuserName:" + dbuserName + " dbpassword: " + dbpassword + " Plain");

       logger.write("Date Timestamp Reportpath and name; existing Original dbserver name/password - Custom DBserver name/password and if updated dbserver name/password - Custom DBserver name/password ");

   Integer TopLevelSIID = Integer.parseInt(TopLevelFolder);

 

  // TODO Auto-generated method stub

        String auth = "secEnterprise";

              

        IEnterpriseSession enterpriseSession = null;

        ISessionMgr sessionMgr = null;//CrystalEnterprise.getSessionMgr();   

        //Exception failure = null;

        boolean loggedIn = true;

 

 

        //ReportClientDocument clientDoc = null;

 

 

        if (enterpriseSession == null)

        {

           try

           {

           sessionMgr = CrystalEnterprise.getSessionMgr();

 

 

           enterpriseSession = sessionMgr.logon(BOUserName, BOPassword, BOCmcHostPort, auth);

           logger.write("LOGIN SUCCESSFUL\n");

          

           }  //try

           catch (Exception error)

           {

           loggedIn = false;

           String failure = "error";

           }  //catch

 

 

           if (!loggedIn)

           {

       

            System.out.println("\nLOGIN FAILED\n");

            logger.write("FAILED LOGIN\n");

           }  //if not logged in

           else

           {

           // Query for all Crystal reports from the Enterprise CMS.

            try {

             IInfoStore iStore = (IInfoStore) enterpriseSession.getService("InfoStore");

             // Get all branches

             IInfoObjects branches = iStore.query("Select SI_ID From CI_INFOOBJECTS Where SI_INSTANCE=0 AND SI_KIND=Folder AND SI_PARENT_FOLDER= " + TopLevelSIID);

             //Check this for recursive - This is customized for Global Billing - Top Root folder/Branch/Batched or ondemand 

             System.out.println("\nTop Level Folder = " + TopLevelSIID + " Member Count= " + branches.getResultSize());

                for (Integer b =0; b < branches.getResultSize(); b++) { // for each branch SIID

                IInfoObject binfoObject = (IInfoObject) branches.get(b);

              String branchName = binfoObject.getTitle();

              Integer branchSIID = binfoObject.getID();

              //logger.write("SI_ID - " + branchSIID + " Branch Name - "+ branchName);

              String query="Select SI_ID From CI_INFOOBJECTS Where SI_INSTANCE=0 AND SI_KIND=Folder AND SI_PARENT_FOLDER= " + branchSIID;

              IInfoObjects folders=iStore.query(query); //batch or ondemand

              for (Integer c =0; c < folders.getResultSize(); c++) { // for each branch SIID

                  IInfoObject cinfoObject = (IInfoObject) folders.get(c);

              String cfolderName = cinfoObject.getTitle();

              Integer cfolderSIID = cinfoObject.getID();

              //logger.write("SI_ID - " + cfolderSIID + " demand or batch - "+ cfolderName);

              //Get all Reports of above folder

              String rquery="Select SI_ID From CI_INFOOBJECTS Where SI_INSTANCE=0 AND SI_PARENT_FOLDER= " + cfolderSIID;

              IInfoObjects cfolders=iStore.query(rquery); //batch or ondemand

            

             for (Integer i = 0 ; i < cfolders.getResultSize(); i++ ) {

              IInfoObject infoObject = (IInfoObject) cfolders.get(i);

                        

              String reportName = infoObject.getTitle();

              Integer reportSIID = infoObject.getID();

              //logger.write(branchName + "/" + cfolderName + "/"+ reportName);

              //logger.write("SI_ID - " + reportSIID + " and Report Name - "+ reportName);

              //Specify SI ID for testing

                      

              query="SELECT SI_ID, SI_NAME, SI_LOGONINFO, SI_PROCESSINFO FROM CI_INFOOBJECTS WHERE SI_INSTANCE='false' AND SI_PROGID='CrystalEnterprise.Report' AND SI_ID="+ reportSIID;

              //** Below for testing Single reports

              reportSIID=48848;

              query= query + " AND SI_ID= " + reportSIID + " AND SI_PARENT_FOLDER= " + cfolderSIID;

              //** Below for testing Single reports

              IInfoObjects reports=iStore.query(query);

              if (reports.getResultSize() > 0) {

              IReport report=(IReport)reports.get(0);

              //IProperties reportp=(IProperties)reports.get(0);

              IReportProcessingInfo pluginInterface=(IReportProcessingInfo)report.getPluginProcessingInterface("CrystalReport");

              ISDKList dbLogons=pluginInterface.getReportLogons();

              IReportLogon dbLogon=(IReportLogon)dbLogons.get(0);

              String cdbserver=dbLogon.getCustomServerName();

              String cuser=dbLogon.getCustomUserName();

              String odbserver=dbLogon.getServerName();

              String ouser=dbLogon.getUserName();

            

              //Update db credentials only if UpdateDBProps=true

              if (UpdateDBProps.equalsIgnoreCase("true")) {

                dbLogon.setCustomPassword(dbpassword);

                dbLogon.setCustomUserName(dbuserName);

                dbLogon.setCustomServerName(dbServerName);

                dbLogon.setCustomServerType(IReportLogon.CeReportServerType.ORACLE);

                //update table prefix

                ISDKSet tprefixes = dbLogon.getReportTablePrefixes();

                if (tprefixes != null && !tprefixes.isEmpty()) {

                Iterator tps = tprefixes.iterator();

                IReportTablePrefix prefix = null;

                if (tps.hasNext()) {

                  prefix = (IReportTablePrefix) tps.next();

                }

                prefix.setMappedTablePrefix(dbuserName.toUpperCase()); //may not need . - +"."

                prefix.setUseMappedTablePrefix(true);

               

                } //table prefix   

                dbLogon.setPromptOnDemandViewing(false);

                dbLogon.setOriginalDataSource(false);

                dbLogon.setReportLogonMode(1); //#3942# - 1

             

                //save above values

                report.save();

                             

              } // if UpdateDBProps=true

            

              ISDKList AdbLogons=pluginInterface.getReportLogons();

              IReportLogon AdbLogon=(IReportLogon)AdbLogons.get(0);

            

              //cdbdriver=dbLogon.getDatabaseServerType();

              String acdbserver=AdbLogon.getCustomServerName();

              String acuser=AdbLogon.getCustomUserName();

              String aodbserver=AdbLogon.getServerName();

              String aouser=AdbLogon.getUserName();

              String eocred= odbserver + "/" + ouser;

              String uocred= aodbserver +"/" + aouser;

              String eccred = cdbserver + "/" + cuser;

              String uccred = acdbserver + "/" + acuser;

              String dbCred= eocred + " - " + eccred;

              if (UpdateDBProps.equalsIgnoreCase("true")) {

              dbCred= dbCred + " Updated "+ uocred + " - " + uccred;

              }

              logger.write(branchName + "/" + cfolderName + "/"+ reportName + " ; " + dbCred);

               } //if query returned values                

             } //For on demad or batch           

            } //for all reports

              } //for each branch

         } catch(SDKException re){

                   re.printStackTrace();

                  }

         } //else if logged in

     }  //if null session manager

 

        logger.write("GB Report dbUpdater Completed Successfully ");     

  } //main 

 

} //outermost class

 

 

Enjoy !!!

Develop a java code to automate the recurring instances of webi reports

$
0
0

The application has to be developed using SAP BO sdk for WEBI.

 

Objective:

The objective of the assignment is to develop a java code to automate the recurring instances of webi reports and send it to the specified path.

 

 

Customer Requirements:

  • The program must authenticate the user and login using Windows AD authentication type.
  • The values for the prompts and different combinations of the values must be fetched by the program from database/list of values/excel sheet etc.
  • The webi report has to be run for different values of prompts
  • The application developed should support all types of output formats supported by BO.
  • The application should be generic so that it could be run on different webi reports.

how to pass DATE parameter to crystal reports using java

$
0
0

Hi,

 

Tech: Crystal reports server XI R2.

 

I have a crystal report with date input parameter and the code is below:

 

IInfoObjects reports = infoStore.query("Select SI_PROCESSINFO.SI_PROMPTS "

                                 + "From CI_INFOOBJECTS Where SI_ID = " + multiClientReport.getID() );

       if(reports.size()==0)

       {

         logger.severe("Report does not exist.");

         }

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

         List allParameters = ((IReport) report).getReportParameters();

         logger.severe("Parameters size:" + allParameters.size());

         IReportParameterSingleValue newParameter = null;

         IReportParameter reportParameter = null;

                         reportParameter = (IReportParameter) allParameters.get(l);

         reportParameter.getCurrentValues().clear();

         newParameter = reportParameter.getCurrentValues().addSingleValue();

                            newParameter.setValue(Date.valueOf("2010-01-01").toLocaleString());

                               

The above line is giving below error:                             

 

java.lang.IllegalArgumentException: Invalid argument type

     at com.crystaldecisions.sdk.plugin.desktop.common.internal.y.setValue(Unknown Source)

     at com.hms.MCOReports.scheduleReport(MCOReports.java:133)

     at com.hms.MCOReports.run(MCOReports.java:48)

     at com.crystaldecisions.sdk.plugin.desktop.program.internal.ProgramWrapper.main(Unknown Source)

Exception in thread "main"

 

Please let me know how to pass date parameter to crystal reports.

 

Thanks,

Vijay Kanth

Dose the WebiReportEngine has memory leak?

$
0
0

We have a java program to call the CMS server of BOE to generate specific report to PDF. After

a day, the java program thrown a OOM exception: java.lang.OutOfMemoryError: GC overhead limit exceeded.

 

I dumped the heap and analyzed with HeapAnalyzer, and I got the following leak suspect:

TotalSize (TotalSize/HeapSize%) [ObjectSize] NumberOfChildObject(27,864) ObjectName Address
...
6,467,570 (26%) [24] 1 com/businessobjects/rebean/wi/occa/WebiReportEngine 0xb530bb0
 6,467,546 (26%) [97] 8 com/businessobjects/rebean/wi/ReportEngineImpl 0xb530bc8  6,344,608 (26%) [96] 9 com/businessobjects/wp/om/OMObjectFormats 0xb5314d8   3,218,196 (13%) [36] 1 java/util/Vector 0xb531588    **3,218,160 (13%) [59,360] 7,420 array of [Ljava/lang/Object; 0xc940a08**     585 (0%) [77] 6 com/businessobjects/wp/om/OMFormatNumber 0xc40f050     585 (0%) [77] 6 com/businessobjects/wp/om/OMFormatNumber 0xb9a92b8     585 (0%) [77] 6 com/businessobjects/wp/om/OMFormatNumber 0xc22f8a8     585 (0%) [77] 6 com/businessobjects/wp/om/OMFormatNumber 0xc8489f0     585 (0%) [77] 6 com/businessobjects/wp/om/OMFormatNumber 0xc231528     585 (0%) [77] 6 com/businessobjects/wp/om/OMFormatNumber 0xb753e40     585 (0%) [77] 6 com/businessobjects/wp/om/OMFormatNumber 0xbb78130     585 (0%) [77] 6 com/businessobjects/wp/om/OMFormatNumber 0xb9aa1c0     585 (0%) [77] 6 com/businessobjects/wp/om/OMFormatNumber 0xc260618     585 (0%) [77] 6 com/businessobjects/wp/om/OMFormatNumber 0xc25f710     585 (0%) [77] 6 com/businessobjects/wp/om/OMFormatNumber 0xbe228d0     585 (0%) [77] 6 com/businessobjects/wp/om/OMFormatNumber 0xb9ab0c8     585 (0%) [77] 6 com/businessobjects/wp/om/OMFormatNumber 0xc264e40     585 (0%) [77] 6 com/businessobjects/wp/om/OMFormatNumber 0xc261d80     585 (0%) [77] 6 com/businessobjects/wp/om/OMFormatNumber 0xc40d328     585 (0%) [77] 6 com/businessobjects/wp/om/OMFormatNumber 0xc260e78     585 (0%) [77] 6 com/businessobjects/wp/om/OMFormatNumber 0xb9abfd0     585 (0%) [77] 6 com/businessobjects/wp/om/OMFormatNumber 0xbe219c8     585 (0%) [77] 6 com/businessobjects/wp/om/OMFormatNumber 0xc2642a0     585 (0%) [77] 6 com/businessobjects/wp/om/OMFormatNumber 0xc263398     ...There are 7,400 more children
...

 

 

Versions

BOE: 3.1 SP2

OS:  windows 2008 64-bit

JDK: 6u21

 

Key codes:

m_sessionMgr = CrystalEnterprise.getSessionMgr();
m_wiSession = m_sessionMgr.logon(userName, password, cmsName, authentication);
m_reportEngine = (ReportEngine) m_wiSession.getService("", "WebiReportEngine");
m_iStore = (IInfoStore) m_wiSession.getService("InfoStore");

BinaryView docBinaryView = (BinaryView) m_report.getView(OutputFormatType.PDF);
saveByteArryToFile(docBinaryView, filename);

 

Dose the WebiReportEngine has memory leak? why so many OMFormatNumber objects are created?

 

Any help will be appreciated.

 

Edited by: LingPiao.Kong on Oct 24, 2010 3:36 AM

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

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

Java exception when loading the local business layer

$
0
0

Hi Expert

 

I met a java exception when I want to load the local business layer, the client version is BO4.0SP06.

my code as below:

//get login information(username,password,server etc.) from samples.properties file.

                    Properties properties = SamplesUtilities.getSampleParameters("samples.properties");

                    //create context with session

                    SlContext context = SamplesUtilities.createContextWithSession(properties);

                    CmsResourceService service = context.getService(CmsResourceService.class);

 

                    //Retrieve Universe from server

                    String path;

                    path = service.retrieveUniverse("/Universes/AAD_TEST.unx", "c:/", true);

                    System.out.println("in the path: \"" + path + "\"");

 

                    //get local Resource Service

                    LocalResourceService servicel = context.getService(LocalResourceService.class);

                    //load business layer retrieved from server

                    RelationalBusinessLayer businessLayer = (RelationalBusinessLayer) servicel.load(path);

 

                    //output the description of business layer.

                    String desc = businessLayer.getDescription();

                    System.out.println(desc);

 

when I run it in eclipse, I met a exception on step: RelationalBusinessLayer businessLayer = (RelationalBusinessLayer) servicel.load(path);

the exception information as belwo:

Exception in thread "main" java.lang.UnsupportedOperationException: csEX

          at com.businessobjects.connectionserver.ConnectionServer.getInstance(ConnectionServer.java:165)

          at com.businessobjects.connectionserver.ConnectionServer.getInstance(ConnectionServer.java:100)

          at com.businessobjects.mds.services.relational.CsService.<init>(CsService.java:378)

          at com.businessobjects.mds.services.solver.AbstractConnectionSolver.getCSService(AbstractConnectionSolver.java:169)

          at com.businessobjects.mds.services.parser.decoder.DataFoundationSQLDecoder.getPRM(DataFoundationSQLDecoder.java:79)

          at com.businessobjects.mds.services.parser.decoder.DataFoundationSQLDecoder.<init>(DataFoundationSQLDecoder.java:96)

          at com.businessobjects.mds.services.parser.decoder.UniverseSQLDecoder.<init>(UniverseSQLDecoder.java:40)

          at com.businessobjects.mds.services.parser.EncodeDecodeHelper.decodeExpression(EncodeDecodeHelper.java:301)

          at com.businessobjects.mds.services.helpers.BindingHelper.decodeResultExpression(BindingHelper.java:242)

          at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.getResultExpression(MdsToSdkBusinessLayerConverter.java:215)

          at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.copyBusinessItemProperties(MdsToSdkBusinessLayerConverter.java:205)

          at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.copyMdsToSdk(MdsToSdkBusinessLayerConverter.java:169)

          at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.copyMdsToSdk(MdsToSdkBusinessLayerConverter.java:152)

          at com.sap.sl.sdk.authoring.businesslayer.internal.services.MdsToSdkBusinessLayerConverter.createSdkModel(MdsToSdkBusinessLayerConverter.java:118)

          at com.sap.sl.sdk.authoring.businesslayer.internal.services.BusinessLayerModelToModel.createSdkModel(BusinessLayerModelToModel.java:29)

          at com.sap.sl.sdk.authoring.local.internal.services.LocalResourceServiceImpl.createSdkBusinessLayer(LocalResourceServiceImpl.java:192)

          at com.sap.sl.sdk.authoring.local.internal.services.LocalResourceServiceImpl.load(LocalResourceServiceImpl.java:173)

          at com.sap.sl.sdk.authoring.samples.Test.main(Test.java:38)

Caused by: java.lang.UnsupportedOperationException: csEX

          at com.businessobjects.connectionserver.ConnectionServer.getImplementation(ConnectionServer.java:424)

          at com.businessobjects.connectionserver.ConnectionServer.getInstance(ConnectionServer.java:132)

          ... 17 more

Caused by: java.lang.ClassNotFoundException: com.sap.connectivity.cs.extended.ConnectionServer

          at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

          at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:423)

          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

          at java.lang.Class.forName0(Native Method)

          at java.lang.Class.forName(Class.java:266)

          at com.businessobjects.connectionserver.ConnectionServer.getImplementation(ConnectionServer.java:420)

          ... 18 more

 

I'm not sure if some SDK issue causes this error, please help to clarify.

 

Thanks!!!!!!!!!!!!!


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

$
0
0

Friends,

 

Wish you a Happy New Year..

 

Í'm facing a breaker here. I tried to refresh a crystal report via RAS SDK. I got the below error..

 

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

 

 

So i just referred the RAS Log generated and below is what i found.

 

../cdtsagent.cpp (3321)

COM: 0x80070003

The system cannot find the path specified. -- detail msg end -->

ErrorLog 2015  1  2  6:46:49.392 26787 1062 (XBBKLME:267) (../reporthandler.cpp:12471): CReportHandler::buildReportViewerError: CSResultException thrown.   ErrorSrc:"CRPE" FileName:"../reporthandler.cpp" LineNum:12467 ErrorCode:515 ErrorMsg:"This field name is not known.

Error in File {72A288FD-8118-11E4-90BA-005056B20305}.rpt:

Error in formula  FRM_Total_Matches:

'//{#RT_System_Matched_ST}+{#RT_Manual_Match_ST}

This field name is not known.

Details: errorKind" DetailedErrorMsg:""

ErrorLog 2015  1  2  6:46:49.568 26787 1062 (XBBKLME:267) (../cdtsagent.cpp:3323): CDTSagent::doOneRequest reqId=134: <-- detail msg begin -- Analysis Server: 0x80004005

 

 

But the above field is validated and report works good when you refresh from Infoview with any custom DB connection.

 

Scenario appears like ,  If the custom DB configuration of crystal report is similar to the DB i want to connect , report output gets generated. Else it shoots the above error in log..

 

Awaiting your help guys..

 

Thanks,

Bharath

Java SDK exception while retreving the BO Report

$
0
0

Hello,

 

We are facing the below issue while retrieving the BO report:

 

10:50:38,770 - ERROR - ErrorHandler.resolveException(18) | Error caught:
com.sg.boa.exception.BOAException: Unexpected error retreiving the reports from BO : com.crystaldecisions.sdk.exception.SDKServerException: Internal error.

cause:com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2
detail:Internal error.

The server supplied the following details: OCA_Abuse exception 10503 at [sisecserver_impl.cpp : 314]  42254 {}
...Invalid handle for proxy


Could you please look into the above issue  and suggest us back what has gone wrong?

How to get bttoken on long for BO 4.0

$
0
0

A workspace/report, new in 4.0, needs this bttoken. I am not getting it on login yet the 4.0 infoview app, now BI Launchpad, does get the bttoken. How does it do it?

 

Here's my code;

 

                enterpriseSession = sessionMgr.logon(getUsername(), getPassword(), host + ":" + port, authMethod);

                if (enterpriseSession != null)

                {

                    setToken(enterpriseSession.getLogonTokenMgr().getDefaultToken());

                    setToken(URLEncoder.encode(getToken(), "UTF-8"));

                }

 

This is the standard login token but not the bttoken.

Thanks in advance.

constructor exception (Error: WSE 99999) error while creating web session

$
0
0

Hi all,

 

I am working on business objects with Java web sdk on XI R3 version. When I am trying to create a web session with  code like

                     

                      URL objURLSession =new URL("http://boserver:port/dswsbobje/services/Session");          

     Connection objConnection = new Connection(objURLSession);

     Session objSession = new Session(objConnection );

     EnterpriseCredential objEnterpriseCredential = EnterpriseCredential.Factory.newInstance();

     objEnterpriseCredential.setLogin(UserName);

     objEnterpriseCredential.setPassword(sPassword);

     objEnterpriseCredential.setDomain(sCMSName);

     SessionInfo objSessionInfo = objSession.login(objEnterpriseCredential);     

 

     String strSessionID = objSession.getConnectionState().getSessionID();

 

I am getting error on the third line Session objSession = new Session(objConnection ); while creating session.

 

 

org.apache.axis2.AxisFault: constructor exception (Error: WSE 99999)

     at com.businessobjects.dsws.Consumer.CreateAxisFault(Unknown Source)

     at com.businessobjects.dsws.Consumer.propagateAsDSWSException(Unknown Source)

     at com.businessobjects.dsws.Consumer.<init>(Unknown Source)

     at com.businessobjects.dsws.session.Session.<init>(Unknown Source)

     at com.businessobjects.webservice.BOCustomSecurity.boSessiontest(BOCustomSecurity.java:58)

     at com.businessobjects.webservice.TokenWebservice.main(TokenWebservice.java:283)

 

 

I am using Eclipse for developing this application. I am unable to create a web session in .net as well with Java enterprise SDK.

 

Can anybody help me in creating java web session?

 

Thanks in advance,

Rajendra

ReportEngineType cannot be resolved to a type

$
0
0

Hi,

 

I am working on BO 4.1 and getting the error "ReportEngineType cannot be resolved to a type". I know some jar files are deprecated in 4.1, any idea what is the alternative to this issue? Can i use SI_ProcessInfo in place of ReportEngine?

 

Thanks,
Arun

Viewing all 1701 articles
Browse latest View live


Latest Images

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