Query to find the list of workbooks and worksheets assiciated to those book

Hi Gurus,
Could you help me with the tables / Query to fetch the list of workbooks and associated worksheets names as welll.
Thanks in advance!!
Rgds,
Santosh

Hi Santosh
The whole point of the STATS table is to allow you to query performance, who did what and when. The database itself does not keep such statistics so if you disable Discoverer's method of capturing these you have no way of knowing who did what and when.
Without this it is impossible to say. I would strongly recommend you enable the capturing of statistics.
The reason you cannot directly query a WORKBOOK to determine what WORKSHEETS are associated with it is because that information is stored as binary information and not in SQL format.
Discoverer 10g has the capability of providing detailed information on the EUL. This feature is not offered "out of the box" but can be easily enabled.
The EUL Administrator can enable the feature by completing the following steps (see also MOS Note 556932.1):
1. Log on to SQL*Plus as the Discoverer Administrator on the machine where Discoverer Administration Edition is installed.
2. Execute the EUL5.SQL script found in the *$ORACLE_HOME\discoverer\util* directory. (This script will create the necessary database objects.)
NOTE: If you are using an Oracle Applications mode EUL, you must also run the eul5_apps.sql file in the $ORACLE_HOME\discoverer\util directory.   This script must be run as the EUL owner, and not the Oracle Applications SYSADMIN user.
4. Exit SQL*Plus and log on to the Discoverer Administration Edition product (as the EUL Administrator).
5. From the menu bar, select File | Import.
6. Import the EUL5.EEX file from the ORACLE_HOME\discoverer directory. Once the EUL import is complete, a new business area will be created and visible called The Discoverer V5 EUL. This is the business area that provides the details on the EUL.
EUL Management Workbooks for Discoverer Administrators
The EUL5.EEX file also imports four pre-built Discoverer workbooks. These workbooks are automatically saved to the database during the EEX import and can be executed in Discoverer Plus, Viewer or Desktop:
EUL Workbook Management - shows which workbooks are shared with which users. Examine worksheets to find the folders, items, joins and conditions they depend upon.
EUL Access - This Workbook indicates if a current EUL exists in this users schema. It also displays the EUL's in other user schemas that this user can access.
EUL Query Statistics - Find out which workbooks and worksheets are being used by whom. Examine users ad-hoc queries.
Lineage - Hyper Drill from Discoverer to find a folder or Items Lineage in Oracle Warehouse Builder. To enable the Hyper drill, you will first need to run the Lineage.sql script.
The Discoverer Administrator can use the pre-built workbooks or build their own EUL management workbooks by using the Discoverer V5 EUL business area.
Best wishes
Michael

