Scheduling a report in CUIC

Hi,
Can I schedule a report in CUIC and I want that report to dumped in a specific location.  Is this possible ?
I know the other options are to email the scheduled reports or to make it available in the dashboard. But, I do not need them. I need the scheduled reports to be dumped ina specific location.

We actually use a vbs script to move the "scheduled" report to a network share location.  Set the .vbs to run using Task Schedule.  Here is one of the scripts we use:
dim dtmToday, dtmFileDate
dtmToday = Date
On Error Resume Next
Set FSO = CreateObject("Scripting.FileSystemObject")
Set LogFile = FSO.OpenTextFile("C:\DonnaLogs.txt",8,TRUE)
Set objFOlder = FSO.GetFOlder("C:\Documents and Settings\ciscouccxreport\Desktop\Donna Reports")
Set datafiles = objFOlder.Files
NumberofFiles = DataFiles.count
If NumberofFiles < 8 Then
    Dim objMessage
        Dim strTextBody
        Dim strEmailTo     
        Dim intInstance 
        Dim strEnableCount
Dim DiffTime
        'Initialize the objects
        Set objMessage = CreateObject("CDO.Message")
        objMessage.Subject = "Donnas Reports failed"
            objMessage.From = "[email protected]"
            objMessage.To = "[email protected];[email protected];[email protected]"
             objMessage.TextBody = "Donnas Reports failed today"  & VBCRLF & VBCRLF
            'Set email TextBody
            'objMessage.TextBody = strTextBody
            'Set email TextBody
            'objMessage.TextBody = strTextBody
        '==This section provides the configuration information for the remote SMTP server.
        objMessage.Configuration.Fields.Item _
        ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
        'Name or IP of Remote SMTP Server
        objMessage.Configuration.Fields.Item _
        ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "mail65002.edps.dom"
        'Type of authentication, NONE, Basic (Base64 encoded), NTLM
        'objMessage.Configuration.Fields.Item _
        '("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = cdoBasic
        'Server port (typically 25)
        objMessage.Configuration.Fields.Item _
        ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
        'Use SSL for the connection (False or True)
        objMessage.Configuration.Fields.Item _
        ("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = False
        'Connection Timeout in seconds (the maximum time CDO will try to establish a connection to the SMTP server)
        objMessage.Configuration.Fields.Item _
        ("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
        objMessage.Configuration.Fields.Update
        '==End remote SMTP server configuration section==
        'Send the email
        objMessage.Send
        'Destroy the object
        Set objMessage = Nothing
    End if
LogFile.WriteBlankLines(1)
LogFile.WriteLine("[CHECKING DONNA'S REPORT STATUS " & NOW & "]" )
For Each objFile in objFolder.Files
    dtmFileDate = objFile.DateLastModified
    intDaysDifference = DateDiff("d", dtmFileDate, dtmToday)
    If intDaysDifference < 2 Then
    Err.clear
           FSO.CopyFile objFile.Path, "\\deptpublic\deptpublic\HR\Phone Reports\Monthly Reports\"
    If Err = 0 then
  LogFile.WriteLine(" COPIED " & objFile.Path & " to \\deptpublic\deptpublic\HR\Phone Reports\Monthly Reports\")
    Else
  LogFile.WriteLine(" **ERROR " & Err.Number & " copying " & objFile.Path & " to \\deptpublic\deptpublic\HR\Phone Reports\Monthly Reports\")
  LogFile.WriteLine(" ******* " & Err.Description)
  Err.clear
    End If
    Else
If intDaysDifference > 2 Then
    Err.clear
    FilePath = objFile.Path
           If objFile.DELETE = 0 Then
  LogFile.WriteLine(" DELETED " & FilePath)
    Else
  LogFile.WriteLine(" **ERROR " & Err.Number & " DELETING " & objFile.Path)
  LogFile.WriteLine(" ******* " & Err.Description)
  Err.clear
    End If
End If
    End If
Next
LogFile.WriteLine("[COMPLETING DONNA'S UPDATE " & NOW & "]" )
LogFile.Close

Similar Messages

  • Scheduled Report in CUIC Dashboard

    Hi,
    I'm trying to schedule a report to run in a dashboard to use as a wallboard.  I have created a schedule to run every 5 mins and a report from Precision Queue Historic report.
    The dashboard creates fine and populates the data OK fist up but does not update the screen automatically using IE or Chrome.   If I do a refresh it does update.  Other real time reports in the same Window update OK.
    The schedule does run OK based on the summary of the schedule.
    Has anyone managed to create a dashboard that can auto refresh using historic data?
    Cheers, Dave

    I see that as well on my dashboards - there's an 'auto refresh' check box, but it never actually refreshes automatically.

  • Unable to schedule a report to email and print

    I have been working on a task to both print and email a report to recipients whose email addresses are obtained at runtime.  So far I am able to email the report as a PDF attachment, however, I am not able to get the report to print.  I have three thoughts as to why the report is not printing.
    1. The printer is in a subdomain under the domain where InfoView and the Enterprise server reside.
    2. It is not possible to schedule a report for both an SMTP and print destination simultaneously.
    3. The format is causing an issue in printing - the SDK API states "Printer is a report format specific destination and can only be used when the report object is a Crystal Report."
    I have looked at the scheduled report in InfoView and can see that the print settings I am passing are correctly set for the scheduled instance.  Does anyone know if there is a problem with trying to schedule printing and email at the same time, or if the report format must be .rpt?
    Below is my code. Thank you for your time.
    String query = "Select SI_ID, SI_NAME, SI_PROCESSINFO, SI_SCHEDULEINFO, SI_SCHEDULE_STATUS From CI_INFOOBJECTS Where SI_ID=" + reportId;
            IInfoObjects results = null;
            ISchedulingInfo schedulingInfo = null;
            try {       
               results = iStore.query(query);           
            } catch( SDKException sdke ){
               logger.error(sdke);
            if( !results.isEmpty() ){
                // get the actual report object from collection and set scheduling information
                IInfoObject report = (IInfoObject)results.get(0);
                schedulingInfo = report.getSchedulingInfo();
                schedulingInfo.setType(CeScheduleType.ONCE);
                schedulingInfo.setRightNow(true);
                schedulingInfo.setRetriesAllowed(3);           
                try {
                    Set<String> keys = destinations.keySet();
                    Iterator i = keys.iterator();
                    while( i.hasNext() ){
                        String dest = (String) i.next();
                        if(dest.equals(CrystalDestinations.EMAIL)){
                            // get the destination object and set it to SMTP plugin
                            List emailAddress = destinations.get(CrystalDestinations.EMAIL);
                            IDestination destinationObject = schedulingInfo.getDestination();
                            destinationObject.setName("CrystalEnterprise.SMTP");    
                            IDestinationPlugin smtpPlugin = (IDestinationPlugin) iStore.query("SELECT * FROM CI_SYSTEMOBJECTS WHERE SI_PARENTID = 29 AND SI_NAME='CrystalEnterprise.SMTP'").get(0);
                            ISMTPOptions smtpOptions = (ISMTPOptions) smtpPlugin.getScheduleOptions();
                            smtpOptions.setDomainName( emailDomain );
                            smtpOptions.setServerName( smtpHost );
                            smtpOptions.setSMTPUserName( smtpUser );
                            smtpOptions.setSMTPPassword( smtpPass );
                            smtpOptions.setSubject( "Email for report " + report.getTitle() );
                            smtpOptions.setMessage( "This is the message body" );
                            smtpOptions.setSenderAddress( smtpUser + "@cdrh.fda.gov" );
                            smtpOptions.setSMTPAuthenticationType( ISMTPOptions.CeSMTPAuthentication.LOGIN );
                            for(int j = 0; j < emailAddress.size(); j++ ){
                                smtpOptions.getToAddresses().add( emailAddress.get(j) );
                            destinationObject.setFromPlugin( smtpPlugin );                                                                               
    } else if ( dest.equals(CrystalDestinations.PRINT) ){
                            List printers = destinations.get( CrystalDestinations.PRINT );                   
                            IReportPrinterOptions printerOptions = ((IReport)report).getReportPrinterOptions();
                            printerOptions.setCopies(1);
                            printerOptions.setEnabled(false);
                            printerOptions.setPrinterName( (String)printers.get(0) );                   
                            printerOptions.setPageLayout(IReportPrinterOptions.CeReportLayout.USE_SPECIFIED_PRINTER_SETTING);
                    List reportPrompts = ((IReport)report).getReportParameters();
                    for(int j = 0; j < reportPrompts.size(); j++){
                        IReportParameter prompt = (IReportParameter) reportPrompts.get(j);                   
                        if(prompt.getParameterName().equals(mdrParamName)){
                          IReportParameterSingleValue v = prompt.getCurrentValues().addSingleValue();
                          v.setValue(reportParameters.get(mdrParamName));
                        } else if(prompt.getParameterName().equals(addressParamName)){
                            IReportParameterSingleValue v = prompt.getCurrentValues().addSingleValue();
                            v.setValue(reportParameters.get(addressParamName)); 
                    IReportFormatOptions format = ( (IReport) report).getReportFormatOptions();
                    format.setFormat(IReportFormatOptions.CeReportFormat.PDF);
                    iStore.schedule( results );

    Hi Jason,
    Based on your code, I could not tell if you were scheduling a Crystal Report or a WebI document.
    Regardless, what I would suggest is you try scheduling the report/document on InfoView.
    Once you schedule it on InfoView, you can retrieve the instance on Query Builder (or through code) and compare the properties that are being set through InfoView and the one you set through your code.
    This should indicate if you are missing some properies or have set some properties incorrectly.
    Hope this helps.
    Regards,
    Dan

  • Error when scheduling WEBI report to FTP server

    Hi
    We are getting error "destination directory error. CrystalEnterprise.Ftp: 550 Requested action not taken" while scheduling WEBI report to FTP server.
    Any help would be appreciated
    Regards,
    Anisa

    Hi All,
    I want a run my report once by scheduling, so i provide a time interval for scheduling a report
    start date/ time : 11:38:AM 10/30/2011
    end date/time : 11:43:AM 10/30/2011
    after completion of end time....report is failed and fetching an error
    Error : Object could not be scheduled within the specified time Interval
    Any solution for resolving this error

  • OBIEE error while scheduling the report.

    Hi,
    I scheduled one report in OBIEE tool for 8.30 pm but that report get failed.
    I executed the same report many times with the same database configuration, same FTP configuration,
    I never get such exception before.
    In the morning i again execute that report with same configuration and it works.
    I am unable to find the cause of the error.
    bellow is the error description.
    oracle.apps.xdo.servlet.scheduler.ProcessingException: java.sql.SQLException: ORA-01033: ORACLE initialization or shutdown in progress
    could any body please explain what is the exact cause of the issue.

    The oracle Db you are connected is being shut-down.

  • Error while scheduling DESKI report in infoview

    I m scheduling a DESKI report to users enterprise inbox from infoview using a server group. This server group has DesktopIntelligence Job server, Destination Job server, Adaptive Job server and Program Job servers and all these servers are running.
    When I schedule the report to boldusers enterprise inboxbold it get failed and shows this error message
    bolddestination DLL disabled. []: [CrystalEnterprise.Smtp] bold
    I m wondering what has to be enabled for scheduling a report to infoview's own inbox.

    Abhilash
    You are correct that it shows all the prompts but only when we run the report either directly from the CR Designer or via View on Demand in Infoview/CMC.
    But if I try to schedule an instance of this report, I am getting a check box in the parameter section which says "Show unused parameters" to see this dyanamic prompt. And When I check that box in Infoview still I am not able to select any value for this prompt as it's greyed out.
    Hope I am able to explain my query to you.
    Also attached a screen shot of the scenario for your reference.

  • Error Code:942 While Scheduling a report in BI Publisher

    Hi All,
    I am trying to schedule one report in BI Publisher.
    After Clicking Submit Button while scheduling report,i get following error:
    Exception [TOPLINK-4002] (Oracle TopLink - 11g Release 1 (11.1.1.0.0) (Build 080319)): oracle.toplink.exceptions.DatabaseException Internal Exception: java.sql.SQLException: ORA-00942: table or view does not exist Error Code: 942 Call: UPDATE SEQUENCE SET SEQ_COUNT = SEQ_COUNT + 50 WHERE SEQ_NAME = 'JOB_ID_SEQ' Query: DataModifyQuery()
    Kindly Help me in resolving this issue
    Regards
    Amrita Singh

    i know the issue,i can give quick fix, but in-order to make sure you don't get another glitch like this.
    I would recommend, you to install the scheduler in another schema or another db.
    Re-installing the scheduler schema tables will fix this.

  • Scheduling a report in bi publisher

    Hi guys,
    I am new to BIP Can any one help me out in how to schedule a report through email in BI Publisher??
    Regards,
    Sai

    i know the issue,i can give quick fix, but in-order to make sure you don't get another glitch like this.
    I would recommend, you to install the scheduler in another schema or another db.
    Re-installing the scheduler schema tables will fix this.

  • Can not view/schedule Crystal Reports in new BOE XI 3.0 Installation

    Hello,
    I'm having an issue on a brand new installation of BusinessObjects XI 3.0 on AIX 5.2 (using WebSphere 6.0). Installation went smoothly and migration went fine. Can log in, pull up CMC, InfoView (all other apps). But scheduled Crystal Reports (as well as viewing Crystal Report thru InfoView) are failing with the following errors (which to me seem interrelated):
    *(1) Error in File ~cec0c55d91e0e015.rpt: The request could not be submitted for background processing*
    *(2) Error in Report XXX: Failed to load database information*
    *(3) An error occurred while creating a subprocess in the processing server. [RCIRAS0604]*
    These three errors indicate to me that the report engines are having issues opening the files, pulling the data and generating the reports. We've checked to make sure that the account that BOE is running under has all the permissions it needs - and it has.
    I just turned on tracing (-trace) on the report job processing servers and I'm watching the logs as I retrace my steps...
    Any ideas? Would appreciate any feedback...
    Thanks,
    Will

    Turns out this is a pretty nasty issue on Unix environments. Being that the BOE application is developed on Windows then ported to Unix environments, the services (daemons) still end up depending on an emulated registry (MainWin) sort of like in a Windows environment.
    For some reason (we're still trying to figure this out), the BOE registry entries got corrupted and then started preventing the processing servers (which in the case of CR ultimately depend on  CRPE - Crystal Reports Print Engine) from opening up and processing CR files.
    We engaged BusinessObjects/SAP support and have been able to resolve this issue on our test AIX system. The resolution included deleting all the mainwin (mw) tmp directories and files in the root temp directory and also in the
    /bobje/enterprise120/aix_rs6000/crpe>
    directory. Then we stopped all BOE services and reran the MW script to regenerate registry entries. This repair was a pretty intricate multi-step process. The SAP Technical Rep who worked on this case is writing a knowledge base article (an SAP note). Once I get details, I'll update this post.
    The good news about this issue is that the upcoming SP1 of XI 3.0 removes the dependency on the mw registries...
    Will

  • Scheduling the report from Infoview portal does not show up data

    "The crystal report is based on a SAP BI query. The parameters of the report are basically the parameters(SAP variables) of the SAP BI query. When we run the crystal report in the CR Report Designer tool, it runs fine showing all the data correctly. Then we published the crystal report to the Crystal Enterprise Server from the SAP BI system. Through the Infoview portal, the user clicks on the 'Schedule' link for the report and sets the parameters. When the 'Schedule' button is clicked, it runs successfully but no data is seen in the report except for the template. But under the same report, in Infoview portal, if the user selects "View" link, sets the parameters and then clicks the 'Execute' button, it runs successfully showing all correct data.
    Dont understand why it works for 'View' link but doesn't work for 'Schedule' link. Is there any setting that needs to be made for this?"
    Thanks in advance,
    Sri

    Hi Sri,
    When we are able to see the report and unable to schedule the report with in the Info view, then check with the user rights.
    Just try to login with admin account and try to schedule the report.
    Also check the report in CMC and see the preview of the report.
    If the user doesn't have enough rights to schedule the report, then  it doesn't allow it.
    Also check with in the Folder rights with in the report is saved.
    Regards,
    Naveen.

  • Scheduling a Report from outside Scheduler but viewing the output in Plus

    We are using Discoverer 10.1.2
    I know that we can schedule a report within Discoverer Plus and the resulting out put can be seen in Discoverer under scheduled work books
    I am also aware that we put Discoverer command line commands in a DOS script and then schedule that script to run using an Enterprise scheduler and automatically export that report Excel.
    What I want is to schedule reports using our enterprise scheduler but view the resulting output in Discoverer under scheulded work books
    I was thinking that when we schedule a report Discoverer creates a package, something like EUL5_BATCH_PACKAGE080314170249.RUN;.
    Once that package is created, if I copy it and rename it and then schedule to run from our enterprise scheduler, would I be able to view the output from Discoverer ?
    ----- Added on 03/15/2008-------
    I did try running the above package EUL5_BATCH_PACKAGE080314170249.RUN from SQL Plus as I had indicated above. The settings on the report schedule were -
    - Run immediately
    - Never repeate
    - Delete the results after 9999 days ( maximum allowed )
    Now the first time the report ran automatically using DBMS_JOBS since I had set the report to run immediately.
    After that when I tried running EUL5_BATCH_PACKAGE080314170249.RUN from SQL Plus, the procedure completed but when I looked at the Discoverer front end, it indicated the run was in error with Unique constraint violation on EUL5_BQ_TABLES.EUL5_BQT_UK_1 index. However when I looked at the table it did not have any data in it.
    I the ran the procedure again from SQL Plus and this time it completed and when I looked at the Discoverer Plus front end, the results were ready for me to view.
    When I tried running the procedure again, it failed again with unique constraint violation and when the procedure was executed after that it again ran and i was able to view the results.
    So, ever alternate run from SQL Plus was successful. I would continue to try out different combinations of schedule parameters to see if I can get it to work.
    However, any one has already tried this before please let me know if what I am trying Is this possible ?
    Any help would be appreciated
    Thank you
    Message was edited by:
    manav_purohit
    Message was edited by:
    manav_purohit

    Thanks for the suggestion Rod. However, if I use DBMS_JOB.CHANGE, the report will still run using DBMS_JOB. What I would prefer is to not use DBMS_JOB.
    Running anything in DBMS_JOB means, the job is not visible in the enterprise scheduler that we use. Our enterprise scheduler is being monitored at a data center and if any jobs fail, appropriate on call individuals are contacted. Records are kept of failures and root cause is analyzed. So I want to take advantage of these procedures for scheduled reports as well.
    I am still looking for some alternative method.

  • 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

  • Scheduled discoverer report giving error

    Hi All,
    I am facing a problem where in I have scheduled a report. The table populated after scheduling is fetching data but when we try to open the scheduled report it gives an error ' Inconsistent datatype expected number got date '.
    We are using a function in the report which fetches a date colomn and return type of that date used is Varchar(2). We also tried using the return type as date but same error comes.
    An early response will be highly appriciated.
    Regards,
    Shruti

    i have similar problem - i have some calculated columns in the report.....when i schedule it the values in one column are getting populated in the other column.....if i run the report manually i did not have any problem.
    i had a small calculation for a column (date)....user wanted to see it in a different format in the report.....
    already that column was existing in the folder but in a different format......but upon users request i just put up a small calculation for that...........
    i scheduled the report and ironically only that calculated column (date) was getting populated wrong........so i pulled the normal date column from the folder..........and now i have two columns for date (1-calculated, 2 - from folder)..........1st column is anyhow getting populated wrong....but the 2nd column was pretty good........
    many of you might know....."*IDLE MAN'S BRAIN IS A DEVILS WORKSHOP*"....
    i formatted the 1st column with white color and kept the background color also as white......so that when the user opens the scheduled report.....he will see only a blank white column for the 1st column............i told him to export it to excel and then delete that blank column and save your excel output..
    i know this is the worst solution or idea anyone can get.........but i had to do it.

  • How to schedule a report in background

    could anybody inform me
    how to schedule a report in background
    if possible plz send the entire step by step process
    thanx
    regards
    kals.

    HI,
    Use transaction SM36
    For step by step process refer this link...
    http://help.sap.com/saphelp_bw30b/helpdata/en/c4/3a7f87505211d189550000e829fbbd/content.htm
    Hope this helps!!
    Cheers
    Alfred

  • How to Schedule a report locally

    Hi All,
    I am using the OBI BIP ver 10.3.1.4 and its been installed on local machine (desktop). I want to schedule a report.
    I have administrative previliges to an oracle database and have installed the scheduler schema ( using the scheduler configration) in the database. Not sure what to do next as the scheduler tab is still not visible in my BIP screen.
    Could you please guide me through further steps which needs to be taken to get scheduler working for me.
    Thanks
    Ronny

    Hi Vetsrini,
    Post ur reply, I restarted the machine and it worked. Thanks !!!
    Ronny

Maybe you are looking for

  • Can't print from Word or Acrobat

    OK, I had this problem maybe two years ago and I did fix it. The problem is back and I don't remember how I fixed it. I have an HP printer (new printer since the last time I had this problem so its not necessarily the printer) - MS Word and Acrobat A

  • Display Network activity in FBL3N

    Hi We would like to see the network activity in FBL3N. Is this possible? I've noticed that WBS element is available for display as a column, but not Network activity. Is there any settings via IMG or anything else that I can do to get this? Thanks Na

  • How do i compress a sequence into 100mb???

    I need to compress a project i have in F.C.P into 100mb or less so i can show it on the web. I used "MPEG-2 60min High Quality Encode.1" in Apple Compressor but it only compressed it to about 200mb. Does anybody have any ideas? Thanks.

  • HT1222 my i phone 4 software version and serial number and capacity showing n/a plz guide me how i can rectify that

    i brought my i phone 4 its almost complete 1 years and last month there was some problem in my phone like its was shurt down and some time the colours lines coming in the phone screen and some time screen become blue and now when i start the phone th

  • Umlaut getting lost

    Hi experts! I have to read a german catalogue as xml into an internal table. I have to make some minor changes to the file(write and translate tags , so I converted it into a string (str_gaeb), then I parse it to xml. The string still contains all um