Creating Scheduled Workbook

Hi friends, I have just started working on Oracle discoverer 9.0.4.
I have already created the normal workbooks and distribute the reports using discoverer viewer.
But I want to know that How I can create the "scheduled workbooks". I have found about opening a scheduled workbook but nothing about their creation ?
Please guide me, what I should do in order to create scheduled workbook.

Hi Nirav
Providing you have the necessary privileges there are two ways to schedule a workbook.
To schedule the current open workbook, from the menu bar select File | Schedule.
To schedule any workbook, from the menu bar select File | Manage Workbooks | Scheduling Manager, then click the button Schedule
At this point you will be in the Schedule Workbook dialog box and you can now set up your scheduling.
If the above options are grayed out then you have either not been granted the schedule workbooks option by your administrator or the scheduling database priviliges have not been granted, or the DBA has disabled the ability to run jobs.
Let's look at the above in turn.
To check whether you have been granted the schedule workbooks option, follow this workflow:
1. Launch the Admin edition
2. From the menubar, select Tools | Privileges
3. Make sure you are on tab called Privileges
4. Use the drop down and select the user who needs to be allowed to schedule
5. Make sure the Schedule Workbooks button is checked
6. Click OK
The database privileges that control scheduling are:
CONNECT
RESOURCE
CREATE PROCEDURE
CREATE TABLE
CREATE VIEW
EXECUTE ANY PROCEDURE
EXECUTE ON SYS.DBMS_JOB
SELECT ON V_$PARAMETER
SELECT ANY TABLE
UNLIMITED TABLESPACE
Here is a database create user script that sets up the privileges required for a user:
create user username identified by password
default tablespace TOOLS
temporary tablespace TEMP
quota unlimited on TOOLS;
grant connect, resource, execute any procedure, select any table to username;
grant execute on SYS.DBMS_JOB to username;
grant SELECT on SYS.V_$PARAMETER to username;
grant create procedure, create table, create view to username;
Also do not try and grant the two SYS privileges via a Role. These must be granted direct to the user.
At the database level, make sure that your DBA has set the database initialization parameter called JOB_QUEUE_PROCESSES to something greater than zero, I would recommend 10. If it is zero then you won't be able to schedule. At the minimum, for scheduling it needs to be at least 2.
Hope this helps
Regards
Michael

