Retrieve Report schedules

BusinessObjects Enterprise Premium XI R2 Linux
I'm in the process of creating a custom scheduling interface. I understand how to schedule a report with the java SDK, but I'm having a great deal of difficulty retrieving all recurring schedules associated with a report. Here is what I've tried so far:
<UL>
<LI> Create a a user using the CMC
<LI>Log into InfoView as that user. Navigate to a folder that contains a report and click the schedule link
<LI>Schedule the report to run every week on Tuesday
<LI>Load the report I scheduled programmatically using example code.
</UL>
The code I found is as follows. Note that the IEnterpriseSession for the below code was created by logging into the system as the user created above.
IInfoObjects iObjects = iStore.query("SELECT TOP 1* FROM CI_INFOOBJECTS WHERE SI_KIND='CrystalReport' AND SI_INSTANCE=0");
IInfoObject iObject = (IInfoObject) iObjects.get(0);
ISchedulingInfo iSchedulingInfo = iObject.getSchedulingInfo();
System.out.println("Report ID: " + iObject.getID() );
System.out.println("Days interval: " + iSchedulingInfo.getIntervalDays());
System.out.println("Type: " + iSchedulingInfo.getType());
I get the report ID, but the schedule data is always 0. I'm fairly certain I'm missing a basic concept here because I can't see how this would work if the same report was scheduled multiple times.

Thanks Adam, Merry ...
When I was troubleshooting yesterday, I did try adding si_recurring = 1, and I see how it returns the schedules. The challenge I'm having is that it appears as though that query returns <i>all</I> schedules. I'm trying to get the schedules for a single report, only. This query appears to do that:
select * from ci_infoobjects where SI_KIND = 'CrystalReport' AND SI_RECURRING = 1 and SI_PARENTID = 21348
(21348 is the ID of the Crystal Report I scheduled). I've worked that into the following code:
schedules = infoStore.query("select * from ci_infoobjects where SI_KIND = 'CrystalReport' AND SI_RECURRING = 1 and SI_ID=" + reportID);
report = (IInfoObject) schedules.get(0);
And it seems to work OK. Except now I'll have to loop through schedules, instead of getting the first item of the list. Anyone see any issues with that logic?
And do I really need to add <I>SI_INSTANCE=1</I>? When would a schedule not already be an instance?

