马上注册,结交更多数据大咖,获取更多知识干货,轻松玩转大数据
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
Introduction
Query Builder is one of the essential and interesting tools in BusinessObjects. Using Query builder one can easily query the BusinessObjects repository and get the required information which cannot be found even in CMC.
To explain more in detail, BusinessObjects repository made up of set of tables to hold the information about the BI content such as Universes, reports, Users, schedules, etc. These tables are encrypted in such a way that the information stored in these tables cannot be readable using conventional SQL query tools. This is the place where Query Builder comes in to picture where in which this is the one and only door step through which we can query the metadata stored in the repository.
Querying repository
The repository information is stored in the form of InfoObject and the CMS reads the InfoObjects from the virtual tables. Below are the BusinessObjects metadata virtual tables and their associated objects.
Virtual table Table description Table Objects
CI_SYSTEMOBJECTSContains InfoObjects that the BI Platform usesUser, User Group, Server, Server Group,Folder, Connection, Calendar,Event
CI_APPOBJECTSHolds InfoObjects that are used by documentsUniverse
CI_INFOOBJECTSContains InfoObjects that are consumed by the end userWebI, Crystal Report, FullClient, PowerPoint, Pdf, Excel, Word, Rtf, Txt,Program, Shortcut
Accessing Query Builder
Query Builder can be found at the below URL http://MyServerort/AdminTools
Make sure you are using a user credentials that is part of Administrator user group in order to gain access to all the repository objects. Please note using Query Builder we can only query the information stored in the CMS database not from the File repository files.
Simple queries to use against the repository
To list all the Users
SELECT * FROM CI_SYSTEMOBJECTS WHERE SI_KIND='USER'
To list all the Universes
SELECT * FROM CI_APPOBJECTS WHERE SI_KIND='UNIVERSE'
To list all the WebI reports
SELECT * FROM CI_INFOOBJECTS WHERE SI_KIND='WEBI'
来自群组: SAP BI 用户组 |