Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Source not found

Hi, guys.

I'm using BO XI/R2 SDK and Webi reports and I'm new for Java.

Could you, please, help me to resolve the situation: everything works till I'm trying to use object ReportEngine in the attached code and during debugging it gives me 'Source not Found. The source attachment doesn't contain the source for the file a.class'.

Meanwhile, the following jar files were provided: cecore.jar, celib.jar, ceplugins.jar, cereports.jar, cesession.jar, ceutils.jar, rebean.wi.jar, rebean.common.jar, rebean.jar

and code below works up to the line with invocation of ReportEngine object.

import com.crystaldecisions.sdk.framework.*;

import com.crystaldecisions.sdk.exception.SDKException;

import com.crystaldecisions.sdk.occa.infostore.*;

import com.businessobjects.rebean.wi.*;

// Connect to Crystal Enterprise

CrystalEnterprise ce = new CrystalEnterprise();

ISessionMgr ceSessionMgr;

IInfoObject report = null;

ceSessionMgr = ce.getSessionMgr();

IEnterpriseSession ceSession = ceSessionMgr.logon("Administrator", "", "BOSERVER:6400", "secEnterprise");

IInfoStore ceInfoStore = (IInfoStore)ceSession.getService("", "InfoStore");

IInfoObjects reports = ceInfoStore.query("Select SI_ID, SI_NAME From "

+ "CI_INFOOBJECTS Where SI_PROGID='CrystalEnterprise.Webi' "

+ "And SI_INSTANCE=0");

/////////////////////////////////////////////////////////////////////////////////////////stop working on the next line below

ReportEngines repEngines = (ReportEngines)ceSession.getService("ReportEngines");

ReportEngine widocRepEngine = (ReportEngine)repEngines.getService(


// Retrieve the first InfoObject instance of the Desktop Intelligence document

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

thanks in advance for your help


Former Member
Not what you were looking for? View more on this topic or Ask a question