Trigger on scheduled report completion

I would like to automatically distribute reports by e-mail.
I am aware that Discoverer can schedule the production of reports.
Is it possible to attach a trigger to this and, say, use UTL_SMTP to distribute the resulting CSV file?
I am aware I would have to write the e-mail code myself.
I want to avoid installing things like Outlook onto the server itself because I want management of the distribution to be done in the DB - even if it means using hard core PL/SQL rather than pretty Outlook.
Cheers,
denty.

Ther users which are already the recipent of the sheduled report cannot be changed at the runtime.
However the changes which you have made before the running the scheduled report will take effect

Similar Messages

  • Querying the output of a batch/scheduled report

    We haven't move to Discoverer Viewer as of now. One of the questions I have to those who have already implemented it is, can you schedule a batch report in the viewer and then users are able to query the RESULT of it without querying back the database? We have concerns on performance during the day so scheduling reports to run at night would be convenient for us.
    thanks for any comments........

    In the concurrent program screen, select options . Under Notify the following person, eneter the email address where output needs to be sent.
    Other option could be to create a send mail package and call that from after report trigger of report. The email address can be inputed as a parameter. For more information for this visit
    http://sureshvaishya.blogspot.com/2008/02/email-through-plsql.html
    The third option could be to call the report from a shell script program and after report is completed email the output using mailx functionality.

  • The status of scheduled report in java application ?

    Post Author: Jay_Misys
    CA Forum: JAVA
    My java application is running on application server (websphare / java application server)
    I schduled the report published on crystal report server
    the java code is like:
    BIPlatform bipService = new BIPlatform(new Connection(new URL(servicesURL + "/biplatform")), oSession.getConnectionState());
    ResponseHolder rh=bipService.get("path://InfoObjects/"+sCrystal_Reports_Folder + reportName +
    "@SI_SCHEDULEINFO,SI_PROCESSINFO" ,oGetOptions);
    InfoObjects oInfoObjects = rh.getInfoObjects();
    CrystalReport oCrystalReport = (CrystalReport)oInfoObjects.getInfoObject(0);
    SchedulingInfo schedulingInfo = oCrystalReport.getSchedulingInfo();
    schedulingInfo.setRightNow(Boolean.TRUE);
    oCrystalReport.setPluginProcessingInterface(procInfo);
    oInfoObjects.setInfoObject(0,oCrystalReport);
    bipService.schedule(oInfoObjects);
    Pls help me  to get the status (running / sucessfully generated/ failed etc...) of scheduled report ? 

    out = new FileOutputStream(matcher.group(1)+".open" , true);
                          FileChannel ch = out.getChannel();
                                       FileLock lock =  ch.lock(0L, Long.MAX_VALUE, false);
                                   // Connect print stream to the output stream          
                                       p = new PrintStream( out );
                            p.println ("\n" + parms.getProperty( value ) + "\n");
                                  p.flush();
                            p.close();
                                  lock.release();Ok, I tried implementing locks but I dont know why it is not working...An exception is thrown and nothing is wriiten to the file. I have employed a complete lock on the file so that no other JVM application can use it.
    Actually this is a server that grabs data sent from an Iframe and writes it down to a temp file. I open a file input stream, lock it and then use a printwriter strream to write the realyed data to the file. Any inputs as to what is wrong with the code snippet above?????

  • Scheduled report is not triggered by another report on which it depends

    Hi folks,
    I intend to trigger a group of reports by running a dummy-report (it does not more than executing the function currentDate() and displaying the result in a text field) manually (using InfoView) and use the success of this report as the trigger event for each report of the mentioned report group.
    I tried to start off with only one report to be triggered. This report is scheduled to write an Excel-Sheet to the Default Enterprise Location with a scheduling interval of 5 minutes. The report runs fine within the specified intervals without having specified the dummy-report as a prerequisite event for the actual data report.
    As soon as I define the dummy-report as a triggering event for the data report, the data report is not executed regularly any more, i.e., the first instance appears and remains as "Recurring" in the history list and nothing more happens.
    I first schedule the data report as indicated and then fire up the dummy-report using "Now" from the drop-down list. Interestingly, I have to press the "Refresh Workspace Panel"-Button, before the status of the dummy-report changes from "Running" to "Success", although the report does not a lot. But, as mentioned, the data report is not triggered.
    What am I might doing wrong?
    Cheers
    Bobbyy

    Hi
    When the first time you are placing the excels sheet, the dependent report runs successfully.
    For it to trigger next time the excel sheet should be deleted from that location. Only the occurence of the excel sheet will trigger the second report, so this should be deleted.
    Gangadhar

  • Scheduled report name

    Hi,
    We have made a custom report for UCCX8.5, which we'd like to schedule. This report can only show the details of one CSQ, by selecting a CSQ filter. Because of this we'll need to schedule a new task for every CSQ. Here the issue arises: when I look at the scheduled reports overview, all reports have the same name: The name of the report. This makes it impossible to see which scheduled report is which. So it'll be really hard to delete or add one later.
    Is there a way to change the name of the scheduled report task?
    Regards,
    Ruud van Strijp

    This is one of a few scheduler-related limitations of the HRC. Another is that the machine running the client must be running and actively logged in for the system tray-based (i.e. not a windows service) scheduler app to trigger.
    My advise on this one is to upgrade to the latest 9.0 build where you can switch from the legacy HRC client to the new Unified Intelligence Center (CUIC) reporting engine. This is a browser-based UI and was ported over from UCCE so now both products have the same reporting engine. As luck would have it, you can name the schedule when you create it with CUIC:
    http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/intelligence_suite/intelligence_suite_902/user/guide/CUIC_BK_R4B100EB_00_reporting-app-user-guide-902_chapter_01000.html
    With that said, you'll have to redo your custom report by spinning up a lab instance of CUIC Premium (not bundled with CCX) so you can create the report definition. Once you have that, you can import it into the embedded CUIC Standard instance on CCX and be good to go. The SQL stored procedure process remains unchanged.
    In case you're inclined to dismiss this advice, note that HRC is EoL. In 9.0 you can pick one or the other but it's gone entirely in 10.0; CUIC only. So, it's only a matter of time before you have to cross this bridge anyways.
    Please remember to rate helpful responses and identify helpful or correct answers.

  • Scheduled Report execution on Server

    Folks,
    just one question: Is it possible to schedule report generation on the server?
    Here's what I would like to do: At regular intervals I would like to automatically generate database reports (using the Server Object Model).
    I would see various approaches, but right now, I have no idea what is actually feasible:
    - Trigger Server script execution with BPAADM, scheduled by Windows Task Manager
    - Trigger Server script execution by executing a JAR file with JAVA.EXE, scheduled by Windows Task Manager
    - Modifying some configuration script in the Server\config directory
    - Trigger Server script execution by pure magic ;-)
    Any ideas?
    Regards, Jörg

    Hi Jörg,
    we use simple server based batch scripts . These scripts use the functionality provided by the BPA Admin tool to perform different tasks. You can either start macros inside the tool or perform other tasks like backing up the DBs etc.
    This is a very simple by proven way to automate server based activities. We use this since the old ARIS days
    Cheers
    Dirk

  • Report Completion date and Report start date in BI Publisher

    Guys
    We have a requirement to get the Report Completion date and start date without Scheduling the report. Can any one give me an idea to get in the BIP Reports
    Regards

    What is the requirement ?
    When the user run report from BIP EE, you want to display how long the report run ?
    or
    Where you want to display these info >?
    If you expecting these info, on click of viewbutton then i dont think it is possible, unless you write the query to fetch the time and in the template processing, subtract that from the current sys-time to get the time it took to run.
    if you can schedule then
    Simplest would be is , taking these info from the tables, directly for the report you are running.
    or
    use Public WS provided by BIP to get the report info
    but in order to get these, first of all the reports should be run in scheduled mode.
    if you don't want the report to be scheduled then, i don't think, you can get these kind of report completion status info.
    otherwise , you can run the query by yourself to get the data and the time it took to complete from database and do some sort of custom calculation by urself

  • Scheduling Report through InfoView - Destination Email

    My question pertains to InfoView in Crystal Report Server 2008.  I am trying to set up a scheduled report to run once, and be emailed as a pdf to my own email address.  I am using the administrator account and can successfully do this through the CMC, but when I try to schedule the report through InfoView, the destination always reverts back to the Inbox destination rather than the email destination.  The job has a successful status, but the destination is always the Inbox.
    I am fairly confident my job servers are set up with the proper SMTP information since I am successful when trying this through the CMC and I am setting everything the same through InfoView. 
    Any ideas?

    Hello,
    This is Crystal Report Server 2008 and I guess Business Objects Enterprise 3.0.  
    When scheduling a report through InfoView I do the following:
    Recurrence - Now
    Format - I choose PDF, although it doesn't really matter for the problem I am having.  
    Destination - I choose email from the dropdown, there is no checkbox to ignore the defaults.  I have to input my own information.  I populate the From, To, and Subject boxes.  I also choose to have an attachment sent.  
    I click the Schedule button and I am taken to the History window.  The job has a status of Running.  I choose refresh and the job completes with a status of Success.  However, when I click the status and the Instance Details are shown, the external destination line reads as Inbox and no email is delivered.  The report is delivered to the InfoView user's inbox, but not in an email as I selected.  
    This process works when performed through the CMC, but not through InfoView.
    Edited by: vtrujillo on Oct 8, 2009 5:13 PM

  • Strange error while scheduling but can see the scheduled report

    Hi,
      When I schedule a Deski Report from my Favorite folder to my repository folder the instance fails and has this error message
    destination DLL disabled. []: [CrystalEnterprise.Smtp] .
    But when I see inbox I can see the report scheduled in required format.
    For information - I m using XIR3.1 SP2 and using a server group for scheduling this.
    Please help me identifying why the schedule fails.

    Hi,
         Please note, the error occurred when system tryng to push your completed scheduled report into a particular destination. In you case, the Repository Folder Path.
         Regardless, the solution provided by the previous post contained the same solutions you need to apply.
         In summary, you need to make sure you have permission to that particular path where the report will eventually reside.
    Regards,
    Ken

  • Urgent Help Needed in scheduling reports from BI Publisher

    Hi,
    I have configure the scheduler service on my windows server. Now i am trying to schedule a report from BI pubisher. But it is not working. When i click submit button, It is not doing anything. It seems it adds entry in the job schedule table. Even when i click schedules link, it shows just show progress status on explorer status bar but nothing happens.
    Any help would be on this would be highly appretiated.
    Thanks,
    Prasad

    Have you actually checked the scheduler tab to see what the report did? BI Publisher will not just tell you if a job fails unless you have your email server configured then you tell it to email you if the job fails. Also, be patient because it can take up to 5 or 10 minutes for a report to completely run for a 40000 row dataset. If you check the scheduler tab and the job failed, check your RTF Template. I have discovered through trial and error that BIP is picky about how you do your tags, especially loop tags. These would allow you to view the report online but cause BIP scheduled reports to fail on the report. Other than that, have you installed the scheduler database and tied it in? BIP has its own database schema you have to install somewhere on an database server that it stores scheduling information in.
    I hope this helps.

  • Strange 9i behaviour on scheduled report

    Windows 2000 server, 9ias RL 2, patches applied according Note 215882.1.
    I have a report that used to run well in 6i (9ias RL1). It is a scheduled report. It takes current (system) month and year as parameters. In the After-Report-Trigger I run the same report using srw.run_report and replace current month with previous month.
    Desformat=PDF, Destype=file, desname is generated dynamically depending on parameter value (e.g. monthly_orders_2003_10.pdf and monthly_orders_2003_09.pdf).
    In 9i, the same report only returns the pdf output for the previous month (monthly_orders_2003_09.pdf) in the specified directory, but not for the current.
    To make this more confusing: Both outputs (current month and previous month) are stored in the cache directory with randomly generated names (e.g. 41831406.pdf and 49155045.pdf).
    Any hints are deeply appreciated.
    Gerald Krieger

    Theoritically this should reproduce even without scheduling ie in a client-server non-scheduled run.
    1) Please see whether the child output is generated anywhere in REPORTS_PATH ( registry var in HKLM\software\oracle\Homex in Windows and env var in Unix ).
    2) In srw.run_report() give full path name if child report and try
    If it still does not work then it may be a bug. Please raise a TAR ( Technical Assistance Request ) with Oracle Support. If the issue is already fixed after 9.0.2.2 you can get a patch.
    Thanks
    Ratheesh
    The statements and opinions expressed here are my own and not that of my employer

  • Need a way to Hide the Destinations (FTP, Email...) when scheduling reports

    We do not have destinations set up for FTP, email and unmanaged disk in our environment due to our stringent security requirements.  Even after being told these are not available, our users continue to try to schedule the report to go to these destinations and they are causing the reports to fail and utilize database resources for a report that will not complete successfully.
    Does anyone know if there is a way to hide the destinations from users when they schedule reports?  I know this was an option a couple of versions back but I cannot find it in BOE XI3.1 SP3.  The only option we want our users to see is Inbox and their personal folders.
    Our environment is:
    Windows Server 2003 SP2
    Tomcat 5.5.30
    Java 1.6
    BOE XI 3.1 SP3 FP3.2
    Thanks.
    Rich

    Hi,
    We can control distinations by configuring them on Respective Servers, which should be protected from business users.
    Assuming that you wish to configure only email as destination for Crystal Reports,  then
    Step 1 : Access properties of Server-> CrystalReportsJobServer
    Step 2 : Choose only valid Desitnations that you wish to provide, In our case it is only eMail
    Always go for cloning existing server if you are customization. Which is good practice than directly working on default server.
    HTH
    B Ravi Shankar

  • Dynamic date parameters for a scheduled report that runs every day

    I have a report that has input parameters for a start date and
    end date. The report will be scheduled to run once a day at a
    scheduled time. I need the report to automatically set the start
    date and end dates when the report runs at the scheduled time.
    When the report runs at the scheduled time, the end date needs
    to be set to that time and the start date needs to be set to 24
    hrs before the end date. I want the start and end dates to roll
    forward automatically when the scheduled report runs each day. I
    don't want any user intervention to change the start and end
    dates every day. How can I do this in a report ?
    Also, since the report is scheduled to run each day, I want the
    output to be saved to a unique file name each time the report is
    run as each day's report will report on the data only for that
    day. How can I get the report to save to a unique file name
    automatically each day ? Again, I don't want any user
    intervention where they would set the output file name manually.

    Try adding the following in the beforereport or beforepform
    trigger, before the RETURN clause (TRUNC gets rid of the time
    component of the date):
    :p_date_from := TRUNC(sysdate) - 1;
    :p_date_to := TRUNC(sysdate);
    :desname := 'REPORT'||TO_CHAR(sysdate, 'DDMMYYYY')||'.txt'
    Paul Williams

  • Schedule report at every half hour interval from 5:30 AM to 5:00 PM

    Hi,
    We use BOXIR2 and our client has requested to schedule a RealTime Webi report at every half hour interval from 5:30 AM PST to 5:00 PM PST daily.
    We tried scheduling the report but there is no option present in BO where we can select the start time or end time for a day.
    Could you please let us know how we can achieve this?
    Thanks,
    Nikhil

    Hi Ashwini,
    I believe its not a good idea to set the date daily. After a lot of research on this, I found that there are 2 possible solutions for this.
    1. Create 24 daily schedule for the report(s).
                 i.e.
                  1.     daily 8 am
                  2.     daily 8:30 am
                  3.     daily 9 am
                  4.     u2026
                  24.                daily 5 pm
    2. Create a batch file that will craete a file and delete it after 10 secs. Upload that into Windows scheduler as it will run this batch file at every half hour and till 5PM only. The file  created by batch file will be trigger to run report.
    Does that sound good?
    Thanks and Regards,
    Nikhil

  • How to Schedule reports to SFTP  server?

    Hello friends,
    Can some one please give me an examples for scheduling reports to SFTP server using BOBJ SDK?
    Regards,
    Rakhy.

    Hi Rakhy,
    You cannot schedule a report to SFTP and also it is not supported by SAP.
    The same cannot be achieved thtrough CMC/BIlaunchpad and hence it is not possible to achive the same though sdks as there is no option available to schedule a report to SFTP.
    SAP BI 4.x does not provide any Build- In functionality to use the SFTP protocol with the Scheduler.
    Refer to the SAP Note below
    http://service.sap.com/sap/support/notes/1782625
    There is a workaround given at the link below is applicable to XI R2. You can probably implement that with your environment.
    http://scn.sap.com/docs/DOC-31576
    You can use BOBJ SDKs to Schedule a report to Unmanged Disk and then create a program object which will trigger its schedule as an file base event occurs  and send the report to SFTP.
    Thanks,
    Prithvi

