Discoverer Report Scheduling Permissions question

Quick question,
i have a report which runs fine for all users, however when scheduled for certain users the report fails to return data. The report uses a folder with a call to the GL_SECURITY_PKG in the SQL. I have removed this and the report appears to run when scheduled, the above package gets the responsibility info from the FND_GLOBAL.RESP_ID function and checks it against the GL set up for security when viewing GL data.
I’m thinking that whatever runs the scheduled workbooks isn’t picking up the user and responsibility that scheduled the report? This is a hunch – can anyone explain more?
Thanks
Sol
Edited by: SolHill on 01-Nov-2011 09:37
Edited by: SolHill on 01-Nov-2011 09:45

Hi Sol
That is correct. The user and responsibility are only used during the session when the user is connected to the database.
Whenever a scheduled workbook is run in an APPS-mode environment the user running it will be APPS. This user is a database user and does not log in with a responsibility therefore the FND_GLOBAL.RESP_ID will not be set.
Best wishes
Michael

Similar Messages

  • Discoverer - Report Scheduling

    Hi Friends,
    I have scheduled discoverer report. Now the status is "Running Query". Can we unschedule this report or need to kill oracle session.
    Even if i will kill the session will it take up the next scheduled report automatically.
    Pankaj

    Hi
    Your Discoverer Administrator can unschedule any future schedule so this will stop it being scheduled again.
    I appreciate that you may well know how to kill an Oracle session so I include the following for anyone who does not.
    To kill a current job, you or your DBA will need access to V$ views, V$SESSION, V$PROCESSS, V$SQLAREA. Also, V$OPEN_CURSOR will have all currently opened cursors.
    From V$SESSION you can get the SID and SERIAL#.
    SELECT
    SESS.SID,
    SESS.SERIAL#,
    SESS.OS_USER,
    SESS.PROGRAM
    FROM V$SESSION SESS;
    As a DBA, you can kill the session using the following command.
    ALTER SYSTEM KILL SESSION 'SID, SERIAL#'
    Note: SID and SERIAL# values are separated by a comma and are within single quotes.
    In some situations the Oracle.exe is not able to kill the session immediately. In these cases the session will be "marked for kill". It will then be killed as soon as possible.
    Issuing the ALTER SYSTEM KILL SESSION command is the only safe way to kill an Oracle session. If the marked session persists for some time you may consider killing the process at the operating system level. Killing OS processes is dangerous and can lead to instance failures, so do this at your own peril.
    It is possible to force the kill by adding the IMMEDIATE keyword:
    ALTER SYSTEM KILL SESSION 'SID,SERIAL#' IMMEDIATE;
    If you're interested in killing sessions at the operating system levele, here's a good link: http://www.dba-oracle.com/tips_killing_oracle_sessions.htm
    Best wishes
    Michael

  • Scheduling of discoverer report via concurrent program or pl/sql code

    Hi All,
    I am beginner on Discoverer Report. As per my client requirements we need to do the scheduling of discoverer report rather than manually run it every week. Also we need to do this job by help of concurrent program or pl/sql code. But I don’t know how to scheduled the discoverer report.
    Please any one help me or provide pl/sql code.
    Thanks in Advance
    Subhas Samanta

    This is one of those questions that has been asked on the forum for years now and the answer really hasn't changed in that - command line using .BAT files, command line using VBasic (Rod's expertise) and Java potential via Plus.
    You can search the forum for the fully documented answers to this but basically:
    1. you can use Disco Desktop - NOT Plus or Viewer - with good ol' MS BAT files using the command line interface
    2. you can use Disco Desktop - NOT Plus or Viewer - with good ol' MS BAT files using VBasic calls
    3. I think - although never have seen - using Java command line interface to control it via a Java program
    oh yah ...
    4. if you're running Oracle Apps I believe you can get the Concurrent Manager to run the Disco report for you as well (another of Rod's expertises)
    Russ
    Edited by: RussProudman on Oct 30, 2008 2:40 PM

  • Need Information on Discoverer Un-Scheduled Reports

    Hi All,
    I don't find any link for the Discoverer section in Developer Tools, thats the reason I'm posting this thread under Reports Section.
    My question here is, there are EUL tables which gives the detail information like last_run_date etc.. for the scheduled discoverer reports.
    But I need the same information for the un-schedule reports, but I don't find any tables when a report ran last time.
    Can any of you guys help me out from this issue.
    Thanks in Advance.
    Raja.

    Hello,
    You can find a list of all the OTN Forums here : http://forums.oracle.com/forums/main.jspa?categoryID=84
    Discoverer Forum : Discoverer
    Regards

  • Distribution of scheduled Discoverer report

    Hello everybody!
    We need to distribute output of scheduled discoverer report in Excell format to the list of users.
    I've read that output of the scheduled report is stored somewhere on the server. I am trying to find where exactly it's located and use shell script to mail it to users.
    My questions:
    1. Please direct me where I should look for stored output.
    2. Is there better solution to acheive what we need?
    Best Regards.
    Nadya.

    Hi nadya,
    Hope this will be helpful
    Using a Trigger to Share Scheduled Workbooks Automatically
    How to enable Scheduling in Discoverer for Oracle users?
    Oracle Discoverer  Administrator - Scheduling summaries
    Hope it helpf you.
    Best Wishes,
    Kranthi.

  • Scheduling Discoverer Report and distributing Discoverer Report Output

    Hi,
    We are using discoverer (Along with Oracle HCM R12) and would like the  END USER to schedule the reports by themselves.
    There is an option to schedule the report, and also an option to share it to chosen users/ responsibilities.
    We scheduled one report and also set the sharing option to share with others but it seems the report executes but doesn't get sent out by email to the END USER's email id.
    Any ideas / thought on this please?
    NB: We are looking to distribute Discoverer Report Output from scheduled Discoverer reports...not looking to share the report with other users/ responsibilities.

    Hi,
    My bad,  Sorry as I was speaking on EBS terms.
    Anyways, please see if the following thread helps you:
    https://forums.oracle.com/message/4485585#4485585
    https://forums.oracle.com/message/2777847#2777847
    Also see the forum search:
    Forum Search: Share report
    Thanks &
    Best Regards

  • Schedule Discoverer report using OEM

    Hi All
    Can I schedule a Discoverer report using OEM ?
    Thanks

    Thanks Jignesh,
    Will try the same and if any error will update the same.... and only one doubt.. I have updated all my accounts in Dimension and EVGTS is work like a EvDRE only or something diff...
    If possible please explain.
    Thanks and regards,
    MD.

  • How to e-mail discoverer reports on scheduled timings

    want to send discoverer reports to customers through e-mail,does discoverer provides any utility that does without manual intervention.It should be happened at scheduled timings.

    Apply an event on your report.
    First go to Cmc, create an event based for example on a file that should be created in certain route if the query won't return 0 rows.
    Then apply this event in your report Schedule option Event.

  • Report scheduling question

    I have a couple of ARD users who would like to schedule reporting to their own machines.
    Although they are ARD admins, they are not admins of their desktop Macs. All report scheduling options are greyed out for these users, even though 'Full access to all features' is selected in Preferences > Security.
    Can only desktop admins (rather than ARD admins) change report scheduling?
    Thanks,
    b.

    Hi Sol
    That is correct. The user and responsibility are only used during the session when the user is connected to the database.
    Whenever a scheduled workbook is run in an APPS-mode environment the user running it will be APPS. This user is a database user and does not log in with a responsibility therefore the FND_GLOBAL.RESP_ID will not be set.
    Best wishes
    Michael

  • Discoverer report - Output from Discoverer plus is not the same as Discoverer desktop

    As a part of Upgrade project we are migrating the discoverer reports from 11i (11.5.10.2) to R12 (12.1.3) .After migrating to R12, for a custom discoverer report the output given by discoverer desktop is correct (24 rows for a scenario). But the report output from Discoverer plus does not show the credit transactions (2 rows). The output from Discoverer plus shows only 22 rows (24 - 2), which is incorrect. The query is the same in Discoverer desktop and Discoverer plus.
    Please let me know why these transactions that are appearing when the report is run from discoverer desktop are not appearing in discoverer plus. Is there any setup in discoverer plus for this?
    Regards,
    Brajesh

    Pretty hard to answer a question like this.  Best bet would be to copy the existing discoverer plus book and start removing conditions, fields, etc until those two rows from desktop show up and see if you can work it out. 

  • How to submit a concurrent request from Discoverer report.

    I would like to know If any one has tried submitting a concurrent request from Discoverer Report?_
    This is no stupid question, but our team here finally decided with a solution to our long pending issues with few of the discoverer report. To Proceed further, we would like to know, how to submit a concurrent request from Discoverer report?
    We are looking for calling a package from the Disco admin by passing the parameters from the disco to the 6i report.
    All help us in this regards are much appreciated.
    Kindly help us in the same!
    Thanks
    Arun

    Thanks Rod for confirming the same.
    I will be trying the same today and will let you know if I succeed in doing it.
    If I can share the actual requirement with you, it goes like this.
    "I will be triggering the Oracle 6i standard AP Trail balance report through the Disco report. The standard report will be inserting the required data to one of my custom table. Once the concurrent program completes normal, my custom table will be having the required data to create the workbook specific to the current run of the concurrent program.
    The one problem which I think could happen is, How can I make my disco report to wait till the standard program to complete in normal so that my disco report can be generated with the data from custom table.
    Will the above requirement is possible If I follow the way you mention in the PDF or Could you suggest a better way for achieving the same.
    In short, my requirement is: The custom table(say XX_TABLE) will be populated with data when the standard 6i report is run and the disco admin will be making of the custom table (XX_TABLE) to generate the report.
    Please advice.
    Thanks
    Arun

  • User is getting Error while opening a Discoverer report::Model Manipulation

    Hi,
    I am stuck with a peculaiar error as reported:
    While opening a Discoverer Report its giving Error:
    Model manipulation via state object.Server writes and pass through reads can only be made on objects attached to the model
    instance of
    oracle.disco.model.corbaserver.ScheduleRunWorkbookInfoImpl made state from:removed from
    oracle.disco.model.corbaserver.schedule.ScheduleRunWorkbookInfoImpl
    Kindly any help will be benefitial for me.
    Thanks and Regards

    Pl post details of OS, database and Discoverer versions. Pl detail the steps to replicate this error. This MOS Doc may be helpful
    734850.1- Error "Failed to Find Workbook ParameterValue.." When Trying to Edit Scheduled Discoverer Workbooks
    HTH
    Srini

  • Error while running the Discoverer report from the command line.

    Hi All,
    I've to run a discoverer report from command line and export the results in xls/html on to my local machine. This report I've to run it as batch and scheduled it.
    I have a parameterized worksheet and this has to be run from command line specifying the parameter value I wanted to run the report for. I do not get any results. Here is the command line I am using.
    dis51usr /connect user/password@database /opendb "TIMS-PCJ status Report" /sheet "TIMS observation status report (based on performed date)" /parameter "Test Number" '40351' /parameter "From Date" '05-MAY-2008' /parameter "To Date" '06-MAY-2008' /export HTML "C:\DISCOVERER_REPORT_SCHEDULING\DIS_OUTPUT\PCJStOutputinHTML123"
    I even added the TO_DATE conversion for the parameters and also gave the format of the date as 'DD_MON_YYYY'.
    Discoverer Desktop opened up, logged in and gets terminated saying 'Oracle Discoverer Desktop has encountered a problem and need to close. We are sorry for the inconvenience.'
    Please anyone reply me.
    Regards & Thanks,
    P. Gayathri Devi

    Hi Gayathri,
    Try changing your parameter names to be a single word. (Change "Test Number" to Test_Number).
    Does the report run fine when run through Desktop for the same parameter values? Which version of Discoverer are you using?
    Thanks.

  • Unable to run discoverer report from command prompt

    Hi,
    I'm trying to run the discoverer report from command prompt and i need to schedule the same.
    How could i pass multiple values for the parameters?
    If i don't pass the optional parameters, the parameter screen is getting pop-up? How to skip optional parameters?
    Also, how to pass the data ranges (format for date parameters) ?
    I'm using the below command in command prompt:
    cd/d E:\oracle\BIToolsHome_1\bin
    dis51usr /connect username/password@database /opendb "TIMS-PCJ status Report" /sheet "TIMS observation status report (based on performed date)" /parameter "Test Number" 40351 /parameter "From Date" "01-JAN-2007" /parameter "To Date" "28-FEB-2007" /parameter "Observation Status" C /parameter "Observation Name" "Abdominal Girth" /export HTML "C:\DISCOVERER_REPORT_SCHEDULING\DIS_OUTPUT\PCJStatusOutput11"
    Any one please reply me. Its very urgent.
    Regards,
    Sreedhar

    Hi,
    How could i pass multiple values for the parameters? You should be able to use a comma separated list e.g.
    /parameter "Observation Name" "'Abdominal Girth','Abdominal Girth2'"
    How to skip optional parameters?I don't think you can. You have to supply all parameters and then decode out the parameters you don't need in the workbook.
    how to pass the data ranges You cannot pass a date range. You can pass a start and end parameters. The default format for the date parameters is DD-MON-YYYY but this can change depending on the NLS settings and format of the data item.
    Rod West

  • Launching a Discoverer report from jsp page

    Hi
    I have a discoverer workbook created using BI Discoverer (for relational). I want to accept some parameters for this workbook from a jsp page, which will also have a "View report" button. This button when pressed should open up the Discoverer workbook and all the parameters from the jsp should be passed to the workbook.
    Is it possible? If yes, any details on it?
    We do the same thing successfully to launch Oracle Reports from jsps, we simply build the url in the jsp, and from jsp we submit it to a new window, and it opens up the report. Similar functionality we are looking to launch Discoverer reports.
    Any help will be appreciated.
    Thanks
    Shalu

    You can open the workbook with URL parameters with Discoverer Viewer much like you would Oracle Reports. Setting anything form the username, password, workbook name, worksheet, and parameters. All the information can be found in the following document:
    http://download-east.oracle.com/docs/cd/B14099_11/bi.1012/b13918/urlstart.htm
    The specific question your asking is addressed under 13.5.2 Example 2. Let me know if you have any issues
    Matt Topper
    Technical Management Consultant
    TUSC, The Oracle Experts
    [email protected]

Maybe you are looking for