Similar Messages

  • The report I published on the SQL server report server is not showing in the application we use to retrieve reports.

    The report I published on the SQL server report server is not showing in the application we use to retrieve reports. My cell phone number is {removed}
    Thanks.

    Hello Roger Tenn,
    Thank you for posting in the TechNet Forum.
    As this issue is related to SQL server report server, to receive better report, it is recommended to ask in the SQL server forum.
    https://social.technet.microsoft.com/Forums/en-US/home?category=sqlserver
    The professionals here will be glad to help you.
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • Error on open the Report Schedule Page from other application

    Hi,
    I want to open the only "Report Schedule Page" of the InfoView from my application. For this I am using the following url -
    http://servername:8080/businessobjects/enterprise115/desktoplaunch/InfoView/CrystalEnterprise_Report/schedule/get.do?objId=526
    The problem I am facing is that sometime the Report Schedule Page open successfully and sometimes it gives the following error -
    HTTP Status 400 - Invalid path /InfoView/InfoView/logon/logon was requested
    type Status report
    message Invalid path /InfoView/InfoView/logon/logon was requested
    description The request sent by the client was syntactically incorrect (Invalid path /InfoView/InfoView/logon/logon was requested).
    Apache Tomcat/5.0.27
    Please help me in resolving this issue?
    Thanks,
    Vicky

    Hi,
    first of all it is neither supported nor recommended to embed or call single components or pages of InfoView in other applications. You would have to write your own schedule page using the BO SDK.
    The problem you are facing looks like the component you are calling does not get or find a valid session to the BOE system in the desired place. But even if it would (sometimes you are seeing that) I doubt that it would work to schedule a report using this mechanism as the further requests when pressing the OK button will call other parts of InfoView then, which will probably cause other problems. So try to use another solution as stated above.
    Regards,
    Harald

  • Crystal report scheduling error

    Hello,
       We are getting this error Intermittently, "login error. [CrystalEnterprise.DiskUnmanaged]: [Logon failure: unknown user name or bad password.]" when we schedule crystal report to file location. I had checked the user name and password and access to the file location, they are fine. We have scheduled this report to run daily, but somedays it throws the above error and somedays it runs fine. Any ideas please?
    Thanks,

    Rakesh,
    Issue has been resolved in below forum, please check
    CrystalEnterprise.DiskUnmanaged: Logon failure
    Crystal Report Scheduling Destination Options in Infoview
    Regards,
    Arjun

  • Error while trying to retrieve reports

    Hi ,
    I am getting the below error while trying to retrieve reports.
    "5203:ADM Error proceessing results from query:The dataform grid is invalid. Verify that all members selected are in Essbase. "
    Can any one help me know the cause of this error and how to get rid of it?
    Thanks in advance

    It sounds like you have a grid (visible or hidden) with an invalid member name in it. IT could be caused by the member being hard coded into a row or column and then the member being deleted or renamed in the outline. The only way to fix it is to check each member anme in the grids and determine what changed.

  • Report Scheduling. How to syncronize the GMT and the local server timezones

    Hi everybody, I need to schedule reports using the Schedule tab on BIP, but I didn't still understand how the syncronization between my server's timezone and the GMT timezone works.....
    I noticed that when I open the Report Schedules initial page, this is refreshed using the GMT timezone as follows:
    Page Refreshed   Monday, July 26, 2010 7:53 AM GMT
    Actually I'm located in Athens (GMT+3)
    I noticed that if I want to Run once a report, ONLY the GMT is took in consideration.
    For example, I want to run a report at 11.30 (Athens timeone) where the time conditions are the following:
    BIP time (GMT timezone): 08.00 AM GMT
    server timezone: 11.00 AM (Athens time)
    So, if I want to run a report at 11.30 AM (Athens time), I have to write in BIP (Run once) 08.30 AM, instead of 11.30, otherwise if I put 11.30, the report runs 3 hours and 30 minutes later instead of only 30 minutes !!! This is very frustrating....because it means that everytime I need to remember that there is a difference of 3 hours and if I want effectively....
    I also set the Report Formatting Time Zone = GMT+03:00 to fill the gap between the GMT's timezone and Athens's timezone but it didn't work....
    I found that the variable <xsl:param name="_XDOTIMEZONE">GMT</xsl:param> is set into the tmpl.xsl; I tried to change it (GMT+3 or GMT+03:00), I stop and restart the BIP server....but nothing...the BIP timezone is always GMT (as showed by th Page Refreshed date and time).
    At the end my question is this: is there a way to modify the internal BIP timezone in order to fill the gap between this and the server timezone ?
    In other words, I'd like to see the page refreshed with the server timezone (Athens timezone) and not the GMT timezone, in order to schedule reports thinking directly my local server timezone (and not think always to calculate how many hours is the difference).
    This, I think is a common issue for everybody, but....I didn't find nothing in the forum....
    If somebody found a workaround, every help will be appreciated.
    Thanks
    Alex

    Good Morning Vetsrini,
    I know that the "Report Formatting Time Zone" is used to set the timezone properly INSIDE the report...but my attention now is concentrated on the Scheduling...
    As I mentioned before I'd like to find a way to syncronize the BIP timezone (based on GMT) and my local server timezone (Athens, GMT+2), and this I think it's possiblie only if I can modify the BIP timezone (GMT): instead to have GMT, I'd like to have GMT+2 in order to have the same time in both of systems.
    I already tried to change the variable <xsl:param name="_XDOTIMEZONE">GMT</xsl:param> into the tmpl.xsl, but it didn't work....
    I don't understand how all the others millions of BIP users who don't live in UK can use the scheduler keeping in mind always the gap between their local time and the GMT time set in BIP......
    Do you have another hint or workaround ?
    Thanks for your help
    Alex

  • Format in Report Schedulling

    Hi Gurus,
    I am using Report Scheduling Functionality of SAP. But the report which i am getting is not in appropriate format.
    Please tell how can i change the layout of Scheduled report which can be fitted in Excel?/
    Please revert asap.
    Thank You

    Hello,
    Please describe more what is the transaction code you are using, what is the output etc.
    What error it is giving when downloaded to excel.
    Regards,
    Ravi

  • Report schedules failing silently

    Hi SAP BI gurus and experts!
    We are facing a tough intermittent issue concerning report scheduling. From time to time, mostly on a weekly basis, scheduled reports are not sent via email to the recipients. We try to check on CMC if there's any error, but cannot find anything there - no error status or error message for any report instance. Most of the time, when we restart AdaptiveServer service, emails that had not been sent are then sent normally.
    Does any of you have faced this issue before?
    Could you tell us how we could see the status of the sent/not sent reports?
    We are also checking the log, as described in this post Schedule report (log file) to see if we can find something there.
    Are we checking the right places? Any ideas on what could be causing this behavior?
    We are using SAP BI 4.0 SP9.
    Thanks!!
    Best Regards,
    Luigi

    hi,
    You will not get instances of friday and saturday.
    You will get an instance on the day your cms starts.
    Regards,
    Prithvi

  • IR reports scheduled in workspace doesnt send out emails.

    Hello Everyone,
    Please input your experinces or valuble suggestions for our issue.
    We have several Interactive reports scheduled through the Hyperion Workspace and the scheduler sends out the generated reports to the users via emails in excel, PDF, web archive and MHTML.
    Recently some users are complaining that they are not receving the reports though there emails are in the distribution list. My email is also attached to the distribution list and I receive the reports without any issue. I have checked the log and its shows that job went successfully without any errors and also displays that particluar user's emails too.
    I also get a notification to my email everytime the job runs and it is successfull all the time.
    We are unable to figure out why this is happening to only particluar users.
    Any ideas? Anybody experienced the same issue? We are on version 11.1.2.1.
    Jay.

    Hi,
    I have changed the order of the distribution list and waiting for a confirmation from the users but we are having a new issue.
    One of the scheduled job is not sending out the emails to anyone. I tried to run the report manually and it runs perfectly. Right now we are exporting the file in the format 'Microsoft Office Web Archive.'
    The scheduler was running perfectly untill 5/18 but didnt sendout after 5/18. I have ran report manually and exported as Web Archive and observed that the file size is 17MB. I have checked the previous outputs and all were under 11MB from the time since it was scheduled.
    I suspect this is because of the file size. I have also did a trail run by changing the export option from Web Archive to Excel and it did send out the report and excel file size was 3MB.
    Any ideas on this limitation? We are on version 11.1.2.1.
    .

  • BOE report scheduling based on BW event

    Hi Experts,
    I am looking for a solution to schedule a BOE report (eg. crystal, WebI) based on a BW event (eg. data load is finished).
    Systems: BOE XI 3.1 SP3, BW 7.01
    The best option with minimum SDK enhancements so far is when BW routine creates a file in a specified folder and BOE Event Server picks up this file and raises a file event which is used as a trigger for a report schedule.
    Has anyone come across other alternatives without external file manipulations?
    Any insight into possible BOE BI 4.0 new features on BW-BOE cross platform scheduling and events handling?
    Thank you

    Hi,
    BusinessObjects Enterprise also has an Event Server and the most simple event could be the "existence" of a file on a file server. and yes there is also an SDK for it. You can find more details as part of the BusinessObjects Enterprise documentation on help.sap.com
    ingo

  • XL Reporter Scheduled Jobs and connection settings

    Company needs to decommission current SQL Server and move to new box.
    Company has many XL Reporter scheduled jobs that run on a client machine.
    When the new sql server is in place, what will happen to those jobs? The client machine SBO installation will be directed to the new sql server and the license server there. Will the scheduled jobs "know' from the SBO client to go to the new server for data? Or is the connection string somehow encapsulated in the scheduled job such that they will still try to access data on the old server?
    SBO 2007 A SP 00 PL 48
    (Yes, I know it's old. There are reasons.)
    TIA.

    Your 2nd guess is true: the connection string somehow encapsulated in the scheduled job such that they will still try to access data on the old server. It will not automatically find the new server unless new server has the identical settings.
    You probably need to re-schedule those jobs.
    Thanks,
    Gordon

  • Hyperion S9 BI+ 9.3 Financial Reporting Scheduler is stooping automaticall

    Hi while starting services Hyperion S9 BI+ 9.3 Financial Reporting Scheduler Server is stopping automatically why this is and if i launch FR Studio i am getting a error message "You are not authorized person. Contact your administrator" could I know the reason and how can i rectify.

    Hi,
    I believe- What you mentioned is a classic example of Memory leakage with Windows-Hyperion duo.
    We used to face similar situation with Windows & Hyperion EIS. So, during the off hours, a scheduled batch script kills
    the process & re-start the service +(as you seem to be now doing manually)+ .
    TASKKILL /F /IM olapisvr.exe > %LogFile%
    NET START "Hyperion Analytic Integration Server"  >> %LogFile%
    I'm not quite comfortable with this solution. However, we didn't face problems after doing this.
    - Natesh

  • Webi/Report : Schedule : Destination configuration

    In the Report : Schedule : Destination of Webi, is it possible to disable the "Use the Job Server's defaults" check box in ?

    Oh, I am not sure if you can simply change an config file to achieve this. We had to modify the JSP code behing the schedule page to make the tweaks. But I could be wrong and there might be an easier way to do it that I don't know of.
    If at all you want to play around with the JSP code, I think you might want to look at the file -
    desktoplaunch\InfoView\schedule\destination_include.jsp
    Cheers,
    Sarang

  • Need efficient queries to retrieve reports inside a folder

    Case 1:
    To retrieve reports in a particular folder -
    I am currently using 2 queries -
    a) retrieving parentid given a folder name
    b) retrieving all reports given the above parent id.
    Can I combine these into 1 query ?
    Case 2:
    I also need to retrieve all reports within a given folder and subfolder. Can this be done with 1 query?
    or do I need to retrieve all objects in the folder and then iterate in a loop
    if folder exists and retrieve the reports.

    Hi Jam
    For Case1:  To retrieve Crystal reports in a particular folder, the following query should work.
    Select COUNT (SI_ID) From CI_INFOOBJECTS where SI_KIND = 'CrystalReport' and SI_PARENT_FOLDER = 22826 and SI_INSTANCE = 0
    Hope this helps.
    ThanksSoni

  • Automation of BO Report Scheduling

    Hello,
    I need to automate the process of bi report scheduling using File Based events , following are steps which i followed:
    1) In CMC i created a file event named Trigger.txt and gave the path D:\BO_Events\Trigger.txt.
    2) Then i right clicked on my web i report and selected schedule.
    3) In recurrence i selected the number of retries as 20 and and interval to be 60 secs.
    4) Then under Events tab i selected available events to be Trigger.
    5) The same i did in the default settings and saved all the settings.
    6) Then i mannualy created one text file named Trigger and saved it in the assigned location.
    7)Then under the history of instances ,i did not see any instances created.
    8) Again when i mannually scheduled it , the status remained to be pending.
    9) After which i deleted the file from the location and again created it, then on refreshing the instances the report was scheduled successfully.
    Am i missing any steps in this process ,since i need the report to identify the trigger file by itself and schedule it .
    Also i read in some other blogs where it suggested that if the trigger file is already  present in the folder the report would not start scheduling i.e. when the instance status is pending only then the trigger file should come in the specified folder.
    Which might not be possible since in our system the trigger file is dependent on some other process .
    Hence there is no specific time where trigger file would come inside the folder.
    Please help.

    Hi Arjit
    Please refer point no.3 in the first post .I have set the number of retries to be 20 and interval of 60 secs. And yes ,the event job server is working properly.
    Please tell me if i have missed something.

