How to save automatically scheduled Discoverer workbook as a file?

Hi,
When I run a Discoverer report I have the option to export as a file in various formats (PDF, TXT, Excel).
I’ve scheduled a workbook in discoverer and I want it not only to be saved in the Discoverer itself, I also want it to be saved as a file (PDF, TXT, Excel) when it finished running.
Can someone please explain how can it be done?
Another issue:
Is it possible to use other kinds of triggers to run the report beside a schedule?
Meaning – I want the report to run immediately when payroll (trigger exists in DB) finished running.
Thanks!
Rafi

Hi,
I had the same requirement and i achieved it by the combination of Descoverer Scheduled report and oracle concurrent program. In a brief the process goes like this:
1.) Create and schedule the discoverer Report on periodic basis. For example every hour starting from morning 9:00 AM.
2.) As soon as schedule report start running at 9:00 AM, it will create a table in DB to store the output of the execution.
3.) Create a query to fetch the last executed report output.
4.) Get the table name created for the last executed output.
5.) Create the oracle apps concurrent program to perform step 3 & 4 dynamically.
6.) Also, write the code in the concurrent program to Generate Excel/Text/CSV/PDF file by selecting values from the last created table.
7.) Schedule the concurrent program at the time which is the possible/approximate end time of discoverer report execution. For example, if your report take 15 mins to complete, then schedule your program at 9:20 (giving some buffer time just in case).
Now, your discoverer report is scheduled every hour and take 15 mins to complete. And your concurrent program is also schduled to fetch last executed data and create file (and possible Email/FTP them) form the output.
Hope this helps. Do feel free to revert in case you require queries that i have used to perform above mentioned steps.
regards
Nitesh

