Retrieve which Oracle Discoverer workbooks are shared with a specific user
Discoverer is a great reporting tool from Oracle which you use to create reports from your Oracle eBS database. You create an End User Layer (EUL) which will describe views and tables that are available in your database schemas - of course also any customized ones. Also you're able to reference any custom pl/sql functions that you've added to your instance - and use those in your EUL definition.
Workbook from OracleBI Discoverer |
SELECT
ACCESS_PRIVS.AP_UPDATED_DATE LAST_UPDATED
, DOCUMENTS.DOC_NAME WORKBOOK_NAME
, DOCUMENTS.DOC_DEVELOPER_KEY WORKBOOK_KEY
, DOCUMENTS.DOC_DESCRIPTION WORKBOOK_DESCR
FROM
EUL_US.EUL5_ACCESS_PRIVS ACCESS_PRIVS
,EUL_US.EUL5_DOCUMENTS DOCUMENTS
,EUL_US.EUL5_EUL_USERS USERS
WHERE
DOCUMENTS.DOC_ID = ACCESS_PRIVS.GD_DOC_ID
AND USERS.EU_ID = ACCESS_PRIVS.AP_EU_ID
AND DOCUMENTS.DOC_CONTENT_TYPE = 'application/vnd.oracle-disco.wb'
AND USERS.EU_USERNAME LIKE '#' || (SELECT USER_ID FROM FND_USER WHERE USER_NAME = <ENTER USERNAME HERE>) || '%'