Skip to Content
avatar image
Former Member

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();



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

IDestinations boDestinations = schedInfo.getDestinations();

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


//Schedule the InfoObjects.


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


Error Message:

exception raised: java.lang.NullPointerException

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Jun 04, 2015 at 01:46 PM

    How are you passing parameters through your code? Are you entering the parameters using Report Engine SDKs, saving the report and then scheduling?

    PromtsUtil was the class which was used for scheduling a webi reports with prompts, which was deprecated from BI 4.x along with many other Report Engine SDK features. Thus scheduling a webi reports with prompts is not possible with standard BusinessObjects SDKs. There is a workaround for this though, however it is not officially supirted or recommended by SAP.

    The best option here would be to look for the new restful webservice sdks, as it is the future in terms of web intelligence document currently and you have most of the features deprectaed from XI 3.1 being introduced in Restful sdks for BI 4.x.

    More information about Restful can be found here



    Add comment
    10|10000 characters needed characters exceeded