Report Automation - How to?

How can I automate reports to be sent to someone else. This would be a report that would need to be run about 3 times per day, at different times. I'd like for the reports to be set up to run at the given times, exported to excel and then emailed to the other person. Any assistance on the process overview and required script is greatly appreciated. Thank you.

Hi Karthick_Arp. Thanks so much for the quick response. I guess that I should've mentioned that I am not only brand new to Oracle but also to databases. I have very basic knowledge of SQL and just started learning PL/SQL a week ago. If possible could you please elaborate with more detail? It would be a huge help.
I did already understand that I had to 1) run a query for the data that I'd like and 2) export it to excel and then 3) email it. But what I'm wondering is how to get the database to do this for me automatically. Is it possible to write a script that will run a report three times per day at a given time, export it to excel and then email it automatically for me as opposed to doing this manually? Your help is much appreciated.
1) run a query for the data that I'd like: > Now you can schedule the PL/SQL code using DBMS_SCHEDULER > Does the DBMS_SCHEDULER  schedule the script to be run?
2) how can I get the db to auto export to excel? Is it possible?
3) How can I get the db to auto email the excel file? Is it possible?
Any help as to how this script should be written (or even a sample script) would be great. I already picked up a PL/SQL book and also a learning video. I already have a general understanding on how to write a basic block but am still a newbie so the help for a newbie would be immensely helpful.
Thank you again.