Similar Messages

  • Query to find the list of users having access to a particular scenario

    Hi,
    I am learning Hyperion Planning 9.2 x version. I wanted to know the query to find the list of users having access to Plan Iteration - 1 scenarion.
    As I am new to Hyperion Essbase and Hyperion Planning, I am assuming these ideas work out to get the desired result.
    1) As Hyperion Planning uses Relational DB to store the User Security information, we can query the list of users who is having access to Plan Iteration - 1 Scenario.
    I am not sure if this solution works. Please correct me If I am wrong.
    2) We can also query from the essbase editor to find out who all having access to this scenario.
    If the above is correct, can you please provide me the query.
    I am really need of this and I will be happy if any one provide the solution.
    Thanks & Regards,
    Upendra. Bestha

    Hi,
    If you are looking for some SQL to retrieve the access rights by member then you can use something like (SQL Server code though can easily be modified for Oracle)
    SELECT usr.object_name as Username,mem.object_name as Member,
    'Access Rights' = CASE acc.access_mode
    WHEN -1 THEN 'None'
    WHEN 1 THEN 'Read'
    WHEN 2 THEN 'Write'
    WHEN 3 THEN 'Write'
    ELSE 'Unknown' END,
    'Relation' = CASE acc.flags
    WHEN 0 THEN 'Member'
    WHEN 5 THEN 'Children'
    WHEN 6 THEN 'Children (inclusive)'
    WHEN 8 THEN 'Descendants'
    WHEN 9 THEN 'Descendants (inclusive)'
    ELSE 'Unknown' END
    FROM
    hsp_access_control acc, hsp_object mem, hsp_object usr
    WHERE acc.object_id = mem.object_id
    AND acc.user_id = usr.object_id
    AND mem.object_name = 'Plan Iteration - 1'
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Query to find the list of BP without having Particular GL transactions.

    Hi Experts,
    I want the query to find the List of Business partner who is not having Journal entry for Certain General ledger.
    Scenario: we are creating JE for TDS posting.
    so, i want to know the list of BP , who and all not having particular TDS GL for the particular period.
    Thanks in advance,
    Dwarak

    Hi Dwarak,
    Sure, no problem
    DECLARE @AcctCode AS NVARCHAR(100)
    SELECT @AcctCode=T0.AcctCode FROM OACT T0 WHERE T0.AcctCode='[%0]'
    DECLARE @DateFrom AS DATETIME
    SELECT @DateFrom=T1.RefDate FROM JDT1 T1 WHERE T1.RefDate=[%1]
    DECLARE @DateTo AS DATETIME
    SELECT @DateTo=T2.RefDate FROM JDT1 T2 WHERE T2.RefDate=[%2]
    SELECT CardCode FROM OCRD WHERE CardType='S'
    AND CardCode NOT IN(
    SELECT DISTINCT ContraAct FROM JDT1
    WHERE Account=@AcctCode AND RefDate BETWEEN @DateFrom AND @DateTo)
    Ok, now, here's the problem that I just encountered. This query will work, but, no matter how we fill the parameter, it will show you the very same result. To be honest, I don't know what's wrong with this query.
    If you change all the variables ( @AcctCode and @DateFrom and @DateTo ) directly, it will give you the accurate result. Take this as an example:
    SELECT CardCode FROM OCRD WHERE CardType='S'
    AND CardCode NOT IN(
    SELECT DISTINCT ContraAct FROM JDT1
    WHERE Account='10030201' AND RefDate BETWEEN '2011-09-01' AND '2011-09-20')
    I hard-code the account code, date from and date to for selection. System will show you the accurate result, but using parameter as in first query, system show same result no matter how we fill the parameter.
    Sorry, it seems that I could only partially solved your problem here. I already tried to create a stored procedure and executing the stored procedure with parameter, but still, somehow SBO show very same result no matter if we change the parameter.
    So, my solution need user to manually change the parameter in query. I know, this is a stupid solution, I'm afraid I can't help you to achieve perfect solution here. Maybe anyone here in the forum could guide me to fix my mistake in first query and how to rectify it?
    Best Regards,
    Hendry Wijaya

  • Is there a way to find the list of PCs and iDevices connected to my Itunes Match?

    Is there a way to find the list of PCs and iDevices connected to my Itunes Match?

    Is there a way to find the list of PCs and iDevices connected to my Itunes Match?

  • PS Script to find the list of users and the groups in a Workgroup server

    Hi There, could you please explain on how to get a complete list of local users and local groups in a "Workgroup" server to which they belong to using Powershell. I'm able to get the users list but couldn't find any help in finding
    the script to find to which localgroup the user belong to. Anticipating your response. Also let me know the cmdlet for Win2k3 servers to find the same.

    Here's some code from David Pham (don't remember wher I fund this code):
    Trap {"Error: $_"; Break;}
    Function EnumLocalGroup($LocalGroup)
    $Group = [ADSI]"WinNT://$strComputer/$LocalGroup,group"
    "Group: $LocalGroup"
    # Invoke the Members method and convert to an array of member objects.
    $Members= @($Group.psbase.Invoke("Members"))
    ForEach ($Member In $Members)
    $Name = $Member.GetType().InvokeMember("Name", 'GetProperty', $Null, $Member, $Null)
    $Name
    # Specify the computer.
    $strComputer = gc env:computername
    "Computer: $strComputer"
    $computer = [adsi]"WinNT://$strComputer"
    $objCount = ($computer.psbase.children | measure-object).count
    $i=0
    foreach($adsiObj in $computer.psbase.children)
    switch -regex($adsiObj.psbase.SchemaClassName)
    "group"
    { $group = $adsiObj.name
    EnumLocalGroup $group }
    } #end switch
    $i++
    } #end foreach

  • Query to reterive the list of parameters and there values for scheduling

    I am develeoping a web application using java sdk want to reterive a parameter list for scheduling.
    i want a query that will reterive the list of parameters
    as we see on the parameters screen in CMC when we schedule the report.

                   // Loop through the parameters to get the parameter names and parameter values.
                            for(int i=1;i<=numberPrompts;i++)
                           // Each prompt has the name SI_PROMPT + a digit starting from 1.  For example, if
                           // there are 2 prompts, the first one would be called SI_PROMPT1 and the second
                           // one would be called SI_PROMPT2.
                       IProperties prompt = (IProperties)siPrompts.getProperty("SI_PROMPT"+i).getValue();
                           // Get the parameter name.
                       String promptName = prompt.getProperty("SI_NAME").getValue().toString();
                           // Start displaying a row.
                           out.println("<tr>");
                              // First column in the row is the parameter name.
                       out.println("<td>Parameter Name = "+promptName+"</td><td><table>");
                           // Get the current values property bag.
                       IProperties currentValues = (IProperties)prompt.getProperty("SI_CURRENT_VALUES").getValue();
                           // Get the number of values for this particular parameter.
                           int numberValues = ((Integer)currentValues.getProperty("SI_NUM_VALUES").getValue()).intValue();
                           // Loop through all of the values for this particular parameter.
                           for(int j=1;j<=numberValues;j++)
                               // Print out the values.
                            // Each value has the name SI_VALUE + a digit starting from 1.  For example, if
                            // there are two values, then the first value would be called SI_VALUE1 and the
                            // second value would be called SI_VALUE2.
                        IProperties currentValue = (IProperties)currentValues.getProperty("SI_VALUE"+j).getValue();
                            // Check for the existence of the "SI_MIN" and "SI_MAX" properties.
                            // If it exists, then display the value.
                            if (currentValue.getProperty("SI_MIN") != null && currentValue.getProperty("SI_MAX") != null)
                                     // The SI_MIN and SI_MAX properties exist.
                                if (currentValue.getProperty("SI_MIN").getValue() != null && currentValue.getProperty("SI_MAX").getValue() != null)
                                    // The properties have values.
                                 // Get the SI_MIN property bag.
                                 IProperties minRange = (IProperties)currentValue.getProperty("SI_MIN").getValue();
                                 // To store the minimum and maximum values.
                                 String minValue = "";
                                 String maxValue = "";
                                 // Get the SI_DATA property of the SI_MIN property bag.
                                 // First verify that SI_DATA exists.
                                 if (minRange.getProperty("SI_DATA") != null)
                                                // SI_DATA exists within SI_MIN
                                     if (minRange.getProperty("SI_DATA").getValue() != null)
                                         // SI_DATA has value so set the minValue to this.
                                      minValue = minRange.getProperty("SI_DATA").getValue().toString();
                             // Get the SI_MAX property bag.
                             IProperties maxRange = (IProperties)currentValue.getProperty("SI_MAX").getValue();
                             // Get the SI_DATA property of the SI_MAX property bag.
                             // First verify that SI_DATA exists.
                                 if (maxRange.getProperty("SI_DATA") != null)
                                     // SI_DATA exists within SI_MAX
                                     if (maxRange.getProperty("SI_DATA").getValue() != null)
                                         // SI_DATA has value so set the maxValue to this.
                                      maxValue = maxRange.getProperty("SI_DATA").getValue().toString();
                             // Print out the Minimum and Maximum values for the parameter.
                             out.println("<tr><td>Range " + j + " Min Value " + minValue + " Max Value " + maxValue + "</td></tr>");
                                else
                                    // The SI_MAX and SI_MIN properties exist, but they don't have values.
                                 out.println("<tr><td>The SI_MIN and SI_MAX properties exist, but they don't have any values.</td></tr>");

  • How to find the list of queries containing a Particular Infoobject

    Hi all,
    I have requirement to find the list of queries and workbooks which contains a Particular Infoobject. Please advice is there any Database table or Programs exists to find..
    Thanks in advance
    GAMY..

    Hi,
    Thanks for your replies.
    I have tried the oprion already..(RSD1 > Type in the name of the InfoObject and from the menu Edit > choose Where Used list.) but no use. It doesn't show the list of queires..It shows only the data targets.
    I would like to know is there any table to achieve the requirement.
    Thanks in advance
    Ganesh(GAMY)

  • Where can i find the list of macros

    where can i find the list of macros and which macro is used for exception ?

    You answered yourself???? :-):-)
    Anycase you can refer the pages under the following link.
    http://help.sap.com/saphelp_erp2004/helpdata/en/c5/e4ad64453d11d189430000e829fbbd/frameset.htm
    Thanks,
    Prasath N

  • Script to find the list of Queries currently running in database with User Login Name and Host Name.

    Hai,
    How to find the list of queries currently running in the Database with User Login Information.
    Since my database application is running slow, to find the slow queries.

    Try the below query
    SELECT r.start_time [Start Time],r.session_id [SPID],
    DB_NAME(database_id) [Database],
    s.host_name,
    s.program_name,
    s.login_name,
    SUBSTRING(t.text,(r.statement_start_offset/2)+1,
    CASE WHEN statement_end_offset=-1 OR statement_end_offset=0
    THEN (DATALENGTH(t.Text)-r.statement_start_offset/2)+1
    ELSE (r.statement_end_offset-r.statement_start_offset)/2+1
    END) [Executing SQL],
    r.status,command,wait_type,wait_time,wait_resource,
    last_wait_type
    FROM sys.dm_exec_requests r
    OUTER APPLY sys.dm_exec_sql_text(sql_handle) t
    inner join sys.dm_exec_sessions s
    on s.session_id = r.session_id
    WHERE r.session_id !=@@SPID -- don't show this query
    AND r.session_id > 50 -- don't show system queries
    ORDER BY r.start_time
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • I have just purchased a Mac Book Pro. I would like to find the list of all updates and downloads that have occurred since purchase. Where can I find that info?

    I have just purchased a Mac Book Pro. I would like to find the list of all updates and downloads that have occurred since purchase. Where can I find that info?

    I know how to do the updates. What I dont know is what size each update that I have completed was. I am having a data usage disagreement with my Telco and want to prove to them that this computer did not download the amount of data they are claiming it did.

  • Find the list of forwarded workitems, forwarded by and forwarded to agents

    Hi experts,
    I want to find the list of workitems which were forwarded and the corresponding forwarded by and forwarded to agents.
    The above requirement is for workitems of all kinds of status (might be completed, ready etc..)
    Please suggest.
    Regards,
    Karthik

    Thanks a lot vikram,
    Hence the answer is refering to SWWLOGHIST table.
    We need to pass the value 'SWW_WI_FORWARD' (which is an FM) to the field 'METHOD' of SWWLOGHIST table and get forwarded by and forwarded to agents from 'METH_USER' and 'PARA_VAL_1' fields for the worktiems in any date range.
    Regards,
    Karthik

  • Query to find the Views and synonyms that are accessing through db_link

    HI all,
    Oracle 10g
    I need a Query to find the Views and synonyms that are accessing through db_link.
    ie.
    database A have the db_link to database B through a schema A
    now i need to find what are the Synonyms and views that are accessing through db_link either directly or indirectly..
    regards,
    Deepak
    Edited by: Deepak_DBA on Dec 10, 2010 5:38 PM

    On the second database (B) use this query to find the SQL which used by the schema A (DB LINK USER). Check the SQL_FULLTEXT column.
    select sql_fulltext,sql_id,module,parsing_schema_name,parsing_user_id,first_load_time,loads,users_executing,rows_processed,plsql_exec_time,sorts,fetches,invalidations,parse_calls,cpu_time,elapsed_time,disk_reads,buffer_gets
    from V$sqlarea
    where parsing_schema_name = 'A' --and to_char(first_load_time,'dd/mm/yyyy') like  '%11/08/2007'
    order by first_load_time desc;
    Regards
    Asif Kabir

  • How to find the list of Queries/Reports which are using Exceptional Aggregation in SAP BI?

    Hi All,
    We are interested to know how to find the list of Queries/ Reports which are using Exceptional aggregation in SAP BI.
    Please let us know is there any table's to check the list of reports using Exceptional Aggregation in SAP BI.

    Hi,
    Here you go..
    1) Go to table RSZCALC and get list of ELTUID where AGGREXC is not INITIAL and AGGRCHA is not initial; now you get only exception aggregation set based on some chars. Also you can further add STEPNR = 1 since your intention is just to get query name , not the calculation details; this will reduce number of entries to lookup and save DB time for next steps.
    Here you will get list of exception aggregation UUID numbers from which you can get properties from RSZELTDIR.
    2) Pass list of RSZCALC-ELTUID to table RSZELTXREF - TELTUID and get list of RSZELTXREF -SELTUID - this table stores query to it's elements maping kind.
    3) Now again pass RSZELTXREF - SELTUID into same table but into different field RSZELTZREF - TELTUID and get RSZELTXREF - SELTUID
    This step you get query reference sheet or column or query general UUID for next step.
    4) Pass list of RSZELTXREF - SELTUID into RSZELTDIR - ELTUID with DEFTP as 'REP'. Now you get list of query names in RSZELTDIR - MAPNAME and description in TXTLG.
    Note: you can also get the reference chars used for exception aggregation from RSZCALC - AGGRCHA field.
    Hope this helps.
    Please keep in mind, it might take more time depends on how many query elements you have in the system...
    Comments added for better DB performance by: Arun Thangaraj

  • Query to find the long running concurrent requests morethan 2 hours

    Can any one please provide the " Query to find the long running concurrent requests which are running more than 2 hours"

    You need to find the different between the current time/date and FND_CONCURRENT_REQUESTS.ACTUAL_START_DATE for the running requests.
    More details can be found in the following notes:
    Note: 187504.1 - bde_request.sql - Process and Session info for one Concurrent Request (11.5)
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=187504.1
    Note: 134035.1 - ANALYZEREQ.SQL - Detailed Analysis of One Concurrent Request (Release 11 and up)
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=134035.1
    Note: 751438.1 - How To Check List , Start And End Dates Of A Parent Concurrent Request And All Childs
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=751438.1

  • Create a query to find the open PO

    Hi all,
    I want to create a query to find the Open PO which GR is not complete or Open invoice.
    But I don't know how can I get the value: still to be invocied ,still to be delivery .
    I want to know which table I can find these information.
    I know a T-code :ME2L can run this report, but the format is not user friendly,so I want to create a new query .

    Hi
    No need to create any query to find an Open PO.
    You can use ME2N or ME2L or ME2N with proper scope of list and selection parameter.
    In scope of list you can use the ALV one to get the user friendly report, if you do not have the ALV then you can
    create your own scope of list by following the steps.
    1) press F1 and click on the customizing icon
    2) Click the button W/O specifying the project
    3) Click Define scope of list
    4) Copy any scope of list for example BEST and rename it as BEST_ALV and Tick the check box AL on the Bottom
    5) You can get this new scope of list in the tcods mentioned above and execute thereports.
    6) Once you get the output you can modify the layoout  to get the user friendly format. Also you can download into excel sheet.
    Hope it helps
    Thanks/karthik

Maybe you are looking for

  • Use of DECODE function in Discoverer 3.1

    Hi all, Is there any better way of using DECODE in Discoverer 3.1, i dont want to use that function in my Discoverer User edition or Admin ed. Many of my queries use the DECODE function. Your help is greatly appreciated.

  • ITunes won't open or uninstall

    Yesterday everything was fine. Today iTunes will not open or uninstall. Also, none of my video players will work (Nero or Windows Media player). Help!? I don't know what to do! Thanks

  • Query parameters in BC and setting up Site Search tracking in Google Analytics

    I would like to enable site search tracking in Google Analytics for a non-eCommerce BC site but I do not know what query parameters I need to use to enable site search tracking - can anyone help?! I can turn Site search tracking 'on' in Analytics but

  • Transparent background of tooltip

    Hi! Does anybody know how to set transparent background in my own JToolTip? I tried to do it with setOpaque, but there was no effect (maybe I did sth wrong)... Thanks for help!

  • Is it a queue managing the BULK jobs?

    Hi all, When creating several jobs to import several batches data to Eloqua by Bulk APIs, would the jobs run one by one? Are the execute by the creating order? Thanks, Biao