Similar Messages

  • 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

  • Deleting the scheduled workbooks that are no longer valid - via script

    Hi,
    I would like to delete the results of the scheduled workbooks (created by users other than me) with scheduled workbooks status like 'Error while running query" or "Report Expired" or "EUL has changed, reschedule report". From Discoverer Administrator (version: 10.1.2.1) --> Tools --> Manage Scheduled Workbooks --> search by user, I can only delete one scheduled workbook at a time. Is there a way to delete these via a script of some kind?
    If any one has a sample script and if you can share here that'd be awesome.
    Thanks in advance,
    -Esther

    Ran into Note:459747.1 from metalink. It has information to identify the scheduled workbook results etc., But according to the note in this note "Note: The tables mentioned here should never be updated or deleted manually."
    But the admin tool allows to delete one scheduled workbook result at a time based on the status.
    Any information here would be beneficial...
    Thanks

  • Error Scheduling workbooks

    Hi All,
    I scheduled a report with granting Create Table,View and Procedure Privileges to the user. But it shows
    Error: Isufficient Privileges.
    I have also installed DBMS_JOB package
    What could be the problem?
    Thanks in Advance.

    Hi agin,
    all I can suggest is triple checking that...
    In the Disco Admin Tool:
    Navigate to your 'Business Area'
    From the Top Menu:
    1) Tools -> Privileges -> Privileges Tab
    2) Select the EUL Owner from the drop down list
    3) Scroll down the list of privileges and ensure they are all checked... including the 'Schedule Workbooks' option...
    Also - when logged into SQL*Plus as the EUL owner - type in the following command at the prompt...
    SQL> desc dbms_job
    This should return the package header for the DBMS_JOB package and prove that you can see it. Perhaps even check you ave permissions to execute DBMS_JOB...
    Otherwise.... sorry - I've run out of ideas...

  • Prob in opening scheduled workbook

    Hi all,
    When I open a scheduled workbook it gives error ' Internal Error - Unable to generate SQL for this worksheet'.
    Can anyone help.
    Prasath.

    Hi Prasath
    It sounds like a privileges issue, more than likely database privileges.
    First things first though, is this a shared report or one that the user owns themself? If its a shared one then it could be that the user doesn't have access to the business area or one or more of the tables that make up the folders that are used in the workbook.
    If the scheduled workbook is owned by the user then it definitely sounds like a database privilege or two is missing. For users who will be scheduling they need these privileges:
    connect
    resource
    analyze any
    create procedure
    create sequence
    create session
    create table
    create view
    execute any procedure
    global query rewrite
    select any table
    unlimited tablespace
    execute on sys.dbms_job
    select on sys.v_$parameter
    Best wishes
    Michael

  • Create/Open Workbook dialog performance

    Hi,
    We use Discoverer Plus (Application Server version v10.1.2.2) and we have around 20,000 workbooks. All these workbooks are shared amoung all the user, in other words all the discoverer users have access to all these 20,000 workbooks.
    We are experiencing a slight delay (20-30 sec) while opening "Create/Open Workbook dialog" in discoverer plus. This dialog appears automatically when the discoverer plus is launched. We area also experiencing a slight delay (20-30 sec) when we try to open "Open workbook from database" dialog. This can be opened using File/Open or Click Browse button from "Create/Open Workbook dialog".
    Please suggest any solution to improve the performance of this or any configuration in discoverer plus that supresses the "Create/Open Workbook dialog" that apprears automatically when discoverer plus is launched.
    Any suggestions is much appreciated.
    Regards
    Sriram

    Hi Michael,
    Thanks a lot for the details.
    We are following this approach. We have three catagories of users and they are as follows:
    Super -> All the discoverer plus permissions are assigned ( Create/modify/schedule and all the other Plus permissions).
    ReadWrite -> Only Create/modify workbook (Scheduling not allowed)
    View -> Only to run the workbooks created by the above two users.
    We have created three database users for discoverer and assigned appropriate permission in Administrator and created public connections for these users.
    Discoverer is accessed from our application (by clicking a menu item provided in our bespoke application). The application users are maintained within the application and we also have a security module which restricts the use access to application. In that security module we have three roles (as above) created for discoverer purpose and users will be given permission to one of the roles. When the user invokes discoverer from application, it decides which discoverer user to be used based on the discoverer role assigned and launches discoverer plus.
    Please note each application belong to an organisation.
    We follow naming convention when the workbooks are created, the organisation specific workbooks starts with the organisation name + workbook details. All the workbooks are shared to all the above users, so that it is accessible to all the categories of users. The basic idea is, user logs in to discoverer plus and click browse button in the Create/Open workbook dialog and search for their organisation workbook by typing in thier organisation name and then select the workbook to run.
    The problem that we are facing here is the amount of time it takes (15-20 sec) to open "Create/Open workbook" dialog and "Open workbook from database" dialog window.
    I have checked all the indexes are in place and added a composite index as well. It takes the same time. Is there any way we can supress Create/Open workbook dialog window when Discoverer Plus is launched?
    Regards
    Sriram

  • 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.

  • Schedule workbook error

    I face some problem when trying to schedule workbook, as stated below:
    I have a column length change from VARCHAR2(35) to VARCHAR2(100). Now if I try to make "Schedule workbook" we got an error generated in the Discoverer's package, and this error looks like:
    “Error:
    ORA-12899 value too large for column
    "SCH_NP_DIS"."EUL5_B130708054654Q1R1"."BRVC69"
    (actual: 36,maximum: 35).”
    I found here in one post that I need to delete the scheduled workbook and refresh the EUL.
    But I am not sure how to refresh EUL using GUI interface of Discoverer administrator. Could anyone help me by mentioning the steps of EUL refresh. Or is there any other option to get rid of this error?

    Hi Soumen66,
    I agree with the methodology you found in this forum to fix this problem:
    -delete scheduled workbook (of course the workbook which the scheduled workbook is dependent is not deleted).
    -refresh EUL objects which have changed.
    With respect to how to refresh an EUL object (e.g. a folder which contains an object which has been modified), one just opens the owning Business Area and right clicks on the folder.  Next, select Refresh.
    With respect to canceling the existing scheduled workbook, the reason for this is that the scheduling components in the scheduling schema create a view and a table which corresponds with the results set's columns data definition at the time of scheduling.
    Patrick

  • User must always schedule workbooks- default scheduled workbook privilege

    Hi,
    I am using my EUL against Oracle Applications.
    After creating the EUL, the default privilege option for 'Scheduled Workbooks' is-
    User must always schedule workbooks.
    Rather than changing this option for each individual users, I shall like this option to be
    'User is never required to schedule workbooks' defaulted for all the users and responsibilities while creating the EUL.
    Is there any script, which I can run on the database which will chnage this privilege option for all the users at one go rather than changing them for individual users
    Regards
    Shashank

    Hi Mike,
    It does work but rather strangely.
    After changing the Privilege for user 'PUBLIC' to 'User is never required to schedule workbooks' when I queried another user say 'JSMITH' it works fine and default setting for this user chnages to 'User is never required to schedule workbooks' but
    when I reconnect back to admin and query for user 'JSMITH', the privilege setting reverts back to the original default value i.e. 'User must always schedule workbooks'
    Can you please help to resolve this.
    Thanks in Advance

  • Unable to create Schedule line(Maintain sch.agreement)

    Hi experts,
    After running MRP i got Planned order for a certain material and for that material procurement type maintained as "Both internal and external" in material master. After completing the process planned order to purchase requisition, i separately created schedule agreement . Now here i am facing one problem that if i create schedule line with reference to purchase requsition i am getting the error Requisition doc. type NB not allowed with doc.type LP.
    pls anybody suggest is there any prob made in the above process
    Regs,
    SR
    Edited by: SP Ramesh on Jan 1, 2010 8:22 AM

    go to tcode OLME> schedule agreement> select the line of document type LP and then slecte the folled item category and then selce each item category one by one and then click on the second folders link document type and there give source document type NB
    cause of the issue is : the source document type NB is not set with LP document type of schedule agreement

  • Scheduled workbooks can be open via DisPlus/Viewer but not in Desktop

    When we schedule reports in Discoverer results can be pulled out only via Discoverer Plus/Viewer, when sthe ame scheduled report is opened via Discoverer desktop we get the following massage:
    “The results run for this scheduled workbook can no longer be used because the query has changed. Do you want to query the database now for the new results?”
    Does anyone know what the issue is here and how it can be resolved?
    OracleBI Discoverer 10g (10.1.2.2)
    Oracle Business Intelligence Discoverer Plus 10g (10.1.2.54.25)
    Desktop Client 10.1.2.50.05
    Discoverer Model - 10.1.2.54.25
    Discoverer Server - 10.1.2.54.25
    End User Layer - 5.1.1.0.0.0
    End User Layer Library - 10.1.2.54.25
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi

    Hi
    When you upgraded your Discoverer to 10.1.2.2 did you also apply the patch to upgrade Desktop and Administration?
    You would have needed to get hold of the Windows version of the patch then run the software update pointing at the Desktop version.
    Also, I've heard of this happening following an upgrade from version 4 to version 10 and there are various notes on My Oracle Support concerning this. The one I was just looking at is note 419794.1
    Another area where this can happen is if the worksheet uses code that would generate a fan trap. Note 389906.1 deals with this.
    Best wishes
    Michael

  • How to create a workbook in BI 7.0 with more than 15 Sheets?

    Hi Experts,
    i would like to know how to create a workbook with more than 15 Sheets.
    One Workbook should be based on one query  and the other on differents queries.
    How should be the authorization? If you have any documents please just send it to me.
    Cheers
    G

    HI
    Execute one report save it in the workbook, then you can goto the tools and click insert query, like that you can add how many queries you want. then right click on the reports goto properties there in the interface tab click the check button for refrsh all the queries. finally save it with the option save existing wrokbook(beacause you already save the first query in the workbook)
    Regards,
    chandra.

  • Error in creating schedule line aggrement through BAPI

    Hi All ,
    I want to create schedule line aggrement (VA31) by using BAPI / FM .
    I am using " SD_SALESDOCUMENT_CREATE" FM  .
    Here i am getting error in output when i enter shchedle line data in input .
    Error is given below .
    E V1                   434 No schedule line category could be determined during quantity adjustment
    Error only come when i want to create new schedule line ....in Changing any schedule line aggrement there is no error .
    I am able to create schedule line aggrement manually .
    please help .

    Use BAPI_SAG_CREATE

  • Creating Scheduling Agreement using Bapi

    Hi Gurus,
           I want to Create Scheduling agreement , InfoRecords using Bapi.
    I use BAPI_AGREEMENT_MAINTAIN .But it's not creating agreement.It throwing error message .
    Useful Answers will be rewarded with Points.

    Hi,
        Error Messages are Not Possible to determine a consumption account and No batch input data for screen.
    Could you suggest what all the Input field  I need to pass it .
    Thanks for Your help

  • BAPI to create Scheduling Agreement of VA31

    Dear gurus,
    I need to find the BAPI or Function Module to create Scheduling Agreement of VA31 from the uploaded data. I know that I can use BAPI_SALESORDER_CREATEFROMDAT2 to create the sales order of VA01. Can I use the same bapi to create the scheduling agreement of VA31? Both of the screens seems to look quite the same but their order types are different. Any suggestion on this?
    Thank you for your help. Have a nice day.
    Best Regards,
    Hedy

    Hi,
    FM
    BAPI_CUSTSCHEDULAGREE_CONFDELV
    Functionality
    You can use this method to make a delivery confirmation in the SD scheduling agreement
    Example
    1. Generating delivery for a scheduling agreement item.
    2. Changing a delivery item.
    3. Posting of goods issue for delivery.
    4. Deleting a delivery item or a delivery.
    Regards,
    Venkatesh

