Querying Repository - Finding Scheduled Reports
I think we can all agree that the administration tools provided by Business Objects lack alot of functionality. Every week a question arises that can't be answered by anything other than a query with Query Builder.
A query that I often use is to find which reports are scheduled reports. This is what I use:SELECT *
FROM CI_INFOOBJECTS
WHERE SI_RUNNABLE_OBJECT = 1
The SI_RUNNABLE_OBJECT = 1
means all reports that are scheduled (true).
Another useful query is to find reports which are scheduled to run between a certain period of time.SELECT *
FROM CI_INFOOBJECTS
WHERE SI_NEXTRUNTIME BETWEEN '2008.01.01.08.00' AND '2008.01.10.13.00'
The format of the date/time is 'yyyy.mm.dd.hh.mm.ss'. I have omitted the seconds part. Anything from right to left can be removed. The hour format must be 24 hour. Note that the returned date/time is in 12 hour format.
To filter the results in any of the queries above you can use SI_KIND
with any of the following object types (I have removed not applicable object types):
CrystalReport
Excel
FullClient
Pdf
Rtf
Txt
Webi
Word
Remember that if you use the SI_KIND
on the query above you filter on the resulting instance object type, not the report type that the schedule is based on. E.g.: If you create a report i Crystal Report and you schedule it to run every day with Adobe Acrobat format you must use Pdf as filter.
3 comments:
What schema is this in? I looked in the BUSOBJS schema and didn't see that table. I'd like to use a better query tool than this Query Builder.
Thanks
You can't really use any other tool than Query Builder to get information from the DB repository. Most of the information in the tables are in an internal format and stored in a binary field.
One other way to get information from the DB repository is to use one of the available API's.
I'm Абрам Александр a businessman who was able to revive his dying lumbering business through the help of a God sent lender known as Benjamin Lee the Loan Consultant. Am resident at Yekaterinburg Екатеринбург. Well are you trying to start a business, settle your debt, expand your existing one, need money to purchase supplies. Have you been having problem trying to secure a Good Credit Facility, I want you to know that Mr Benjamin will see you through. Is the right place for you to resolve all your financial problem because am a living testimony and i can't just keep this to myself when others are looking for a way to be financially lifted.. I want you all to contact this God sent lender using the details as stated in other to be a partaker of this great opportunity Email: 247officedept@gmail.com Or WhatsApp/Text +1-989-394-3740.
Post a Comment