Skip to Content

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

Issue with scheduling BO4 WEBI reports with prompts using java SDK

Below is my code for scheduling BO 4 WEBI reports with prompts using SDK. I am trying to FTP the report. I do not see any error while java run but the report file is not get uploaded to server.

IDestinationPlugin boDestinationPlugin = getDestinationPlugin(infoStore, ".xls");

ISchedulingInfo schedInfo = webi.getSchedulingInfo();

schedInfo.setRightNow(true);

schedInfo.setType(CeScheduleType.ONCE);

//Add this destination plugin to the object's scheduling info.

IDestinations boDestinations = schedInfo.getDestinations();

IDestination boDestination = boDestinations.add("CrystalEnterprise.Ftp");

boDestination.setFromPlugin(boDestinationPlugin);

//Schedule the InfoObjects.

infoStore.schedule(infoObjects);

Report history shows parameter passed as empty and error message as below.

Parameters:

Error Message:

exception raised: java.lang.NullPointerException

 

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