Similar Messages

  • Identifty different features usage for SPLA report automation

    Hi,
    We are trying to automate SPLA report automation using PowerShell for exchange server 2013, and need to understand few things for this purpose.
    Can please someone explain what are these features, and how to identify them using powershell (whether some exchange users using them or not):
    -- Shared Folders
    -- Shared Address Lists
    -- Shared  Contacts
    -- Shared Calendar
    -- Mobile Browse
    -- Compliance Management
    -- Exchange 2013 Anti spam
    as written in this document.
    http://thewestcoastblog.wordpress.com/2012/11/07/looking-at-licensing-spla-applications
    Any help would be greatly appreciated.
    Regards, David Johnson

    Hi,
    I am not familar with Licensing. For more details, please contact Licensing Support.
    I find an article related on the Licensing, for your reference:
    Exchange Server 2013 licensing
    http://office.microsoft.com/en-us/exchange/microsoft-exchange-server-licensing-licensing-overview-FX103746915.aspx
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • Reporting Services - How to open a second table inside report, for each number of client (each apears in first table)

    Reporting Services - How to open a second table inside report, for each number of client (each apears in first table)?
    Exemple:
    Table1
    Cliente name:
    John
    Client number:
    12345
    Survay number of negative answers:
    3
    Table2
    Questions and answers that were negative:
    Question: How much time where you waiting
    Avaluation: 3 (from 1 to 10)
    Answer: They only called me 1 mouth later
    Can you please help me?

    Hi,
    Based on the description, I understand that you want to add subreport in the main report. When previewing the main report, the subreport can be shown in detail. Please see the screenshots on my test:
    In Reporting Services, we can create parameters and pass them from main report to subreport in order to control the data dynamically.
    References:
    Subreports (Report Builder and SSRS)
    Add a Subreport and Parameters (Report Builder and SSRS)
    If I have any misunderstanding, please feel free to contact me.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • I have an Ipad 2 and here is what I am trying to accomplish.  On my laptop I connect to a remote desktop connection to access a shared program we use for reporting.  How do I set up my Ipad to access this remote server?  Thanks for the help.

    I have an Ipad 2 and here is what I am trying to accomplish.  On my laptop I connect to a remote desktop connection to access a shared program we use for reporting.  How do I set up my Ipad to access this remote server?  Thanks for the help.

    Close ... before going for a specific Cisco app ... lets find out some details:
    Host we need more details:
    What is your server environment (Windows Server, or Mac OS X Server, or Linux)?
    What security is implemented in your environment - as what is restricted (RDP for all or specifc credentials on all machines? Are you part of local admin group to the server you wish to connect)?
    Does your environment Support CISCO IPSec connection? If so use Settings> VPN and IPSec tab to enter VPN details, if not then go with above suggestion. IF your restricted to RSA then either built in VPN settings or 3rd party app for RSA would suffice.
    Finally, there are many RDP applications out there I use "Mocha RDP Light" (free minimal ads when launched not when connecting).

  • Report painter: how to edit.

    Dear everybody,
    I would appreciate your help.
    I need to edit an existing report painter query, in which I need to add a new selection criteria and to add a print parameter into the header of the report.
    How can I edit an existing report? I know about the GR* transactions, but which is the correct one to use?
    The details of the report are:
    >Report type : Re
    >Extdreport : FBRD01RFRRD10
    >Report and Form name : zsapfd10-03
    Thanks,
    Azit.
    Edited by: Julius Bussche on Dec 7, 2008 12:00 PM

    Poonam , thanks for replying
    but can you tell me how I will know what report group or library i need to enter
    the GR22 OR GR52 so I can edit the form/report with the details I attached ,
    my problem is that I don't know all the parameters to enter the report
    editor ( library , report group ...)
    all I know is the details I attached and also I know that
    this report has a form attached in transaction FDI2 .
    but I can't find a way to edit it properly
    It will be wonderful if you could help me ,
    thanks in advance ,
    azit .

  • Report Painter: How to change the order of lines in selection screen

    Dear Gurus on Report Painter,
    how can I change the order of the lines (where the values for the variable selection of my cost center report are entered) in the selection screen of a report painter report? The Selection screen looks awful.
    Is there also a possibility to add another description to each line of the selection screen?
    Thank you very much for your advice.
    Best regards Timo

    I am afraid you have much choice in choosing the order of the selection parameters. However, with the developer's access you may.
    This is how!
    Step 1: If it is a standard report, copy to your own report. and assign it to a report group. and execute.
    Step 2: When you execute, and the selection appears, go to systems>status and here , copy the program name (it may look something like GP46LP6VEDORBSA2IHWYSR4TL58020)
    Step3: Go to SE38 and enter the above derived program name with a view to re-arrange the line withing the program, with reference to selection parameters. 
    For example: I have a selection screen in the following order:
      Controlling area            
      Fiscal Year                 
      From period                 
      To period                   
      Plan version                                                                               
    Cost center group           
      Or value(s)                 
      Cost element group          
      Or value(s)                 
    The corresponding program that drives this order is in the program and would look like this,
    SELECTION-SCREEN BEGIN OF BLOCK VALUE_SELECTION
                     WITH FRAME TITLE TEXT-003.
    <b> PARAMETERS: $1KOKRE  LIKE CCR1S-KOKRS .
      PARAMETERS: %1KOKRE  LIKE CCR1S-KOKRS MODIF ID IN4.</b>
    <b><i> for controlling area</i></b>
      PARAMETERS: $1GJAHR  LIKE COSP-GJAHR .
      PARAMETERS: %1GJAHR  LIKE COSP-GJAHR MODIF ID IN4.
    <b><i> for fiscal year</i></b>
      PARAMETERS: $1PERIV  LIKE COSP-PERBL .
      PARAMETERS: %1PERIV  LIKE COSP-PERBL MODIF ID IN4.
    <b><i> for period from</i></b>
      PARAMETERS: $1PERIB  LIKE COSP-PERBL .
      PARAMETERS: %1PERIB  LIKE COSP-PERBL MODIF ID IN4.
    <b><i> for period to</i></b>
    etc.
      PARAMETERS: $1VERP   LIKE COSP-VERSN .
      PARAMETERS: %1VERP   LIKE COSP-VERSN MODIF ID IN4.
      PARAMETERS: $1VALUTP LIKE CCR1S-VALUTYP MODIF ID IN4 .
      PARAMETERS: %1VALUTP LIKE CCR1S-VALUTYP MODIF ID IN4.
    SELECTION-SCREEN END OF BLOCK VALUE_SELECTION.
    ......... set variables ..............................................
    SELECTION-SCREEN BEGIN OF BLOCK SET_SELECTION
                     WITH FRAME TITLE TEXT-004.
      PARAMETERS: $1KOSET  LIKE RKSB1-KSGRU.
      PARAMETERS: %1KOSET  LIKE RGSBS-SETNR MODIF ID IN5.
      SELECT-OPTIONS _1KOSET  FOR CCR1S-KOSTL .
      PARAMETERS: $1KSTAR  LIKE RKSB1-KAGRU.
      PARAMETERS: %1KSTAR  LIKE RGSBS-SETNR MODIF ID IN5.
      SELECT-OPTIONS _1KSTAR  FOR CCR1Z-KSTAR .
    SELECTION-SCREEN END OF BLOCK SET_SELECTION.<i></i><b></b>
    If you want fiscal year to appear first, you try just copying the coding relating to fiscal year just above the coding for Controlling area.
    Extend the same logic for what you may want to get.

  • In SAP 4.6c In classical reports output how to change Font size and Font type

    Dear Experts,
    In SAP 4.6c, in classical and interactive reports  output how to change font size and font type.
    Regards,
    Zaker.

    These are HTML formatting questions. Nothing to do with the Oracle SQL and PL/SQL languages.
    With old-style HTML, the font size and family are set using the font tag.
    With modern style HTML, that is done using cascading style sheets (CSS).
    Your favourite search engine will turn up tons of information on both.

  • 4 tables in 1 report. How can I do that?

    I have 4 tables (4 selects)  and I need place in one report.
    How can I do that?

    select t1.field1, t1.field2, .. t1.fieldn, t1_idenifier "t1"
    from table 1
    where
    union
    select t2.field1, t2.field2, .. t2.fieldn, t2_idenifier "t"
    from table 2
    where
    select t3.field1, t3.field2, .. t3.fieldn, t3_idenifier "t3"
    from table 3
    union
    select t4.field1, t4.field2, .. t4.fieldn, t4.t_idenifier "t4"
    from table 4
    Then, in Crystal Reports, create formulas
    total1 where it is a summary of all the values where t1.t_identifier = "t1"
    total2 where it is a summary of all the values where t2.t_identifier = "t2"
    etc.
    This is simplified, of course.  You need to make sure that the values held in each fieldn contain the same field for each value of n (IE, field1 for each table must be, say, the id; field2 for each table must be, say, the cost, etc).  Where there is no matching field across tables, you'll need to
    set the values to null or a blank (or whatever) in the ones that don't have a corresponding field.  It's cumbersome, but it's faster processing and makes things a lot simpler on the CR side.
    Edited by: Sandra Kear on Mar 3, 2009 5:52 PM

  • RRMX  opens a default report. How to change this setting  ?????

    Hi all,
      If we type RRMX transaction code, it should go to BEx, but user has reported that whenever he types RRMX it opens a particular REPORT.  How can we change this setting so that the default report will not be opened, PLEASE ? It seems it started after upgrading to BW 3.5.
    Thanks.

    Rian,
       Thanks for your response. I have created a TEST User Id with the User Id that has the problem. I am not getting any default report with the TEST User Id when I type RRMX, just it goes to BEx (blank) only, but not to the report.
      I have followed your navigation steps (Business Explorer Tab/Setting/ New Workbook on embed) with TEST User Id and 'is based on permanent template' is checked' under 'New Workbook on embed', but not 'is empty'.
    I will go to the User's desk tomorrow and check the BEx settings on his PC.
    Thanks.

  • I just installed CS 6 and now my Acrobat Pro is crashing. I marked several spots to redact and when I applied the redaction, it crashed and produced a report.  How do I get it to stop crashing.

    I just installed CS 6 and now my Acrobat Pro is crashing. I marked several spots to redact and when I applied the redaction, it crashed and produced a report.  How do I get it to stop crashing? I am on OS 10.9.4

    Report the problem to Adobe Acrobat Support along with sample PDFs and detailed description of the steps you perform.

  • In Automator, how can I pass a shell script output to Display Notification?

    In Automator, how can I pass a Run shell script output to Display Notification?

    Soemthing like this will work

  • XL Reporter: Automation Error

    Hi everyone,
    Does anyone of you have encountered this type of error in XL Reporter?
    An Error Occurred During the Process "Report Initialize"
    Description: (666) Error! Unable to get document!
    Type: 22
    Case: Automation Error
    XL Reporter Startup Failed!
    How did you solve it? Thanks in advance
    Regards,
    Malu

    Dear Malu,
    Refer to note [918188|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMSZ3PTU4ODAwMDAr)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=918188]
    BTW: You could have found it yourself when searching for : "(666) Error! Unable to get document" within this forum since several threads are already existing about that
    for example:
    - [XL Reporter Startup Failed!|XL Reporter Startup Failed!]
    - [XL Report Error|XL Report Error]
    Kind regards
    Mario

  • I installed the latest version of Firefox last night. It worked 3-4 times flawlessly. Now, it crashes at startup and gives me a box with crash detail report. How can I fix this?

    I have a brand new HP dv8t laptop that is straight from the manufacturer 2 days ago.
    Last night, I attempted to download and installed the latest version of Firefox. After installing, it worked great for an hour or so (3.4 different sessions).
    Then, this morning when I came back to the computer, Firefox crashes at startup and gives me the option of finding a solution online or quitting the program.
    How aggravating!
    I have installed this same version on 2 other computers that I own, without any issue.
    I have attempted to uninstall Firefox from the dv8 and reinstalling, to no avail.
    I cannot find the crash report, but I do this see this message once the app crashes:
    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: firefox.exe
    Application Version: 1.9.0.3399
    Application Timestamp: 49f1091d
    Fault Module Name: StackHash_5701
    Fault Module Version: 0.0.0.0
    Fault Module Timestamp: 00000000
    Exception Code: 4000001f
    Exception Offset: 046b75ba
    OS Version: 6.1.7600.2.0.0.768.3
    Locale ID: 1033
    Additional Information 1: 5701
    Additional Information 2: 5701071bdc29491833a7ab96965d1870
    Additional Information 3: c8d0
    Additional Information 4: c8d0e80632ad4cc967a76f7e9c35ca44
    Please help! I cant stand iE anymore and I'm so lost without Firefox!

    You might try using the add-on 'NoSquint' which allows numerous zoom options specific to each page you visit & keeps your settings - https://addons.mozilla.org/en-US/firefox/addon/nosquint/
    If you want to go back to 3.6x, you will find it here:
    http://www.mozilla.com/en-US/firefox/all-older.html
    In most cases you can simply "upgrade" (meaning downgrade) directly from the installation. It would be a good idea to save your passwords & bookmarks just to be on the safe side.

  • Automator - How do I: Mouse Click, Move Windows, and more

    Hello,
    I am attempting to create my own Automator programs and for a while I had some that worked nicely. I have recently been tweaking my iMac so that it can "think" on its own (by automator of course) and do things for me. However, I've run across a block with Mavericks (I believe it's due to Mavericks).
    1. How can I get Automator to register a mouse click? "Watch me do" does not seem to want to work for me at all. I also would prefer if it would just be a registered mouse click, but not actually use the mouse (I know this is possible) so that if I'm doing something and it runs, it won't disturb my mouse and I can keep working.
    2. How can I register a keyboard stroke? Same as above
    3. How can I have automator move windows? I have two monitors and there are times when I may want it to move a window from one mintor to another
    The following is a list of all the things I'm attempting to accomplish at the moment (with other things when I think of them) with automator (either through applications, folder actions, or ical actions):
    1. Register a mouse click at a given area or on a given element in a safari page
    2. Register a keyboard stroke in a given program (be able to focus on a program and then do the keystroke)
    3. Move windows from one location to another
    4. Full-screen and Un-full-screen iTunes at certain times of day
    5. Download all purchased items on iTunes that aren't on the computer (sometimes iTunes doesn't download stuff if it was downloaded on my MacBook Pro first)
    6. Automatically voice read reminders (that I've set in Reminders) each day at a given time (I can use loop to repeat it to make sure I hear it all)
    I'll think of more of course, but the mouse click, keyboard stroke, and moving windows is the big thing I'm trying to figure out how to do. Can anyone help?
    Also, I am not a computer tech. I am tinkering with this because it's fun and helpful, but an answer of "just use applescript" or "just use java" will likely just give me a headache. I know that it's going to be one of those codes, but I'm hoping someone has a "base" code that can be copied and pasted that's just a standard click that I can adjust for where I need to click and what process I need to click on.
    If there is an Action Pack that includes a "Register Mouse Click" and/or "Register Keyboard Stroke", then that would work great, but the only action packs for automator I've seen that work with Mavericks is for photoshop.

    You're asking for a lot in one post.  It would be better to break your requests down a bit. 
    For example, to deal with mouse clicks, you can use the Automator Action Run Shell Script with this python script:
    import sys
    import time
    from Quartz.CoreGraphics import *
    def mouseEvent(type, posx, posy):
            theEvent = CGEventCreateMouseEvent(None, type, (posx,posy), kCGMouseButtonLeft)
            CGEventPost(kCGHIDEventTap, theEvent)
    def mousemove(posx,posy):
            mouseEvent(kCGEventMouseMoved, posx,posy);
    def mouseclick(posx,posy):
            mouseEvent(kCGEventLeftMouseDown, posx,posy);
            mouseEvent(kCGEventLeftMouseUp, posx,posy);
    ourEvent = CGEventCreate(None);
    # Save current mouse position
    currentpos=CGEventGetLocation(ourEvent);
    # Click the "Apple"
    mouseclick(25, 5);  
    # 1 second delay       
    time.sleep(1);        
    # Restore mouse position
    mousemove(int(currentpos.x),int(currentpos.y))
    It will look like this in Automator:
    To drag something (i.e. a window, a file icon) from position 40,60 to 60,300:
    import time
    from Quartz.CoreGraphics import *
    def mouseEvent(type, posx, posy):
               theEvent = CGEventCreateMouseEvent(None, type, (posx,posy), kCGMouseButtonLeft)
               CGEventPost(kCGHIDEventTap, theEvent)
    def mousemove(posx,posy):
               mouseEvent(kCGEventMouseMoved, posx,posy);
    def mouseclickdn(posx,posy):
               mouseEvent(kCGEventLeftMouseDown, posx,posy);
    def mouseclickup(posx,posy):
               mouseEvent(kCGEventLeftMouseUp, posx,posy);
    def mousedrag(posx,posy):
               mouseEvent(kCGEventLeftMouseDragged, posx,posy);
    ourEvent = CGEventCreate(None);
    # Save current mouse position
    currentpos=CGEventGetLocation(ourEvent);
    # move mouse to upper left of screen
    mouseclickdn(40, 60);
    # drag icon to new location
    mousedrag(60, 300);
    # release mouse
    mouseclickup(60, 300);
    # necessary delay
    time.sleep(1);
    # return mouse to start positon
    mouseclickdn(int(currentpos.x),int(currentpos.y));
    For keystokes in AppleScript (which can be added to Automator with the Run Applescript Action) see: http://dougscripts.com/itunes/itinfo/keycodes.php

  • Report Painter - How to identity statistical orders in a Cost Center Report

    Hello,
    currently I am in the process of building a cost center report based on reporting tabel CCSS.
    This report should list all primary and secondary costs which are charged to a specific cost center/cost center group .
    The cost center or cost center group is given in the general data selection.
    All direct primary cost postings are identified in rows like this:
    - Cost Element (SET): cost element group A1, A2,...Axx
    - Business Transaction Type: COIN
    All primary cost postings deriving from (real) internal orders are identified like this:
    - Cost Element: 1 to 9999999999
    - Business Transaction: KOAO
    - Partner object number: 0 to 99999999
    Now here is the problem:
    The controlling department requests to identify all primary cost postings  to the given cost center which have been postet to a statistical internal order at the same time.  The most part of the primary costs have been directly postet to the cost center in the Additioanal Account Assignments. But some have been posted to the cost center and at the same time to a statistical internal order.
    Looking into BSEG I can quickly identify these line items as they have a value in BSEG-KOSTL and BSEG-AUFNR.
    How can I select these items in a report painter report?
    I would like to separate all items whith connection to statistical int. orders from those with no connection to internal ordes.
    Thanks for your help!

    Dear Elli,
    Dear SAP-Gurus,
    once again, thank you for your quick reply.
    You hints and remarks are very much appeciated.
    My problem seems to be slightly more complicated than what I had expected.
    All postings to the cost center/cost center group are actual postings. The cost center is the "real" cost element, there are no postings of value type 11 here.
    Most postings have the cost center as the only cost element, but others additionally mention a statistical order.
    My goal is to seperate those postings to the cost center [as (real) cost element] plus the statistical order from those with only the cost center.
    I would also like to sort these postings by the order number.
    I could easily write two reports:
    One  for the cost center and another one only for the statistical orders. The latter would use value type parameter 11 (as you proposed!). Unfortunately, I do not know all order numbers tied to the cost center. As table BSEG is not suitable for SAP Query,  I  run into deep problems here.
    I know I have problem in the design of my report here and  I would like to sort out, which options I have.
    Is Report Painter a suitable tool for me here anyway?
    Thanks again!
    Karsten

Maybe you are looking for

  • Visual Composer Installation

    Hello , I am new to Visual Composer and installed Netweaver Composition Environment ...and want to start using the Visual Composer Tool to create Models...how can I do that....while installing NWCE i had 2 options for scenario as Java Application ser

  • Incorrect grand total when drilling down

    Hi, I have a simple crosstab report showing budgets and costs against consortia. The consortia names are the row headers. There is a heiracrhy of practices within consortia. I have a 'grand total' calculation at the bottom. When I drill down from any

  • Mail list limit

    Is there a limit on the number of members in an Address Book group used as a distribution list for email?

  • Drawing display in material Master??

    Hi experts Can anybody explain , i have updated drawings in material master. For eg ABCD is material code . For the ABCD material i have uploaded some drawings in SAP system. Here i think who are all having access for MM03 , they can see the drawing

  • IMac constantly rebooting

    Friend of mine's Mac got on the wrong side of a power outage and now it won't boot properly. (running 10.8) And now it gets to this far on the bar and then restarts. (see photo) I managed to talk her through getting booting the recovery partition and