Similar Messages

  • Scheduling Discoverer Workbooks

    We are trying to replicate an Oracle environment for reporting purposes. We use Discover (3.1.37 currently, version 4 soon) as one of our reporting tools. We have the need to replicate the Discover Scheduling functionality in the second environment. Is there any way to schedule Discoverer Workbooks 'automatically' i.e. not through the Discoverer product? Are there any API's that are available to generate the DBA Jobs/EUL Packages necessary to schedule a workbook ?
    Any comments appreciated ?

    Ian
    For DOS scheduling, take a look at Russ Proudman's presentation at:-
    www.proudman.homestead.com (select presentations, Australia - Dashboard presentation).
    There's also info in the Discoverer Admin handbook under Command line interfaces.
    You can download JIT scheduler at http://www.gibinsoft.net. I've used it with the command line interface and it works fine.
    Can't help you with the API, but I don't think there's anything like that available.
    Cheers
    Chris

  • How to save a single page in a pdf file

    how to save a single page in a pdf file?

    I also need to do this so i can send portions of a large fax file.

  • How to save an image as a PICT resource file?

    Can someone tell me how to save an image as a PICT resource file? I'd like to make ikons in Photoshop and save them in this format, but I 'm not finding any leads. Thanks!

    If you have Resorcerer from "ancient times" it of course can handle resource forks since that's was it's goal in life.
    There are lots of icon creation apps these days.  Do a search for "icon" on macupdate.com to see what's available.  For example that search finds:
    iconXprit
    Icon Builder X

  • How to save Query in a workbook and Role

    Hello All
    What are this workbook and role?How to save the query into this and how it helps/use us.
    can anyone tell about this?
    regards
    balaji

    Hi,
    You need to assign a role to a user. WHen this user enters the system s/he will be able to save queries under the role (the button 'Roles' will be seen).
    See here an example of working with roles:
    Re: How to protect Queries from being modified ?
    Best regards,
    Eugene
    Message was edited by: Eugene Khusainov

  • How to save multi channel data in a same file?

    hi... i'm a fresh guy of labVIEW programming... what i wish to know is how to save multi channel in a same file? i had try with the AI acquire waveform, but it still can't get what i need. Because AI acquire waveform need user key in those channel with ","... but ehat i want is user can choose the channel from a combo box and then once user click a 'add' button then the value will store in memory, after user click done then the value can send to AI acquire waveform together...
    i had tried hard about this but still can't get what i want.... -_-|
    hope anyone can reply as soon as possible...

    HI, Brett B... thanks for your reply
    I'm using labVIEW 7.1 Express... i know the "Write LabVIEW Measurement File.vi" too, but it cannot support the file tpe that i need... so i just can find other way to do that...
    the file type that i need is call *.log\*.DAT... so... there got any solution to do that? or i can modified the "Write LabVIEW Measurement File.vi"?
    Jaxx

  • How to Save SQL query template as a text file

    Hi,
    How to save a SQL query template in my server as a Text file?? I tried using Text saver but it is not getting saved in the path specified.
    Sweety

    Hi Sweety,
    In the transaction editor (for business logic), add your query template to a transaction.  Add a Tracer after and link the Query property of the SQL Query action block to the Message property of the transaction.  Run the transaction and you will see your Action Block's sql script as the message from the Tracer.  You can do the same with the Server property, SD and ED, etc.
    Also if you wish to dynamically load the sql script into the query, you can do that at run time by linking a script source to the query property.  Useful to have if you have to use a complex expression to dynamically create your script.  This sometimes occurs when you have multiple filtering inputs from a webpage and you can reduce the number of tables in a complex join when the fields are left empty.  Normally this would be done as a way to improve the performance of the query.
    Hopefully this is clear.  If not I can probably provide some sample expressions.
    Regards,
    Mike

  • How to save the Icon  to database or .ico file?

    hi
    I get Icon instance by using
    Icon myIcon= FileSystemView.getFileSystemView().getSystemIcon(new File("J:/Program Files/XPSTool/XPSTool.exe"))
    but I not know how to save the myIcon to the database or a .ico file ;
    please help me !!!!!!!
    thanks vey much .

    Doublepost: http://forum.java.sun.com/thread.jspa?threadID=790795

  • How to save pl/sql program unit in a file

    Could anyone please let me know how to save a pl/sql program in a program file. As per my knowledge Edit command is used to invoke the editor and save the program. But i am unable to use this command properly. I am using Oracle 10g on Linux

    One can edit SQL scripts and the command buffer (the last command entered) with the EDIT (or ED) command. However, sometimes one needs to select an editor before using this command. Examples:
    Use the Unix/Linux vi-editor:
    DEFINE _EDITOR=vi
    Use the Notepad on Windows:
    DEFINE _EDITOR=notepad
    PS: Add this command in your login.sql or glogin.sql scripts so it executes every time you start sqlplus.
    Does that answers your question?

  • How to save querys to a workbook

    Hi Pioneers
                I  have three queries which i need to group them in a  workbook...Could u plz tell in steps how to create a workbook and include the queries in to that...
    BR
    RAvi

    Hi,
    Execute the Query and save it as Work Book.
    Save (from BEx too bar)->save as new work book>Provide description and click ok.
    go to Tools (Bex tool bar)-->insert Query to insert more queries in the same wok book..
    Before inserting new Query,make sure that you maintained appropriate number of worksheets (with excel functionality)
    regards

  • How to save automatically the content of the word document on Intranet site

    Hi,
    There is a function asked by application user:
    1. Open Word document from the corporate Intranet site
    2. Update the content of the Word document
    3. Automatically update the Word document on Intranet site with the new content or automatically upload Word document with the new content.
    Thank you for your help or any suggestion.
    Best regards,
    Mladen

    After generating, use F2 to rename the output.
    Sorry but I don't think you can avoid it.
    Please follow this link and submit a feature request.
    http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How to save data (DBL array) in a excel file

    Ok, I am new into Labview.  This question may seem easy for you guys, but for me, it is quite a challenge.  I have current coming out of a loop.  When the program stop, I would like to be able to save it as well as the time when it has been taking and the average current in a excel file.  When my labview code stops, how do I do to get a  pop up window which ask me where and what name to save it to? How do I get so that on the top of each column, it says : current (Amp)    Time (ms)   Average Current (amp)?
    thank you very much,

    Hello,
    We love to see people catch the LabVIEW spirit and anything we can do to help
    you through the initial learning process is our pleasure.
    As KC suggested saving the file as a .csv is a good idea,
    you can also save it as a txt file and open it with Excel specifying a delimiter
    for the columns.
    There is a really good example you can find in the LabVIEW
    example finder if you search for the keyword ‘file’, the example is called “Write
    to Text File.vi”. They use a Get date/time String to record the time when data
    is acquired.
    I have attached a simple Write to File picture of a VI that
    takes a random number and writes it to a file. When I run the VI, a popup asks
    me what I want to call the file. The first part writes the heathers on the
    columns and inside of the for loop I save the data. Underneath the block diagram
    is a picture of the output file when I specify the number of samples to be five.
    If you want your file to be on a very specific format, you
    can create a template file, read it in LabVIEW, and then add your data to it
    and save it to a new file.
    Hope this can get you started with your program.
    There are a lot of good tutorials online on how to
    get started using LabVIEW. Here is the link to a three hour
    introduction course:
    http://zone.ni.com/devzone/learningcenter.nsf/03f7c60f17aad210862567a90054a26c/60c2782788a811c986256cd50001a0a6?OpenDocument&node=200067_us
    We are also comming out with LabVIEW 8 in November and we have a program called LabVIEW Standard Service Program
    (SSP) that allows you to get automatic upgrades and updates. Please let
    me know if you are interested in knowing more about it.
    Good luck,
    Tica Taveras
    Applications Engineer
    National Instruments
    Attachments:
    SaveData.bmp ‏1475 KB

  • How to save multiple forms to a single postscript file

    Hi All,
    We have a requirement where we have to print 10 to 20 forms as a batch print each day.
    What this means, is that at the end of the day, a single print operation will print all the forms.
    The Client is expecting us to create a single postscript file for all these forms.
    I need someone to explain to me the postscript functionality and how it is possible to save the information of 20 forms in a single postscript file.
    Thanks,
    Urmila

    HI,
        We can use more than one Form in a Driver Program. It's Possible to Print also. Use this Functional Modules
    Open_Form.
    Start_Form.
    Write_Form.
    End_form.
    Start_form
    Write_form
    Start_form.
    Close_form.
    Revert Back if u have any clarification.
    Regards,
    Saran

  • How to save a CWGraph into a bitmap (.bmp) file in Visual C++?

    I plot (chart) data into a graph control on a MFC dialog in Visual C++ and I need to save the image into a bmp file. I found the ControlImage method, but did not find any way to use it in Visual C++.
    I would also like to retrieve the chart data (the point charted on the graph for each plot) and to use them to build data files. How to do it?

    Dealing with images in VC++ is far from easy. You would need to create the following objects: CBitmap, CArchive, CPictureHolder and a CDC.
    Then call the SelectObject function on the CDC and pass in the CBitmap object. Then you can put the image of the graph in the CPictureHolder with:
    ph.SetPictureDispatch((LPPICTUREDISP)m_CWGraph.Con​trolImage().m_lpDispatch);
    where ph is the CPictureHolder and m_CWGraph is the CWGraph.
    Then you can render the image to the bitmap CDC by calling the CPictureHolder::Render function. It will ask for the bounds of the picture in CRect form as well.
    Then you can call the CBitmap.Serialize function with the CArchive object which should be pointing to the appropriate BMP file. Don't you just love MFC?
    As for you second qu
    estion, you can't retrieve the data that has been plotted to the graph. We don't maintain the data that is sent in because it would be very inefficient memory usage since data is usually decimated for display. I would recommend that you just send your data to a global buffer at the same time as plotting.
    Best Regards,
    Chris Matthews
    Measurement Studio Support Manager

  • How to save a Flash Chart to a local file

    We created a Flash Chart page with Apex 3.1.2. After this 2D line Flash Chart displayed on the screen, is there a way to save it to the user's local machine? So they can view or print the chart they saved later on.
    I have found some info. on anychart.com, http://www.anychart.com/products/anychart/docs/users-guide/index.html?SaveAsImage.html. But I don't understand how to implements those steps in Apex and/or on the localhost running APEX.
    Thanks.
    -Michele

    Michele,
    Method 1:
    If you goto any test interactive report page in your apex application and from the actions menu, choose the chart option, pick the type of chart and the label and value column, click apply to display the chart.
    You can then right click the chart to show the version being used and the 'save to image' option will be there if it is version 4.
    Method 2:
    In anychart 3.x, each type of chart has a different flash file to reference from the apex page.
    In anychart 4.x, each type of chart references the same flash file, they were combined into one for ease of deployment, etc.
    This flash file is normally located in the apex images structure /images/flashchart/swf/AnyChart.swf
    Your path to images may differ. If you have this file, then version 4 is already installed
    Regards,
    Blackstone

Maybe you are looking for