Number of workbooks in discoverer

Hi
I want to know power workbooks . the workbooks which are executed most number of times in Discoverer . is there any query to find ?
in EUL5_Documents i can see a solum NTM ( number of times modified) is this column refering to most number of times the workbooks has been executed? . please help me in this
my discoverer version is (9.0.4)
on linux
i want top 20 reports which are executed highest number of times

You can try something like the following to get all your workbooks listed with the number of times they have been run (in descending order). You will need to change 'EUL_DBA' to name name of your EUL owner:
select owner, workbook_name, count(*)
from
SELECT
( stats.QS_CREATED_DATE ) query_date,
( EUL_DBA.EUL5_GET_OBJECT_NAME(SUBSTR(stats.QS_OBJECT_USE_KEY,1,DECODE(INSTR(stats.QS_OBJECT_USE_KEY,'S',1,1),0,LENGTH(stats.QS_OBJECT_USE_KEY),INSTR(stats.QS_OBJECT_USE_KEY,'S',1,1)-2)),'F') ) folders_used,
DECODE(EUL_DBA.EUL5_GET_ISITAPPS_EUL,1,EUL_DBA.EUL5_GET_APPS_USERRESP(stats.QS_CREATED_BY),stats.QS_CREATED_BY) userid,
DECODE(EUL_DBA.EUL5_GET_ISITAPPS_EUL,1,EUL_DBA.EUL5_GET_APPS_USERRESP(stats.QS_DOC_OWNER),stats.QS_DOC_OWNER) owner,
NVL(stats.QS_DOC_NAME,'*** Unknown ***') workbook_name,
stats.QS_ACT_ELAP_TIME actual_elapsed_seconds,
stats.qs_act_elap_time/60 actual_elapsed_minutes
FROM EUL_DBA.EUL5_QPP_STATS stats
group by owner, workbook_name
order by count(*) desc
Scott

