In Business Objects how can I get a list of reports using a specific universe?
I have been asked the following related questions a few times in the past months and I thought it would be a good idea to post a public answer to them. First the questions:
- Is there any way to get a list of reports that are using a specific universe?
- If I change this universe which reports will be affected?
The Answer – Yes, Definitely, Using Query Builder
The short answer to these questions is “Yes, you can”. The slightly longer answer is, “Yes, this can be done through Query Builder, the BO Auditing data*, or through the Business Objects SDK.” For the purposes of this article, I will confine my further comments to the Query Builder and BO Auditing data solutions; the BO SDK solution requires a set of skills and even licenses that many BO Developers and Administrators do not possess.
I haven’t been keeping track, but I expect that those who have emailed me this question have not studied The Best Query Builder Guide Ever Written. I just wanted to point out that our Query Builder Guide answers these questions, and provides so much more.
The Resolution using Query Builder
For those of you familiar with SQL or just the concept of tables you might think that all you have to do is join up the record of the specific universe with all of the records of the reports where it is used. Well, this is partially true. Firstly, if you know something about query builder you know that reports and universes are stored in separate logical tables and you know that you can’t really join two tables together. The solution here is two part: (1) query the record for the specific universe retrieving all associated report IDs and then (2) query for for each of those report IDs to get the reports’ identifying information.
Query the Universe’s Reports
This is a straightforward query, but be careful if you do not have the universe’s object ID, because it is possible to have two universes with the same name and you wouldn’t want to get wrong data from the start. Here is the SQL statement you need to put in Query Builder:
SELECT
si_id,
si_name,
si_webi,
si_cuid
FROM
CI_AppObjects
WHERE
si_name = 'UNIVERSE_NAME' AND
si_kind = 'Universe'
From this you will get some additional universe info and a list of all reports that are bound to this universe. Copy that list of report object IDs to a text editor and proceed.
Query the Report’s Identifying Information
Take that list of report object IDs from the previous step and parse the list so that each ID is separated by a comma. Then substitute that list for the string “111111,222222,33333 below in the SQL:
SELECT
si_id,
si_name,
si_universe,
si_cuid
FROM
CI_InfoObjects
WHERE
si_id IN (111111,222222,33333) AND
si_kind = 'WebI' AND
si_instance = 0
The output should be your desired list of reports. Now that you see the “si_universe" property you might ask yourself why I don’t query the report table for my universe’s object ID. Good idea, but Business Objects’ Query Builder query language doesn’t yet support filtering on “property bags”, and si_universe, just like “si_webi” are property bags. They hold multiple values in a single property.
The Resolution using BusinessObjects Auditing Data
If you have enabled auditing on your environment’s report servers then you can look to your Auditing data for an answer to this question. However, auditing data is not meta data; it’s records are created as the objects are used. Therefore if a report is never used then it will not be present in this data set. If this is not a concern, or if you would like to know which reports have been used belong to a certain universe, then querying the auditing data is an option for you.
Querying the Auditing Records
There are many ways to mine this data source for the data you need. For most folks the best, easiest method is to use the “Activity” universe. Here you will find the objects you need. A tutorial on this universe and the auditing data is out of scope here, but I’d like to put together a guide on the topic if I hear of any interest. Another way to mine your data is directly against the database tables (these tables are not encrypted like the Business Objects XI CMS Infostore. This certainly allows for better query tuning, but it will increase the complexity for you. You could even use the SQL of a report created against the “Activity” universe as a starting point, but be careful as that universe is full of derived tables.
Final Thoughts
Both of these steps might seem difficult at first, but with a little practice you will find that you can whip out answers to these kinds of questions rather quickly. In fact, now you have the tools to answer the reverse as well: “How can I get a list of universe using a specific set of reports?”. Now you know, and knowing is half the battle.



Hi Julian,
I want get the list of Report names, that are using an set of objects from the universe.
is it possible to write query in Query builder?
Regards
Shala
Hi Shaila, no this data is not stored in the CMS repository database and therefore nothing can query it out. As I have suggested many times to folks, the data is present in the auditing tables. Each refreshed Business Objects Web Intelligence report has all of its objects used recorded in the auditing tables each time the report is refreshed. The limit is that the report must be refreshed and auditing must be enabled.
How do I pull a list of all of the Win AD groups used and which reports they give access to?
Hi Jody, sorry for the delay. No mater what you will need at least two separate kinds of queries (this will only work in BO XI 3.1 or BI 4.0).
First you will need to query out all of the groups using Windows AD (This will get you started, but needs a filter to include only Win AD groups:
SELECT * FROM CI_SystemObjects WHERE si_kind = ‘Group’).
Then you will need to take each group’s object ID (si_id) and run a query against the reports that filters them to only return those where each user group has access. Something like this would do the trick:
SELECT * FROM CI_InfoObjects WHERE si_kind = ‘WebI’ AND IsAllowed(3029, 3)
This will return all reports where the group having object ID 3029 and view rights to the report.
The IsAllowed function only works in Business Objects XI 3.1 and later and it is unsupported and undocumented by SAP. I can tell you that I am documenting in the Query Builder guide version that I plan to release by tomorrow.
Hi Julian,
We have been told Query builder is not availbale in R3. How do we run this query? Is it something that we need to buy separate brom SAP?
Hi Reeta, whoever told you that needs to go on your list of people to second-guess and question. Business Objects XI 3.1 (which I assume is what you are calling R3) certainly does have Query Builder. So also does the latest release of Business Objects called Business Intelligence platform 4.0 (BI 4.0). The web application “AdminTools” must be deployed for you to be able to use it. As far as I know Query Builder and “AdminTools” is free, always has been.
It is possible that the person who setup your web applications did not deploy AdminTools, or they did not know that AdminTools is where Query Builder lives. Either way, please let me know if you have found it on your system or been able to deploy it.
Thank you so much for your quick reply. It is a possibility that they did not know where query builder lives while deploying. Can you give some steps how we can deploy it now?
Hi Reeta,
You will require a Java web application server for using AdminTools(Query Builder) war file to be deployed on. Probably you are using WACS/.NET as a combination thats the reason why they must have said you cannot use AdminTools
Regards,
Ravi
Thank you Ravi! I will check with our server team.
Reeta
Any info about how to get the list of scheduled reports with its status ( success/Failed) for a perticular user? Any help appreciated..
Hi Jayant, Business Objects does not store very much historical auditing information in the CMS InfoStore Repository. However, schedule jobs are actually stored there. The trouble is that if you have any instance limits on your system you will only be able to query on the instances that remain after your limits have been applied. Therefore, let’s say you have a 10 instance limit applied across the system. If you have a job that runs every 15 minutes all day long, then in 2.5 hours you will have generated 10 new instances and each 15 minutes after that the CMS may delete COMPLETELY the oldest instance applying the instance limit of 10 because a new one has arrived to replace it. Anyway to query these all you need is this:
SELECT *FROM CI_InfoObjects
WHERE si_kind = 'WebI'
AND si_instance = 1
AND si_recurring = 0
AND si_owner = 'Your-Particular-User'
You will need to decide what you want to add to the SELECT clause after analyzing the output using *.
You may also find information about completed schedules in the auditing data. You need to have auditing enabled and specifically auditing for jobs. Business Objects stores auditing data in the tables Audit_Event and Audit_Detail. Identifying scheduled jobs from this data will be difficult, however.