Scheduling webi reports via Java SDK in BI 4.1

Advertisement

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

Advertisement

Hi Christopher,
Try adding the following line in your code before scheduling:
iWebi.setUserInputLocaleName(documentInstance.getProperties().getProperty(PropertiesType.BASE_LOCALE));
Also as an FYI, please refer below details.
For scheduling webi reports with prompts, the only supported way is to use Restful webservices SDKs.
The feature of scheduling a webi report with prompts were deprected from release BI 4.x and introduced in the new restfull webservices. Restful is the future which SAP is focussing and would be great to have your application on supported terms with SAP.
You can get details about the restful webservices from the documents and blogs available at below forum
http://scn.sap.com/community/restful-sdk
Thanks,
Prithvi

October 11, 2015

Scheduling webi reports via Java SDK in BI 4.1

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

Drill in Webi reports via Java SDK

Hi! Is it possible to programatically drill up\down in Webi reports? I'm looking throught RE documentation - there are interfeces providing drill functionality (DrillInfo etc). But I can't understand how I can drill in InfoObject instance or may be I

How to call Oracle Reports via Java Web Application ?

Dear All, I have developed a web reports using Oracle Reports 11g and would like to display these reports via Java Web App that will call them. Kindly help me in this matter. Regards, Irfani will go as John suggested.........Construct a URL with requ

How to set DbConnections when scheduling a crystal report using Crystal Reports Server Java SDK?

Post Author: Manjula CA Forum: JAVA Hi, Trying to schedule a report using Crystal Reports Server Java SDK. Want to pass DBConnections from API, though passing DBConnections, the report is not being scheduled and says "Failed to retrieve data from the

Scheduling WebI reports in BusinessObjects 4.0 date prompts

will SAp Business Objects 4.0 include some kind of feature to allow people to schedule webi reports in an easier way if the report conatins date prompts? For example if my report has 2 dates start date and end date prompts, it's logical if I want to

Problem scheduling webi reports with XI3.1 pending forever

Hello, I've got a problem scheduling webi reports with XI3.1 scheduler. After confiming scheduling job (loggin in with "administrator" user), status remains "pending" forever(using Infoview or CMC). I tried different job recurrence a m

Scheduled WEBI reports based on File Events not retrieving data

Dear All, We are facing performance related issues with Scheduled WEBI reports based on file based events. When running Web Intelligence on demand it takes  4to 5 Minutes. Scheduling the same report in Excel format it takes more than 20 minutes.Sched

Scheduling WebI reports for Dynamic Date Ranges

Hello Everyone, Our Env is BOBJ XI 3.1 SP2 FP2.5 integrated with SAP NW  BW 7.02 EPH1 We are trying to schedule few WebI reports which can be used on ad-hoc basis as well. Some reports need to get data from starting of the month to today (like MTD) a

Error when scheduling WEBI report to FTP server

Hi We are getting error "destination directory error. CrystalEnterprise.Ftp: 550 Requested action not taken" while scheduling WEBI report to FTP server. Any help would be appreciated Regards, AnisaHi All, I want a run my report once by schedulin

Error when scheduling WebI reports in Infoview

When I shedule WebI reports in Infoview I get the error message "The target program that is required for the task i inactivated". First I choose the report that I want to schedule. Then I rightclick and choose "Shedule" and choose &quo

Schedule webi report to destination to Inbox AND send email notification

I'm writing a new process that will schedule a webi report.  The output of the report needs to be delivered to multiple user's BO Inboxes AND an email notification (without the report attached) needs to be sent telling them that they have a new repor

Scheduling webi report error

Hi Guys, How u all? Guys I need help from your side, While refreshing Webi report in 3.1, getting error: A database error occured. The database error text is: Failed to execute MDX query. Reason: Inconsistent input parameter (parameter: <unknown>, v

Modify Webi Report causes Java Plug-In Fatal Error

Environment: BOXIR2 SP3   Windows XP   Java loaded:  Java 1.6.0_07  +  JRE 1.4.2_04  +  JInitiator 1.3.1.24 Hi, I have been happily developing Webi reports on my PC for several years and to my knowledge, I have not upgraded my Java software even when

Failed Scheduled webI reports

I am running a BO Enterprise 3.1 on a Windows Server 2003 machine.  I have recently updated to SP2.  I am having the issue of any webI report that I would like to schedule that was created on 3.1 pre-SP2 and post SP2 fails when scheduled.  My webI re

Open Webi reports via xcelsius

Hi Gurus, I want to open webi report using URL BUTTON via xcelsius dashboard. I genereted webi report url. and I tested it on borwser(explorer and firefox). ther was no problem, I can see webi report. But When I used url button on xcelsius dashboard;

Unable to schedule webi report with Test user

Hi All, I get the below error when i try to schedule a WEBI report with user id. I can schedule with my developer id. Error Message: Sorry, you do not have the right to 'Edit objects' (ID: 6) for 'sudes_errors' (ID: 45941). Please contact your admini

Scheduling 100 Reports via the Precalculation server.

Hi All We are on BI7 and have a precalculation server. I need to schedule 100 reports once a month to suppliers, my question is is it best to attach it onto a Process Chain or is it best to schedule them independently. Thanks in advance. Regards...BK

Drill Down in a Webi Report via Dashboard Builder

Hi, I am using BOE XI3.1 SP2 and dashboard buider. When you insert a webi document, you can right click on the report to select/unselect a report part.  When you do it for a crosstab in drill mode, it losses the drilling capabilities.  Is there a pat

Change initial report view in web report via commands

Hi, we would like to reduce the number of webtemplates by changing the initial view of a standard webtemplate. One webtemplate will created but used for several user roles. In each user-role we want to add some CMD's. Eg. &cmd=exchange&iobjnm_1=Z9

Can we set prompts value in Webi to schedule thru JAVA SDK 4.0

Hi, I need to schedule webi report which has prompts.  Can we have schedule webi report with prompts in 4.0. I was able set values for prompts and refresh the webi report using documentInstance object. I think we can't use this object for scheduling