Maybe you are looking for

  • Row level security at universe design level

    Hi, I am creating a Universe layer on top of non SAP OLAP cube ( from MS Analysis Services 2005 ) . My concern is that can we maintain the row level or data level security at universe design level or if i am using that universe in creation of WEBI re

  • Processing of OO ALV reports in background

    Hello, I am using Object Oriented ALV grid dispaly in Report, I am trying to process the report in Background The job is cancelled issuing a message GUI screen not reached. Can we run the OOALV Grid display in Background, if not any other way to over

  • Problem installing Windows

    Hallo everybody. Need help installing Windows on a Macbook Pro, late 2008, 8Gb RAM. This is what i have: - I have a Macbook Pro 15" late 2008 - it's running Yosemite 10.10.1 - my CD-Drive died couple a years ago, so I have replaced it with a SSD: thi

  • Fw800 --- fw400 and dependability

    How dependable is it to use a fw800 connection with an adapter for fw400? The 15" macbookpro, lacking the fw800 needs to be connected to a fw800 external drive for use with final cut pro. If only I had waited for the 17"......I presume that the drive

  • Where can I find the deleted request.

    Hi Experts, I have a general question. In BW 3.5 version in which table we can see the deleted requests. Just like the table RSICCONT where we can find the available request in the data target. Thanks in advance Narendra.