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

Similar Messages

  • Getting Java error while opening schedueld workbooks

    Hi Experts . My Discoverer environment is 10g(9.0.4) .
    when me and end users are trying to open scheduled workbooks . getting a java error . the error is
    "Error unmarshaling return : nested exception is : java.io.invalidclassexception:org.omg.COBRA.completionstatus: local class not compatible :stream classdesc serial version UID = -9047319660881406859 local class serial version UID = -645279251430243097"
    Plaease let me know what happened to this . untill now it is perfectly fine .
    Thanks

    Hi,
    I solved the problem copying Hreport.jar file to FR Studio path.
    I think the topic will be helpfull as below
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=1256435.1

  • 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

  • Discoverer Viewer and Scheduled workbooks error

    Hi
    Hope someone can help.
    I am scheduling workbooks in Discoverer Plus 10.1.2.48 with the intention of viewing them in viewer.
    The report shows itself as running okay in Admin, but when I open the report in Viewer or Plus I get errors including:
    ORA-03106 Fatal two task communication error
    or
    "unable to generate sql for this scheduled workbook"
    I suspect they might be retrieving fairly large result sets (10 K rows +)
    Please can anyone offer advice on how to resolve this?
    Many thanks

    Hi Tim
    Well just the way the file is put together, like is it using SID= or SERVER=, does it use SERVER=DEDICATED, do you have one ADDRESS= or multiple?
    To make sure everything is right, rename both TNSNAMES and SQLNET.ORA files, then suse Net Configuration Assistant to set up a connection. Then compare that with what you have already and make the necessary changes.
    I also noticed that Russ has made a posting concerning a similar error. You should take a look. Its either in here on the Discoverer forum.
    Best wishes
    Michael

  • Schedule workbooks - results to excel

    Hello,
    I know you can schedule workbooks through discoverer plus. The results from these can be found under File > Open > View: scheduled workbooks.
    Is there anyway that these can be scheduled with the reults being output to excel?
    Thank you
    sarah

    Pl see previous discussions on this topic - https://forums.oracle.com/forums/search.jspa?threadID=&q=schedule+AND+excel&objID=f56&dateRange=all&userID=&numResults=15
    HTH
    Srini

  • Scheduling workbooks using the command line

    Hi, can anyone tell me if it's possible to schedule workbooks in Discoverer using the command line interface? If so, could you point me in the direction of any relevant documentation?
    We've got 300+ reports to schedule on a regular basis and it would be useful if we had different options to schedule the workbooks e.g. for batch processing.
    Thanks and regards
    Geoff Butler

    Inspired by your MacOS fix, I went looking to see if their was an easier Windows fix than my 'Repair Bonjour' process. Turns out there might be.
    In the Bonjour 'Program Files' folder, there is an application named 'mDNSResponder.exe' which brings up a DOS dialog. After running this application and then opening iTunes, I had a stable AppleTV-iTunes connection through the evening until I put my computer to sleep.
    I haven't done any thorough testing around this (the kind that Apple should have done before releasing iTunes 7.6), but it does seem to at least temporarily resolve the issue until iTunes is closed again. What would be nice is if this works without having to restart a faulty iTunes session (which the 'Repair' fix doesn't).

  • Discovere viewer and scheduled workbook

    I scheduled a workbook to run nightly. If I open the report, that belongs the scheduled workbook, in Dis Viewer, why Discoverer re-run the query again??? This defeated the purpose of scheduled workbook.....

    Yes. That is what I understanded. But when in a SQLPlus session I captured SQL statements of both unscheduled and scheduled reports and they both run the same SQL statement

  • 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

  • Scheduled workbooks in Plus workbook list

    Hi,
    When opening the "Open Workbook from Database" dialog in the Plus version (10.1.2.48.18). A list appears with all the workbooks the user has access to. Completed scheduled workbook appear also in this list. Our users are confused with this functionality and I was wondering if it is possible to prevent "completed scheduled workbook" from appearing in the workbooklist of the "Open Workbook from Database" dialog.
    TIA,
    Jacco

    Hi,
    Yes, I still want user to schedule workbooks.
    However, when using the "Open Workbook from Database" dialog, the default value for "view" is "All Workbooks".
    I would like it to "Database Workbooks", but I don't know if that is possible?
    TIA,
    Jacco

  • How to save scheduled Workbook output in a specified location on some server ?

    Hi !
    We have a requirement in which User wants to see output of the workbook in some specific shared location.
    We know how to schedule the workbook , but seems like there is no option of saving the output in some location other than the default one. Am I wrong ?
    Any help in this regard will be highly appreciated. It is kind of urgent.
    Thanks and Regards,
    Shobhit

    Hello,
    I have'nt got an answer yet. I dont know if our concern is the same, mine is the following :
    A scheduled report is mostly intended to fasten the reading of data by running the SQL with it's joins & aggreagation by night for instance. I scheduled a workbook which agregates hundreds of thousands of rows into about thirty rows. The report run correctly by night and I find it with "ready" status in the morning. But when I try to open the result, I can see Discoverer desktop fetching 100,000 then 200,000 rows for more than hours.
    Are'nt the result data stored somewhere ? What does mean a schedule if it is rerun each time you want to open your workbook. I think I've got a wrong setting somewhere. Could anybody help ?
    Thanks

  • Internal Error - Unable to generate SQL for this Scheduled Workbook

    I am encountering the following error when loading the results of a Scheduled Workbook;
    Internal Error - Unable to generate SQL for this Scheduled Workbook (If you scheduled this workbook using a previous version of Discoverer, please reschedule and re-open)
    This only happens for one of the scheduled workbooks and I am struggling to find an explanation to the problem. There are no reference to database links in the workbook so I can rule that out as a cause.
    Does anyone have any suggestions to what might be causing the problem?
    Many thanks
    Stewart

    Hi,
    The version is OracleBI Discoverer Plus Version 10.1.2.48.18. Do you think this has anything to do with it?If you are on this version, then you have the recommended patches applied.
    Did you try to reschedule the workbook and see if this helps in resolving the issue?
    I would suggest you enable server logging as this may help in collecting more details about the error.
    Note: 403689.1 - How To Generate Discoverer 10g (10.1.2) Session Server Logs In Text Format
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=403689.1
    Regards,
    Hussein

  • 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

  • Can we open schedule with specific members?

    Hi,
    Is it possible to open an input schedule with specific members of dimensions selected?
    We know it can be done by using EvHOT, but is there any other method?
    more specifically, we want every user to open schedules with Periodic is selected as the member of Measures dimension.
    Thank you

    In addition to (or instead of) the previous reply, I suggest using
    eTools --> Workbook Options 
    (also in the current view bar as "Set Workbook Options").
    Check "Save the active session CV with this workbook".
    It will keep the current view (CV) that you are using when you save the workbook, so it will reopen with that same view, instead of what the user has pre-set.
    I also recommend hard-coding the Periodic option within the control panel itself, so it does not refer to the CV.

  • How to identify the Open Schedule Lines.

    Hi All,
    I am writing an ABAP report which requires to identify the OPEN SALES ORDER SCHEDULE LINES.
    The requirement is to identify the Open Sales Order Schedule Lines for a particular month (user Processing month in the selection screen).  Here the Schedules line item could have been delivered already.  If it is not Billed then it is OPEN schedule line.
    Can anyone help me to understand the logic which I need to apply to identify only the Open sales order scshedule lines.
    I am using the following tables:
    VBAK,VBAP,VBUK,VBUP,VBEP.  Is there any other table which I need to use?  I am trying to avoid using table VBFA due to performance issues.
    Thanks in Advance
    Regards
    Gopalakrishnan S

    Hi Gopal,
    If you want to find status of any sales order line item then you can find from following method from VBUP table.
    In VBUP table there is a field FKSTK.By this filed status we can find billing status of particular sale order and this field has four possible values and these are
    <i><b>field value  field value meaning</b></i>                             
    if this value is space then order is not Not Relevant for billing             
    if this value is  'A'  then order is    Not yet processed
    if this value is   'B' then order is Partially processed
      if this value is  'C' then order   Completely processed
    If you want to find status for the header then go to VBUK table and process is same as above.
    In these table we can find all types of status.
    Message was edited by:
            shyla kumar
    Message was edited by:
            shyla kumar
    Message was edited by:
            shyla kumar

  • Newly added discoverer responsibility does not open the workbook sheets

    Adding reports to newly added discoverer responsibility does not open the workbook sheets
    Actually its a new responsibility where i add existing workbook, also shared the business area but when trying to execute the report through my user firstly it says "Workbbok cannot be expanded, Unable to open workbook" later when i close the page i get the below error
    “Contact with the Discover server has been lost. To continue with your work, please restart Discoverer Plus. If this problem persists, please contact your Oracle Application Server Administrator” error message.
    Please suggest.

    Hi,
    You need to run a trace for this user to diagnose this issue. Look at note 133055.1 for more details.
    Rod West

Maybe you are looking for