Discoverer Workbooks

Hi,
I am trying to run a query against the Oracle Database to find all of my Discoverer Documents that have not been shared.
If I run the following:
SELECT *
FROM    EUL.EUL5_DOCUMENTS
This brings me back all documents that users have created on Discoverer.  However some of these documents have been shared and showing in the table: EUL.EUL5_ACCESS_PRIVS.  Is it possible to find the documents that have not been shared.
Logically I have to find a way to say that if the GD_DOC_ID field does not exist on the EUL.EUL5_ACCESS_PRIVS table and the DOC_ID does exist on the EUL.EUL5_DOCUMENTS table then the one on the DOCUMENTS table must not be shared.
I just cannot figure out the SQL Command that would find this.
Please help me
Regards,
Jon Ditchfield

Try this.
Move the one column that has the 'Document Not Shared' in it up to page items and get the ones that say that.. Or add another condition using that column.
This is a modification of one of the reports that comes with the eul.
O320036.AP_CREATED_DATE,
EUL_ADMIN.EUL5_GET_ISITAPPS_EUL,1,DECODE(O320055.EU_ROLE_FLAG,1,EUL_ADMIN.EUL5_GET_APPS_USERRESP(O320055.EU_USERNAME,'R') ,
O320055.EU_USERNAME,NULL,'Document Not Shared',EUL_ADMIN.EUL5_GET_APPS_USERRESP(O320055.EU_USERNAME))),
O320055.EU_USERNAME,'Document Not Shared')) ds,
EUL_ADMIN.EUL5_GET_ISITAPPS_EUL,1,EUL_ADMIN.EUL5_GET_APPS_USERRESP(O320052.DOC_CREATED_BY),O320052.DOC_CREATED_BY), O320052.DOC_CREATED_DATE, O320052.DOC_LENGTH/1024, O320052.DOC_NAME, 'Shared with ===>'
.EUL5_ACCESS_PRIVS O320036, EUL_ADMIN.EUL5_DOCUMENTS O320052, EUL_ADMIN.EUL5_EUL_USERS O320055
( ( O320052.DOC_ID = O320036.GD_DOC_ID ) AND ( O320055.EU_ID = O320036.AP_EU_ID ) ) AND
O320052.DOC_CONTENT_TYPE = 'application/vnd.oracle-disco.wb' ) AND
O320052.DOC_CONTENT_TYPE = 'application/vnd.oracle-disco.wb' )
BY O320052.DOC_NAME ASC, O320052.DOC_CREATED_DATE ASC, 'Shared with ===>' ASC,
EUL_ADMIN.EUL5_GET_ISITAPPS_EUL,1,DECODE(O320055.EU_ROLE_FLAG,1,EUL_ADMIN.EUL5_GET_APPS_USERRESP(O320055.EU_USERNAME,'R'),DECODE(O320055.EU_USERNAME,NULL,'Document Not Shared',EUL_ADMIN.EUL5_GET_APPS_USERRESP(O320055.EU_USERNAME))),NVL(O320055.EU_USERNAME,'Document Not Shared'))

