on 12-02-2013 8:40 PM
Hello Experts,
Is there any way to find out if any new report was scheduled or if any existing recurring scheduled report was modified?
For example: I need to find out if any of the existing recurring scheduled was modified or if any new recurring scheduled is created?
If I have to write a query on query builder, how would I do it on XIR 3.1 SP4
Thanks,
Izak
I think I figured out the query...This is the close I got and I verified the result sets and they look good
SELECT
SI_NAME,
SI_OWNER,
SI_CREATION_TIME,
SI_SCHEDULEINFO.SI_DESTINATIONS
FROM
CI_INFOOBJECTS
WHERE
SI_RUNNABLE_OBJECT = 1
AND SI_PROGID_MACHINE = 'CrystalEnterprise.Webi'
AND ((SI_SCHEDULE_STATUS = 9 AND SI_UISTATUS = 12 ) OR (SI_SCHEDULE_STATUS = 8 AND SI_UISTATUS=8))
AND SI_CREATION_TIME BETWEEN '2013.11.25' AND '2013.12.02'
This query is basically pulling the WEBI instance details which are scheduled to emails only.
I noticed when a crystal report is scheduled to email, it uses different si_progid_machine and if a report is scheduled to default, then it has SI_PROGID alone and not SI_PROGID_MACHINE. This si_progid_machine appears only when it is being scheduled to emails. The si_scheduled_status and uistatus has to do something with the schedule being sent in webi or xcel or pdf format and their status. I may be wrong, but these were my observations.
Thanks,
Izak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can we try this Select * from CI_INFOOBJECTS where si_kind='WebI' and si_recurring=1 You can always differentiate the schedules based on their creation and modified time. If creation time is same as modified in most of the cases its a new recurring schedule and if modified time is different it would be modified schedule.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have a look here especially working with dates part http://scn.sap.com/community/bi-platform/blog/2013/06/12/businessobjects-query-builder-best-practice...
Query builder is available in BOXI 3.1 and the link will be http://Servername:8080/AdminTools
However I am not sure on the query that will get you the reports with modified instance ; may be some other SCN members will be of more help with that query you will beed to run....
I will suggest to go through the query builder blog by Mani if you are new in query builder
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jawahar,
How should be the where clause when I'm looking for information between two dates?
I mean I want to find out the updated instance between last monday and this monday.
I tried
SI_UPDATE_TS BETWEEN ( 11/25/2013; 12/2/2013)
and also tried
SI_UPDATE_TS > 11/25/2013 AND SI_UPDATE_TS < 12/2/2013
I tried with single quotes as well as double quotes but I'm not able to get any data...
Please suggest
Thanks
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.