Similar Messages

  • Parameters disappear when trying to run a workbook in Discoverer Viewer

    Please help! We have a number of workbooks that were working previously, but have started exhibiting this strange behavior for certain users. They go to Discoverer Viewer, select the desired worksheet, and enter their parameters. When they hit Go, the form immediately resets; no results are returned, and all of the parameter fields are cleared. Can anyone tell me what's going on?
    -Dave

    Hi Dave,
    I had a similar issue awhile back. It was related to the item class for the input parameter. The item class was being built off a table that the user was not given access to. This was in a data warehouse environment. Maybe, it's just a matter of granting access to the table for the user.
    Regards,
    Nancy

  • How to delete a workbook in Discoverer 10g

    Hello guys,
    Does anyone know how to delete a workbook from Discoverer 10g? I created a report in Discoverer Plus as SYSADMIN and gave this to my user. My user only has access to Discoverer Viewer. He went and did a "Save As" on this report. Now when he loggs in to Viewer again, he sees two report. One created by SYSADMIN and the on he created. I want to delete the one he created. How do I go about doing this? Can I do it from Discoverer? If so, which one(Viewer or Plus)? Will I have to login as him to do this? Please advise.

    Hi,
    I'm sorry for the question but you said:
    You just login as the user into viewer and delete the workbookWhere do you see the option to delete from the viewer ?
    To delete/ manage workbooks you need to login to either Plus or Desktop versions.
    And yes you need to log in using the owner user name
    Tamir

  • Creation of Large Number of Workbooks within short span

    Hi,
    In my Production server, User has created many Workbooks for their convenience.
    Now, I am working on upgrading project. I want to create same amounts of workbook to my Development server. I know how to create but as quantity in thousands and connected with respective roles.
    I would like to know if, there is any process to create workbooks other than usual manual process.
    (I can check the list and not availability of Workbooks from TABLE AGR_HIER and after creating I can check the existence in same table.)
    If any, let me know... shorted method to create lots of workbook in less time.
    Thanks in Advance.
    Devendra Meshram
    Osaka

    Hi,
    I suppose there is no such process to Create Large number of Workbook in short Span.
    I am marking it as Unasawered But, If anybody knows, then Let me know...
    Thanks in Advance..
    Devendra Meshram

  • Export workbooks in discoverer admin

    hello
    I am able to export workbooks from discoverer admin. in DEV env.
    The file is in '.eex' format.
    How can I import '.eex' file into Discoverer Desktop in Test env.
    If i import the same .eex file into Discv Admin @ Test..How can i open it in Desktop@Test.
    Appreciate any feedback
    thanks
    kp

    Hi Tamir,
    As i was having only discoverer plue in 11i i can only export using disc.admin.
    Disc plus dont have options for this
    THanks a lot for your tip..It worked
    I selected
    Refresh The Object
    and "By Identifier"
    I checked only take ownership if original owner can not be found
    and it worked fine
    I have few more clarifications
    1)
    When I click on =Refresh the object
    there is a check box at the bottom says: Preserve Display Related Properties
    Should I check it or not
    2)
    Also when I open the workbook under my name
    workbook was opening only with this option->
    Open the workbook in the current database account
    If the workbook is asking if i need to substitute a join, I may need to do that right?
    thanks
    kp

  • Workbook with Discoverer Viewer in Apps 11i?

    With the help of (Doc ID: 278095.1) I was able to link Discoverer workbooks in Apps 11i. But all of my workbooks open with Discoverer Plus.
    How do I open some of the workbook with Discoverer Viewer in Apps 11i?
    I can open all my workbook directly with Discoverer Viewer without Apps 11i config.
    Current Function Settings (in 11i) are:
    Type: SSWA plsql function
    HTML Call: OracleOASIS.RunDiscoverer
    Thanks in advance for your help,

    Hi,
    Your workbooks are openned with viewer or plus depending on the profile 'ICX: Discoverer use Viewer'. You can override this by setting the viewer parameter on the call to OracleOASIS.RunDiscover. In the config of the Apps function that call OracleOASIS.RunDiscover, on the form tab add &VIEWER=Y or &VIEWER=N onto the end of the parameters. e.g workbook=myworkbook&parameters=param1~value1&viewer=Y
    Hope that helps,
    Rod West

  • Can't create scheduled workbook on Discoverer desktop

    Hi ,All
    I want to create a scheduled workbook on discoverer desktop(end user version) by....
    1. grant privileges to user in the following
    CREATE PROCEDURE
    CREATE TABLE
    CREATE VIEW
    SELECT ANY TABLE
    2. grant scheduled workbook to user in Discoverer Admin(Menu-->Tool--> Privileges)
    when I launch discoverer desktop to schedule workbook ,I can select workbook, set time to run and set parameter but when I accept all parameter to schedule workbook .....the program show the error
    "Internal EUL Error: TransError - Unexpected transaction error"
    Anyone know what is the problem and how to solve it ?
    Thank you,
    Mcka

    Hi
    See the following link, maybe it helps you:
    http://download-uk.oracle.com/docs/html/B13916_04/scheduled_workbooks.htm#sthref493
    Ott Karesz
    http://www.trendo-kft.hu

  • Scheduling Workbooks on Discoverer Viewer.

    Hello guys
    I know you can schedule workbooks in Discoverer 10g Plus, but can you do this in Viewer? If not, then does this mean that we must give all our users Discoverer Plus so that they can schedule their own workbooks? Users used to schedule their own workbooks on Discoverer 4i. Now we are upgrading to 10g and we wanted to give them Viewer access. How do they schedule workbooks in Viewer?
    Thank for all your help..

    Hi,
    In Discoverer viewer you cannot schedule reports though you can retrieve reports that have been scheduled.
    Users that have access to Viewer will also be able to access Plus by entering a Discoverer Plus URL. The users privileges are stored in the EUL and determine what features the Discoverer user can access, not which tool they can use. So if the user has read-only access to the workbooks in Viewer then they will also have read-only access in Plus.
    Rod West

  • Unable to delete workbooks in Discoverer Viewer

    Hi All,
    I could not find any option in Viewer to delete the workbook created by me. Does that mean, users can only save workbooks but cannot delete them in Viewer?
    Thanks.

    Hi
    RE: Oracle gotta see what mess is created after saving the workbooks in Viewer I agree but you are going to have to take some of the responsibility because you allowed the Viewer users to have access to the save privilege.
    Please see Russ' excellent comments. Russ and I see eye to eye on this and I endorse his comments 100% - you should not allow Viewer users to save - period. Russ and I have over 20 years of experience on Discoverer between us and rarely do our opinions differ by very much. This is not surprising because if there's a right way to do something - there's a right way. Sometimes there's an alternative way but rarely are there two right ways.
    The right way to manage Viewer is to withdraw the save privilege from the Viewer users. This of course would not prevent a Plus user from saving in Viewer but it will stop the mess that you are seeing today. Thus, the solution is not to add the delete functionality but to withdraw the save functionality.
    In my experience, Viewer usage should be high, somewhere between a 70:30 to 90:10 ratio when compared to Plus. Because of this high number of users, it is also vitally important that they get trained well on the Viewer tool. Too many companies fail to invest into Viewer training and they suffer greatly because of it. In a lot of companies they assign the training to one of the Plus users, someone who a) is not a trainer, and b) does not know the Viewer tool inside out and back to front.
    I'm not for one second saying that you are in this situation, just saying that this is what typically happens. The end result though is user dissatisfaction which leads to misuse of the system and ultimately on to disuse of the system, with everyone either going back to their old Excel way of working or being granted access to Plus.
    You're definitely on the right path if you are using Viewer so please keep going. Its a great tool for what it does - viewing of reports. You just need to reel in some of that power.
    Best wishes
    Michael

  • Scheduling workbooks in discoverer desktop

    I'm trying to figure out how to schedule workbooks to run and export the output to a folder in Discoverer Desktop, I see in many posts that it can be done easily, I just can't figure it out, can anyone help?
    I did confirm with my DBA that we do have the DBMS_Job package installed.
    When I click on schedule as a user I get the following message:
    A workbook cannot be scheduled for the following reason(s) - summary refresh 'job_queue_processes' parameter is 0
    I would appreciate any help you can offer.
    Thanks,
    Janet
    email: [email protected]

    Hi Janet
    You do not need to have DBA privilegs to schedule workbooks and any user should be able to do this. Here is an article from my notes:
    Setting up Workbook Scheduling
    The workbook scheduling feature in Discoverer uses native features in the Oracle DBMS, and is therefore only available when running against the Oracle database. This feature uses the same highly scalable and reliable processing procedures ithin the kernel, since the summary management capability and the setup for both features is similar. These procedures use standard packages in the DBMS called DBMS_JOB.
    To enable the processing procedures for workbook scheduling in Discoverer, follow these steps:
    A. Grant Schedule Workbook Privilege to the user.
    B. Confirm that DBMS_JOBS has been installed.
    C. Specify result set storage.
    D. Set the time period at which the process kicks in.
    These procedures are described in the following sections:
    A. Grant Schedule Workbook Privilege to the User
    The user must be granted the Schedule Workbooks privilege in the Privileges dialog. Connect to the Administration Edition, and grant the Schedule Workbooks privilege in Tools->Privileges dialog.
    B. Confirming that DBMS_JOBS is Installed
    1. Log onto SQL*Plus as the Administrator, and execute the following SQL statement:
    SQL> select * from all_objects where object_name='DBMS_JOB' and
    object_type = 'PACKAGE';
    If the statement returns no rows, use SVRMGRL to create the necessary packages.
    2. From Windows XP or NT, select Start->Run.
    3. Type in one of the following:
    SVRMGRL
    4. When in the DBA facility, type CONNECT INTERNAL.
    5. Execute the following SQL statement:
    SQL> start <ORACLE_HOME>/rdbms/admin/dbmsjob.sql;
    SQL> start <ORACLE_HOME>/rdbms/admin/prvtjob.plb;
    C. Specifying Result Set Storage
    When a scheduled workbook is run, the results are stored in database tables
    within the database. Result set data created as part of the workbook
    scheduling process may be stored in one of two areas:
    the user's own schema or a centralized schema.
    User's Schema
    In order to enable workbook scheduling in the user's own database schema,
    the user requires the following database privileges:
    Create Procedure
    Create Table
    Create View
    To grant these privileges, do the following:
    1. Log onto SQL*Plus or SQLDBA as the Database Administrator.
    2. Type the following:
    SQL> Grant CREATE PROCEDURE to <USER>;
    SQL> Grant CREATE TABLE to <USER>;
    SQL> Grant CREATE VIEW to <USER>;
    SQL> Grant EXECUTE ANY PROCEDURE to <USER>;
    SQL> Grant SELECT on SYS.DBMS_JOB to <USER>;
    SQL> Grant EXECUTE on SYS.V$_PARAMETER to <USER>;
    where <USER> is the userid of the person who is to be allowed to schedule
    workbooks.
    These privileges must be granted directly to the user and not to a database
    role.
    Advantages: A database limit can be specified on the maximum amount of data a
    user can store in the database. If the result set is stored under the user's
    schema, then you keep control over the maximum amount of space one individual
    user can fill with result sets. If the user creates a scheduled workbook that
    fills that space, it affects only his/her own scheduled workbook.
    Disadvantage: The user is required to have the above privileges in the database.
    Repository User's Schema
    In order to enable workbook scheduling using a centralized repository user's
    schema, the SQL script batchusr.sql must be run in SQL*Plus or SQLDBA as a
    database administrator (such as, SYSTEM). This script creates a new user that
    is granted the above privileges.
    In addition, the administrator of the EUL must change the user so that the
    Repository User property is pointing to the repository user's schema just
    created. The centralized repository user's schema may be customized by the
    database administrator for space management purposes and underlying data access.
    NOTE: SELECT ANY TABLE access is given by the script batchusr.sql,
    but this may be limited provided the repository user's schema is
    granted access to the underlying data that will be accessed for
    workbook scheduling.
    The repository user created will not be able to directly schedule a workbook
    through the User Edition.
    Advantages: Each user does not need DML procedures to run scheduled workbooks.
    Disadvantages: One user can potentially run a scheduled workbook that fills the
    available result set space, preventing other scheduled workbooks from running
    until it is cleared.
    D. Setting the Start Time for Workbook Processing
    The workbook processes run within the database on the server, and are
    controlled by parameters in the initialization file of the Oracle DBMS
    - the INIT<SID>.ORA file.
    To limit the number of processing requests that can run simultaneously:
    The parameter job_queue_processes specifies the number of concurrent processes to use to process DBMS_JOB. It controls the number of processing requests that can be handled simultaneously. The default value is zero, which means processing requests will not be created. You should set it to a minimum of 2 or more if you have any other applications that use DBMS_JOB.
    You need more than one job queue process, because if one job fails for any reason, it may keep getting re-submitted, and thus, prevent everything else in the queue from being completed. If you want to have 10 simultaneous processing requests handled, then you will need to set this to 10.
    The INIT<SID>.ORA parameter job_queue_interval is the time in seconds that controls how often the job processes wake up to process pending jobs. The default is 60, which is quite frequent. What you set this to depends on how frequently you want the process to wake up and serve the requests that have been made. Oracle recommends that you update the 60 seconds default to at least 10 minutes (a value of 600).
    NOTE: This parameter also affects summary management.
    To enable these parameters:
    1. Locate the INIT<SID>.ORA file.
    For example, on Personal Oracle7 the INIT<SID>.ORA file is held in
    <ORACLE_HOME>\database. Its default name is INITORCL.ORA where ORCL is
    the <SID> name.
    2. Enter 2 lines into the file. For example:
    job_queue_processes = 2
    job_queue_interval = 600 (equivalent to 10 minutes)
    NOTE: The summary management and workbook scheduling features both use this scheduling capability within the Oracle DBMS. The interval you specify and the number of concurrent requests affect both features.

  • How to open a defult workbook from Discoverer Plus

    Hi all,
    Is it possible in Discoverer Plus for a user to open a pre defined worksheet in a workbook when he logs in without having to select the workbook and then select the worksheet?
    Please advise how to achive this.
    Any help will be greatly appreciated.
    Thank you all.
    Yjk

    Hi Yjk
    This is possible but you will have to alter the URL call to do it and add the workbook name to the end of the URL.
    You can use either the names of workbooks and worksheet or unique IDs of workbooks and worksheets. Using unique IDs is easier and helps avoid encoding problems with long names. Unique IDs are language independent. The following are the URL parameters to use while working with workbooks and worksheets.
    Discoverer Plus Relational:
    Workbooks:
    opendbid=<workbook ID>
    opendbname=<workbook name>
    Worksheets:
    sheetid=<worksheet ID>
    sheet=<worksheet name>
    Discoverer Viewer:
    Workbook:
    wbk=<workbook ID>
    wb=<workbook name>
    Worksheet:
    wsk=<worksheet ID>
    ws=<worksheet name>
    Discoverer OLAP:
    Workbooks:
    workbookname=<workbookname>
    Worksheets:
    sheet=<worksheet name>
    Note: Discoverer Plus OLAP uses only workbook and worksheet names.
    Examples below:
    How to Find the Unique IDs of Workbooks and Worksheets
    To find the unique ID of a workbook, use thie workflow:
    1. Launch the Open Workbook from Database wizard
    2. Right-click the workbook name
    3. Select Properties.
    The value of the Identifier field indicates the unique ID of the workbook.
    Alternatively, when the workbook is open, select File | Workbook Properties.
    To find the unique ID of a worksheet, use this workflow:
    1. With the worksheet open, select Edit | Worksheet Properties
    2. The Worksheet Properties dialog box opens.
    3. Click the General tab.
    The value of the Identifier field indicates the unique ID of the worksheet.
    The following URL starts Discoverer Viewer and opens a worksheet with the unique ID "156", which is present in the workbook whose unique ID is "MONTHLY_SALES". The connection ID used is "cf_a101".
    http://<machine.domain>:<port>/discoverer/viewer?cn=cf_a101&wbk=MONTHLY_SALES&wsk=156
    If the connection that is used here is a private connection, the user will be prompted for the password.
    In Plus, the same command is:
    http://<machine.domain>:<port>/discoverer/plus?cn=cf_a101&opendbname=MONTHLY_SALES&sheet=156
    Does this help?
    Regards
    Michael

  • Error in week number while running a discoverer reports. URGENT HELP NEEDED

    Hi All,
    we had a requirement of getting the week number for the given date in one of the columns. Here the start date of the year was not always 1-jAN so we had to create a function which returns the week number as an output.
    The problem that we are facing is we are using the Discoverer 4.1.41.05 both at my end and user end. While i am trying to run the report i am getting the right output but while with the same login id when user is trying to get the output he is getting correct data till the data in year 2009 and from 2010 onwards the answer for the week number is coming in lacks. I had suggested the user to re-install the discoverer but still the issue is there.
    If someone know something about this than please reply to the thread and also mail me on [email protected]
    Thanks,
    Sarang.A.Mehta

    I might be late in replying, but hope it might help.
    From your query it seems you are inserting records into interface tables and then calling process order API( probably from some PL/SQL block).
    This is where I am confused, because I hope you understand, that interface tables are for use with Order Import concurrent Program, and for Process ORder API, you need to provide the data as parameter. The api has, header record type and line table type as parameters. So you need to assign correct data to these variables and pass them as parameter when you are calling Process Order API.
    If you are doing the same thing, then post the exact pl/SQL code and error message from the API. That might help diagnose the issue.
    Regards,
    Nitin Darji

  • Error of access denied opening a workbook in discoverer viewer 10.1.2

    When I open a workbook in discoverere viewer in the html page shows this message:
    OracleBI Discoverer Viewer no ha encontrado los datos necesarios para mostrar los resultados de este evento. Corrija los errores y vuelva a intentarlo.
    - access denied (java.lang.RuntimePermission oracle.discoverer.connections)
    However data seems correct, but I don't know how to delete this message.
    Thanks,
    Carlos

    Hi Carlos,
    Metalink has some information regarding what sounds like a solution to your problem under Doc Id : 265228.1. Have a read and let us know if this is for you and whether you get it working in a development environment.
    Symptoms
    Discoverer 10g (9.0.4) Plus and Viewer throws 'page cannot be displayed'
    Other symptoms
    A.) Discoverer Plus shows a file download dialog with virus warning "Some files can harm your computer. If the file information below looks suspicious, or you do not fully trust the source,do not open or save the file."
    Opening or cancelling will again throw "page cannot be displayed"
    B.) Plus throws a blank page and Viewer throws 500 internal server error
    Cause
    Installation failure on configuring discoverer in OC4J_BI_Forms may caused the problem.
    Using pre-production / beta code (M16b shiphome) will cause the problem.
    Fix
    1.) Edit the file $ORACLE_HOME(midtier)/j2ee/OC4J_BI_Forms/config/java2.policy
    2.) Add the below lines at the end of the file
    ================================
    grant codebase "file:${oracle.home}/discoverer/lib/discoverer5.jar" {
    permission java.lang.RuntimePermission "oracle.discoverer.connections";
    grant codebase "file:${oracle.home}/j2ee/home/-" {
    permission java.lang.RuntimePermission "oracle.discoverer.connections";
    grant codebase "file:${oracle.home}/portal/jlib/pdkjava.jar" {
    permission java.lang.RuntimePermission "oracle.discoverer.connections";
    grant codebase "file:${oracle.home}/portal/jlib/ptlshare.jar" {
    permission java.lang.RuntimePermission "oracle.discoverer.connections";
    ===========================
    3.) Restart OPMN.
    4.) Invoke Discoverer Plus or Viewer.
    Let us know how you get on.
    Lance

  • How to copy workbooks from Discoverer 4i to 10g

    Hi guys
    Can somebody please help me. We've rolled out Discoverer 10G for users that are running on windows Vista (I believe that 4i does not work on Vista, please correct me if I'm wrong). We're still using Discoverer 4i for the users running on windows XP. We have migrated all our existing workbooks from 4i to 10G. The problem is when we create new workbooks, we currently have to create them on both Discoverer 4i and 10G. This is time consuming for us and I'm sure there is a way to just copy/migrate that newly created workbook from 4i to 10G.
    Does anybody know how to do this or is there a document.
    Thank you for all your help.

    Hi,
    You can move the workbooks by using a Discoverer export/import from Administrator.
    Rod West

  • Export workbooks in discoverer plus

    hi
    I am not able to export discoverer workbook as .dis from discoverer plus.
    how to do this
    Should I follow only command prompt?
    From discoverer admin i am able to export a workbook as .eex ..But i wonder how to import this workbook.eex into discverer desktop ?
    thanks
    kp

    Hi,
    .dis format is specific to Discoverer Desktop . This saves the workbook on the windows pc where Discoverer Desktop is running. Discoverer Plus does not have the option to save workbook on local system.
    .eex format is specific to Discoverer Admin and it contains metadata info including BAs,Workbook etc.
    In order to import .eex files you have to use Discoverer Admin . It can not be imported using Discoverer Desktop.
    Thanks,
    Sutirtha

Maybe you are looking for