Maybe you are looking for

  • Need help with a SQL qurey that returns multiple rows for one record?

    I have the following query where I use a CASE WHEN clause to determine the date of a shift that begins with "FRLO" on day1 - day14 of the pay period. It works great if a schedule record contains one day that begins "FRLO", but if more than one day is

  • Photoshop CS6: Screen flickers black when using brush tool on MBP 2013

    I'm experiencing a flickering black box whenever using large brush sizes on Photoshop CS6 using a Macbook Pro (16GB RAM, 2.8 GHz i7, Intel Iris, Late 2013 13") similar to what is shown on: black flickering boxes on Vimeo.  The issue stops if you: Pre

  • Modify layer in a document made up with model

    I made a site without tables (all tag DIV), I have saved the page in a model, I selected one layer in a model and mark the layer (not his contained) in a modifiable area. I saved a page. After I create a new document from model.. when I try to modify

  • Can't get past password after install

    Hi,I did post about this earlier this week but thought I would try again.Since installing SL and running through the set up when I try to log in the name/password is rejected. I know I probably need to reboot with install disc to access preferences b

  • Error on OS language in Netweaver Installation

    Dear all, I want to install an SAP Netweaver JAVA BI (JAVA only) but in the installation process there comes a message that the user groups are in german and they must be in english. After the change of the system language to english the user groups