Similar Messages

  • Error while migrating discoverer Workbook

    Hi All,
    I am migrating Business Area and Work book from one instance(QA) to another(Production) DB instance.
    I have successfully did export of business area and import in production instance.
    For workbook migration I have followed the below mentioned steps.
    1) Open QA instance and open the required workbook.
    2) Do "Save As" of the workbook to local machine as ".DIS".
    3)Then Login to Prodcution Open the workbook from the local machine. But in that case it gives following error
    " Cannot join tables.Item dependency "" not found in EUL. "
    "Attempt to open workbook failed" Anyone can help me to solve this issue. Please.
    Thanks
    Alaka

    Hi Janet
    Here are some more notes from my private collection of tips and tricks:
    Discoverer workbooks are very picky when it comes to opening up against an end user layer. Basically, here is what happens:
    All EUL objects have an ID number and a name. When Discoverer saves a workbook it saves both the ID number and the name of every essential object (business area, folders, items and joins) that is used within the workbook. The next time Discoverer opens the workbook it looks at the ID numbers of the objects and tries to find them in the EUL. If it cannot find an object by its ID number it tries to locate it using the object's name. If an object cannot be located either by its ID number or by its name you will get the dreaded Item Dependency error.
    OK, having got that out of the way, if you delete a folder from within the EUL and re-create it you will lose the ID number of the folder and all of its associated objects (items and joins). The only way Discoverer will be able to open this workbook now is if everything within the folder is named EXACTLY the same way (including underscores and casing of the name), otherwise the workbook will not open. Discoverer will report the error message that you are seeing.
    So what can you do? Well, you need to have some way of finding out what the old folder name(s), item names and join names were. Also, you need to make sure that all items that were not hidden are not hidden now. There is no need to worry about the names of hierarchies or lists of values. These are not stored within a workbook and are only hooked in at runtime.
    Seems like you have to somehow painstakingly determine what all of the item and join names were in your old folder(s) and re-create them 100% the same way in the new folder(s). By the way, when the workbook gives you the error message does it also give you an opportunity to assign al alternative item to the item that it can no longer find a value for? This may work but, in my experience, usually doesn't!! It only works if the missing dependency is an item, it won't work if the error is being caused because you have got a join name wrong. Unfortunately, joins MUST have the same name exactly otherwise there is just no way to open the workbook.
    Best wishes
    Michael

  • Seeded Discoverer Workbooks in Oracle HRMS

    Hi,
    I would like to have seeded discoverer workbooks in HRMS. HRMS has many reports available in applications, why there is a need for distributing seeded discoverer workbooks. Are they for any special functionality business wise or just for security purpose.
    Where can I get a list of all the workbooks available in HRMS.
    Thanks,

    If you don't mind my piggy-backing onto your thread....
    Where can i find documentation of the BI views, similiar to what Noetix provides for their reporting views?

  • Migrating Oracle Discoverer Workbooks to OBIEE 11g

    Hello,
    Can you tell me how can we migrate Oracle Discoverer workbooks in to OBIEE 11g , I have heard that there is a tool which is released in last summer for this migration can anyone provide me details on this one.
    Thanks a lot.

    Hello
    I'm afraid Oracle has had no success in converting Discoverer workbooks into OBIEE. It is still on the radar but as yet they have nothing.
    For some of my clients this is a huge setback. I have a client who has more than 32,000 Discoverer workbooks and adding more at the rate of about 5,000 a year. Obviously a customer of this size is a potential customer for OBIEE. The only thing they can do right now is to rewrite all of the reports.
    To do this would be a mammoth task and I did some mathematics for them. Let's say you can rewrite one report every 15 minutes, allowing for testing and parallel runs. Thus you could convert 4 in an hour or 32 in a full day. Diviiding 32 into 32,000 means they would need to allocate 1,000 man days to the task. Bearing in mind that on average a person works about 220 days in a year and you are looking at around 5 man years, not including potentially 1000s of new Discoverer workbooks that have been created in that time. Needless to say my client is not happy with Oracle and refuse to go down this path sticking with Discoverer.
    I know for a fact this company is not alone and I personally implore Oracle to allocate resources to correctly converting Discoverer workbooks. I know part of the problem is that there are things that Discoverer takes in its stride which OBIEE either cannot do or has great difficulty with. Until OBIEE can do everything Discoverer can do I don't see how customers can convert.
    Thoughts anyone?
    Michael

  • How to make Custom Discoverer workbook use Custom Security profile of Apps

    We use Discoverer in Oracle Apps setup. We have added Custom security in our HR People Form of Apps.
    This Custom Security restricts one HR Emplpoyee not view other HR employee record except for himself/herself. Also maintining that they should be able to view all other employee's records.
    The following code was put under the Security Profile Form -- > Custom Security Tab
    exists (select 1
    from per_jobs b
    where ASSIGNMENT.job_id = b.job_id
    and (b.name not like '%HR%')
    and (b.name not like '%Human%')
    and ASSIGNMENT.assignment_number is not null
    union
    select 1
    from fnd_user fu
    where fu.user_name = fnd_global.user_name
    and fu.employee_id = PERSON.person_id
    and ASSIGNMENT.assignment_number is not null)
    Above security profile works fine for HR People Form.
    However, It does not work for our Discoverer Workbooks. I found a note on Metalink 422841.1 which talks about leveraging the Custom Security of Apps in Discoverer Report. I read it, but did not get much clue.
    Can Anyone help.
    Thanks

    Hi,
    If you want to use custom HR security with Discoverer you have to ensure that the correct security filters are applied when the Discoverer reports are run. These filters can use the supplied HR_SECURITY package or you can develop your own conditions using table lookups or functions. To get the filters applied to your reports you have a number of options:
    1. Build the security into custom folders using additional conditions
    2. Use custom database views in Discoverer and build the security into the views
    3. Use mandatory conditions in you Discoverer folders using either a function call or database contexts set at login time
    4. Use VPD (Virtual Private Database)
    I am not sure which of these options you are using to implement your HR security in Discoverer. The last option, VPD, is the most flexible and can give the best performance but maybe it is more complex to set up.
    Rod West

  • List of all Discoverer workbooks & the responsibility shared to those wrkbk

    Dear All
    I have an urgent requirement to develope an SQL query that will fetch all the available discoverer workbooks (in our instance) and the list of responsibilities where these workbooks are shared.
    In addition to this I also need a second query where we need to fetch all the Responsibilities, Menu where discovere report function is attached.
    I am very much sure some one of you can help me. Thanks again to you all. I am waiting for your prompt reply.
    Thansk and regards,
    Avinash Patel

    Thank you Hsawwan,
    I have also managed to write some code which i think will be helpful for many others:-
    select docs.doc_name,
    fnd.responsibility_name,
    priv.ap_eu_id,
    decode(usr.eu_role_flag, 0, 'user', 1, 'role') user_role
    from EUL5HR_US.eul5_documents docs,
    EUL5HR_US.eul5_access_privs priv,
    EUL5HR_US.eul5_eul_users usr,
    apps.fnd_responsibility_tl fnd
    where docs.doc_id = priv.gd_doc_id(+) and priv.ap_eu_id = usr.eu_id(+) and
    usr.eu_username =
    '#' || fnd.responsibility_id(+) || '#' || fnd.application_id(+) and
    fnd.language = 'US'
    and priv.ap_type(+) = 'GD' and docs.doc_name = '&Enter the Workbook Name'
    Thanks and regards,
    Avinash Patel

  • Problem with Discoverer Workbook in Purchasing Intelligence menu

    Hello
    We have implemented out-of-the-box Purchasing Intelligence (PI) that comes with the Oracle e-Business Suite. There is only one Discoverer Workbook - 'Contract Savings Analysis' workbook which cannot be accessed from the Applications.
    This workbook works fine in standalone mode from Discoverer Plus or Desktop. However, whenever trying to access this workbook from the Applications PI menu, Discoverer is launched but the browser hangs with the message 'Loading workbook'.
    We checked the following:
    1. Menu
    2. Sub-menu
    3. Function
    4. Parameter (correctly set to workbook = POASVNGS)
    This is not one of the EDW Discoverer Workbooks but the single PI Discoverer Workbook.
    I was wondering if anybody in this forum has faced this issue before? Your suggestions or comments would be greatly appreciated.
    Thanks
    Sanjib Manna
    IBM Business Consulting Services

    The note provided by Luis will fix the issue.
    Excel 2000 seems not supported for a long time.
    As suggestion to avoid new issues, (specially performance issue), update the SAPGUI and BI Addons to latest version.
    Thanks
    John

  • Scheduling Discoverer Workbooks

    We are trying to replicate an Oracle environment for reporting purposes. We use Discover (3.1.37 currently, version 4 soon) as one of our reporting tools. We have the need to replicate the Discover Scheduling functionality in the second environment. Is there any way to schedule Discoverer Workbooks 'automatically' i.e. not through the Discoverer product? Are there any API's that are available to generate the DBA Jobs/EUL Packages necessary to schedule a workbook ?
    Any comments appreciated ?

    Ian
    For DOS scheduling, take a look at Russ Proudman's presentation at:-
    www.proudman.homestead.com (select presentations, Australia - Dashboard presentation).
    There's also info in the Discoverer Admin handbook under Command line interfaces.
    You can download JIT scheduler at http://www.gibinsoft.net. I've used it with the command line interface and it works fine.
    Can't help you with the API, but I don't think there's anything like that available.
    Cheers
    Chris

  • Options to remove Discoverer workbooks owned by inactive users

    Hi all,
    We have thousands of Discoverer workbooks owned by users who are no more in the organization. Could you please suggest the different options? Is it possible to hide or disable all these workbooks? Are there alternatives other than Deleting them?
    Thanks,
    Asmamaw

    Hi,
    Instead of deleting them you can take ownership over them and then decide what would you like to do with them.
    The easiest way is to export them using the discoverer admin login with the EUL owner.
    then you can login with the user you want it to be the new owner and while importing use the check box to define "take ownership".
    Also since you are dealing with lots of workbooks i suggest you will reffer to the command line interface (the java one..) so that you can perform batch changes.
    [Discoverer EUL Command Line for Java Reference|http://docs.oracle.com/html/B13919_03/ref.htm]
    with the command line you can use the privileges switch to change the share or grants for the workbooks.
    Tamir

  • Using Discoverer workbooks in JDev.

    Hi All,
    I have some discoverer workbooks Discoverer 10g R2(10.1.2) , and developed one web application. I want to import the workbook on click of related link from the web page with user defined look and feel. what I mean is the data and all the feature of the workbook (drill down etc )should like as if in discoverer viewer but the look and feel ( header,footer etc.) should as of the web page. Could any body help me out to resolve this.
    Thanks in advance,
    Ranjeet.

    Hi,
    I am not aware of this, but this may also b ethe wrong forum for such a question. There is a BI forum you can try
    BI Beans
    Frank

  • Foldarizing Discoverer Workbooks

    Hi
    We are using Disco 10G. My client is using Disco plus for Adhoc reporting purpose. Each user has so many work books in different subject area, they were asking, whether it is possible to foldarize the discoverer workbooks,i.e. Subject area A, will have its own folder in Disco plus, and they can keep all their workbooks in that folder, sameway subject area B will have its own folder, all their workbooks will be present in that folder. I think this functionality is not present in Disco plus, but is there anyway to achieve this solution in Disco plus, or lets say in portal we can foldarize the disco plus workbooks or something like that, but the problem is as the user creates in Disco plus, this needs to be refreshed in portal automatically.
    Any suggestions or direction would be really helpful
    Thanks
    balaji

    It sounds like you're asking about saving workbooks to the database - and there being no 'directory' looking structure?
    If that's correct, then no, there is not a directory. As you probably know, when any user saves a workbook to the database, then their username is prefixed for the filename (ie: user: russ saved report: report1, then when I share the report with another user, you'll see: russ.report1).
    There's the concept that I've mentioned before of having a corp user, ie: CORP that takes possession of all corporate workbooks in the database, corporize them, and then users use that one when shared as you'll see, for example: CORP.AP Vendors.
    But to this point, saved in database, one big hole that all share.
    Option 1: Wait for Oracle to release a 'directory' like structure for saving workbooks in the database. I think I just read that they're working on this in a coming release.
    Option 2: Save to a server directory structure (if priv has been set to allow), but no able to in Viewer.
    Option 3: Do the CORP thing
    Russ

  • Discoverer Workbooks and Worksheets

    I am able to use SQL to find the names of all our Discoverer workbooks (select * from apps.eul5_documents docs) but I am no table to retrieve the worksheet tabs within each workbook. Can anyone suggest a change to my SQL to do that?
    Thanks
    Steve

    The only EUL* table i am aware of is EUL5_QPP_STATS, in the column QS_DOC_DETAILS you will find the worksheet name but be aware that the table is a statistics table, you can find more information under this thread how is EUL5_QPP_STATS populated ?

  • How to create a LOV for a parameter in a Discoverer workbook

    How can I create a LOV's for a parameter in a Discoverer Workbook?

    Hello
    If the item you are basing the parameter on already has a list of values then the list will automatically be displayed.
    If you are creating a generic parameter, probably using the <None> link, or you are basing the parameter on an item in a folder that does not have a list of values then there is no way to get one.
    You can create lists of values based on items in a custom folder but then you still need to associate the LOV with an item. However with a little ingenuity and thinking ahead you can actually get LOVs for just about every parameter, just ensure the parameter is based on an item and not using <None>
    Hope this helps
    Michael

  • Error while running a Discoverer Workbook with parameter from command line

    I am trying to run a discoverer report from command line and export the results in xls on to my local machine. I could do it fine for a simple workbook, but if I add a parameter(madatory) to the workbook and run it from command line specifying the parameter value I wanted to run the report for, I do not get any results. Here is the command line I am using.
    dis51usr.exe /connect user/password@database /apps_user /apps_responsibility "System Administrator" /eul EUL_US /open C:\Disco\Test.DIS /sheet Testsheet /parameter Period Jan-07 /export xls C:\Disco\X.xls /batch
    Parameter value is entered in correct format(Jan-07).
    When I removed /batch from this to see if I get any error, Discoverer Desktop opened up, logged in and gets terminated saying 'Oracle Discoverer Desktop has encountered a problem and need to close. We are sorry for the inconvenience.'
    Did anybody come across this issue before?

    Hello,
    If you have a few minutes, Windows is also aborting for me:
    the differences are, my situation is:
    a) am running the command line from a .bat file
    b) am NOT running with parms, want the discoverer query to come up for the user
    c) am running a query from the database
    i am signing in as myself BUT running a query that was created by a generic user called SREG
    c) if i run the .bat file from Windows Explorer, the query opens fine
    d) if i execute the .bat file from within Microsoft Access using the shell command,
    the query opens and then aborts RIGHT BEFORE the parm screen would display
    e) btw, if i modify the .bat file, to run a query from MY database signon, then (d) - running .bat file
    from vb using SHELL command works
    Do you have a ideas as to why (d) does not work? I would be very grateful for your time, tx, sandra
    this is what i posted yesterday, tx: Re: Running Discoverer command line
    tx, sandra

  • Discoverer Workbook comes up in Desktop but not in Plus

    Hi,
    I'm using Discoverer 10g 10.1.2.54 and using Plus version 10.1.2.54. I've modifier a report that comes up in Discoverer Desktop, however when I try to pull it up in Plus I get the following error message:
    Join configuration cannot be resolved.
    Reason: the joins on the detail folders use
    different keys to join to the master Attempt
    to open the workbook failed.Is there a reason I'm getting this error message in Plus and not in Desktop?
    What does this message even mean?
    Thanks.

    Pl see if MOS Doc 863059.1 (Opening Workbook in Discoverer Plus Fails with Error: Join Configuration Cannot Be Resolved) can help
    HTH
    Srini

  • Issue while opening a discoverer workbook

    Hi,
    While opening a workbook in Disc.Desktop, im getting an error as "Oracle Discoverer Desktop has encountered a problem and needs to close. We are sorry for the inconvenience".
    But in Discoverer Viewer i can be able to open and run the reports in the workbook.
    Please suggest me in this.
    Thanks,
    Bopty

    Hi,
    I have seen this problem and it was resolved by applying a patch, so check that you have the latest patches for your Desktop version.
    Rod West

Maybe you are looking for

  • Can i use two iphone on one account

    is there a way that i can use my itunes for two iphones 1 is a iphone4  and a 3sg i want to update the 3sg but it wants me to setup a whole new acct. do i realy need to do this.........

  • Where is my iMessage

    I have Mountain Lion and I can't find for the life of me iMessage on my MacBook Pro Retina. Is not on the dock, is not in the application folder and I can't find it through "Spotlight" Where is it or how do I get it?  Thanks in advance for your help.

  • BIP Desktop version vs. EBS version

    I am experiencing unpredictable results between how Word 2007 (with 10.1.3.3.0) renders my Template and how EBS (BIP v5.6.2) renders the same Template (content above start:body on first page missing). If I am on v5.6.2 in EBS, do I have to use the De

  • Can't install latest Skype update on OS X 10.5.8

    I get a message that my version of Skype is to be retired. Then I find my operating system, which cannot be updated (Mac OS X 10.5. is unable to run the latest Skype. So I need a new computer?

  • After importing photos from a digital camera the thumbnails are blank.

    I purchased a new iMac a few months ago and had no problem with transferring (and viewing) my iPhoto library onto the new computer. However, now when I import photos from my iPhone or camera, the thumbnails are blanks (with little dotted lines around