Maybe you are looking for

  • Database Configuration Assistant of Oracle 9i

    I'm trying to execute Oracle 9i Database Configuration Assistant on Caldera OpenUNIX 8, from the command line (bash-2.05$ ./dbca) and the first error that apperars is : Xlib: connection to "192.168.1.203:0.0" refused by server Xlib: Invalid MIT-MAGIC

  • I just lost a lot of photos. Very Angry!

    Well I just used Sony Bridge for Mac to export photos from my Z2 to iPhoto, then deleted them off my phone. Well guess what?? For 90% of the photos it exported THUMBNAILS?!?!?!?!?!? This is ridiculous. I've now lost all my photos. This is unacceptabl

  • Optimize Business Objects Query

    I have a simple query, which takes approximately 1 minute to return. Select SI_NAME, SI_METRICS From CI_SYSTEMOBJECTS Where SI_DESCRIPTION = 'Web Intelligence Processing Server' All I am actually after is a specific metric (numConnections). Is there

  • Namoroka will not recognise Adobe Flash Plug In. Keeps saying a plug in is missing.

    I just installed Firefox 64 bit that is called Namoroka. A couple of sites say "Additional plug ins are required to display all of the media on this page"; Clicking "Install missing plugin" takes me to Download Adobe Flash Player. I install it and re

  • Can't open file saved in newer version

    I opened one file that said it was created using a newer version than the one I am running (10) and it worked fine.  I've got another one, though that says it can't open it and suggests that I re-save it so that it can be opened by my version of AI.