Automatic scheduling of report and send the output  to user via email

Good Morning,
Please i need to scheduled report and send the output via email in Discoverer . Please can someone assist in how to achieve this ?

Hi,
You cannot schedule and email a Discoverer report using standard Discoverer scheduling. You have to use a third party scheduler and Discoverer Desktop running on a windows PC.
This presentation has some more details on how to do this.
Rod West

Similar Messages

  • Adding  prompts dynamically and then send the results to users via email

    Hi,
    We have to schedule the reports for auto delivery to users at a specific time period. Please, tell me the mechanism to schedule them and how to assign prompt values to them. Currently, the reports are run by users by selecting prompts from the dashboard. If we schedule them, we will have to add some of these prompts dynamically and then send the results to users via email.
    Thanks in advance!

    Hi,
    I haven't tested it myself...but may be the following steps can help you.
    Fill some session variables depending on the the name of the user who logs in (this can be done easily be creating different session variables and put some executing order in it)
    Then you use these session variables as default values for your prompts. So the report will be executed making use of this default values.
    And by scheduling your ibot..you can send it by mail.
    I don't know if it's this what you're looking for...probably you have to base your prompt values depending on the users that are selected in your ibot?
    Hope it can help y ou in some way or another...
    KR,
    A

  • How to run the report and show the output in excel file

    salam
    how to run the report and show the output in excel file,
    how to run the report and print the o/p via printer
    how to run the report and send the o/p via mail
    thank u all

    Hi,
    There are Parameters DESTTYPE, DESFORMAT and DESNAME. You can set these parameters to get as you want.
    1) Output in Excel File
         ADD_PARAMETER(PL_ID, 'DESTYPE', TEXT_PARAMETER, 'FILE');
         ADD_PARAMETER(PL_ID, 'DESFORMAT', TEXT_PARAMETER, 'DELIMITED');
         ADD_PARAMETER(PL_ID, 'DESNAME', TEXT_PARAMETER, '<file_name>.XLS');2) output to printer
         ADD_PARAMETER(PL_ID, 'DESTYPE', TEXT_PARAMETER, 'PRINTER');
         ADD_PARAMETER(PL_ID, 'DESNAME', TEXT_PARAMETER, '<printer_name>');3) Email - Have to configure SMTP and all. ( i didn't checked it)
         ADD_PARAMETER(PL_ID, 'DESTYPE', TEXT_PARAMETER, 'MAIL');
         ADD_PARAMETER(PL_ID, 'DESNAME', TEXT_PARAMETER, '<email_id>');Regards,
    Manu.
    If this answer is helpful or correct, please mark it. Thanks.

  • I have a problem in the liquefaction of confidentiality and answers when asked to reset the answers but remembered email added halted from by Microsoft Corporation, Is it possible to cancel the account and send the answers added on my email and thank you

    Dear,s
    I have a problem in the liquefaction of confidentiality and answers when asked to reset the answers but remembered email added halted from by Microsoft Corporation, Is it possible to cancel the account and send the answers added on my email:
    <Email Edited by Host>
    Thanks

    You are not addressing Apple here. And your post is a bit confusing. See Klaus's answer in this thread:
    https://discussions.apple.com/thread/5228474?tstart=0

  • Dynamic selection of columns in report and print the output

    Hi,
    I tried to have dynamic selection of columns in SQL query using lexical parameter. The hitch is how to print those selected column in excel ouput ?
    Suppose
    I have select &col from table_name
    Initial value of &col is col1 and in data layout only col1 appears
    where &col was replaced with more than a column (col1,col2,col3)
    now how to print the column selected at the run time,
    i have coded in Before Report Trigger
    :cell_val := ' <td><rw:field id:"cl1" src="col1"></rw:field></td>
    <td><rw:field id:"cl2" src="col2"></rw:field></td>
    <td><rw:field id:"cl3" src="col3"></rw:field></td> ' ;
    and this user parameter was replaced in web source using JSP expression
    <rw:getvalue id: "v_cell" src:"cell_val"></rw:getvalue>
    <rw:foreach src:"g_val">
    <table>
    <tr>
    <% =v_cell%>
    </tr>
    </table>
    </rw:foreach>
    but in the output i can see only blank columns
    Regards
    Suresh

    The strings replaced by expression <%= v_cell %>
    should print the field values contained in col1,col2,col3 columns, but nothing is printed . i think the custom tags (rw...) are not replaced by the jsp expression properly.

  • Send Invoice to multiple user via email.

    Hi,
    We are using the output type external send. But the standard PO process will send email to only 1 recipient. The email will be taken from the customer master where email is flagged as Standard.
    Is there any other way (or any user exit) to send invoice to a multiple recipient (TO and COPY-TO) maintained in customer master?
    Appreciate your input.
    Thanks

    Hi Kiran
    If you have output type maintained in your system and you want to send it to multiple people then all you have to do is include the partner functions in the output type in transaction NACE or V/30. The system will automatically copy the email addresses from the partner profiles and mail will be sent...
    I hope it helps.
    Though if it a certain set of ppl that the mail has to be sent to every time a PO is raised then you will have to take the help of your ABAPer.

  • Call first report in another report and download the ouput of first report

    Hi Experts ,
    Ther is 1 ALV Report which gives ouput.
    i need to call first report in second report and copy the output of first report to itab in second report and download that itab to excel in second report.
    Pls if anybody knows the solution reply as soon as possible.
    regards,
    Imran

    Moderator message - Cross post locked
    Rob

  • Step to schedule to run the report and send to the users in Unix (10g AS)

    Hello;
    I'm looking for the script or the guide to schedule generate monthly report and send to the users such as using batch or cron job. Please help.
    Thanks in advance,
    TD

    Hi,
    There are Parameters DESTTYPE, DESFORMAT and DESNAME. You can set these parameters to get as you want.
    1) Output in Excel File
         ADD_PARAMETER(PL_ID, 'DESTYPE', TEXT_PARAMETER, 'FILE');
         ADD_PARAMETER(PL_ID, 'DESFORMAT', TEXT_PARAMETER, 'DELIMITED');
         ADD_PARAMETER(PL_ID, 'DESNAME', TEXT_PARAMETER, '<file_name>.XLS');2) output to printer
         ADD_PARAMETER(PL_ID, 'DESTYPE', TEXT_PARAMETER, 'PRINTER');
         ADD_PARAMETER(PL_ID, 'DESNAME', TEXT_PARAMETER, '<printer_name>');3) Email - Have to configure SMTP and all. ( i didn't checked it)
         ADD_PARAMETER(PL_ID, 'DESTYPE', TEXT_PARAMETER, 'MAIL');
         ADD_PARAMETER(PL_ID, 'DESNAME', TEXT_PARAMETER, '<email_id>');Regards,
    Manu.
    If this answer is helpful or correct, please mark it. Thanks.

  • Schedule webi document to printer and save the output in shared drive

    Hi all,
    Is it possible to schedule a webi document via java BOE SDK, run at once, save the output in pdf format in a shared drive and at the same time, send the output to printer? Or I need to run the webi document to run 2 times? Thanks.
    Best regards,
    Grace

    Hi Adam,
    How about can I schedule a webi document to printer only? In Crystal report, I can do this but seems for webi, no such function?
    Best regards,
    Grace

  • 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

  • How to send the output of a standard report

    Hi Friends,
    I came across an issue where I need to send the output list of the SAP standard report to an email ID .
    Please, let me the the right way for doing this . or any useful information regarding this will be regarded.
    Thanks
    Prasead K

    use submit <program name>
    convert data to tab delimited or excell file and use some email FM's and email it.

  • How to send the output to PDF format in reports 6i?

    Hi,
    How to send the output to PDF format in reports 6i? I given Mode = BITMAP.
    DESTYPE = File, DESFORMAT = PDF, DESNAME = C:\x.pdf.
    Report is running fine. But PDF file not generated. I don't know what i missed. Any one can help this?
    Thanks
    Kavitha

    Hello,
    Do you get this problem only for DESFORMAT=PDF ?
    Test with :
    DESFORMAT = RTF, DESNAME = C:\x.rtf
    or
    DESFORMAT = HTMLCSS, DESNAME = C:\x.html
    does it work ?
    Check if DESNAME is modified in the reports itself.
    Regards

  • I need to send the output of report as a mial

    hi all,
    how can i send the output of an ALV GRID as a mail ...
    the visibilty of this GRID is good.
    and at the same time if i use the FM 'SO_DOCUMENT_SEND_API1'
    its being sent as an attachment,which i need to send jus a mail...not as an attachment.
    kindly reply me ASAP

    REPORT  YMS_SENDMAILREPORT NO STANDARD PAGE HEADING.
    TABLES: DRAD,
            QINF,
            DRAW,
            SOUC,
            SOFD,
            DRAP.
    DATA: P_RETURN_CODE LIKE SY-SUBRC.
    data: d_username LIKE DRAP-PRNAM.
    * mail declarations
    DATA : BEGIN OF NEW_OBJECT_ID.         " the newly created email object
            INCLUDE STRUCTURE SOODK.
    DATA : END OF NEW_OBJECT_ID.
    DATA : BEGIN OF FOLDER_ID.             " the folder id of the outbox
            INCLUDE STRUCTURE SOODK.
    DATA : END OF FOLDER_ID.
    DATA : BEGIN OF REC_TAB OCCURS 5.     " the table which will contain the
            INCLUDE STRUCTURE SOOS1.       " information on the destination
    DATA : END OF REC_TAB.
    DATA : BEGIN OF OBJECT_HD_CHANGE.      " the table which contains the
            INCLUDE STRUCTURE SOOD1.       " info for the object we will be
    DATA : END OF OBJECT_HD_CHANGE.        " creating
    DATA : OBJECT_TYPE LIKE SOOD-OBJTP.    " the type of object
    DATA : BEGIN OF OBJHEAD OCCURS 5.      " the header of the object
            INCLUDE STRUCTURE SOLI.
    DATA : END OF OBJHEAD.
    DATA : BEGIN OF OBJCONT OCCURS 0.      " the contents of the object
            INCLUDE STRUCTURE SOLI.        " i.e. the text etc
    DATA : END OF OBJCONT.
    DATA : BEGIN OF OBJPARA OCCURS 5.      " formatting options
            INCLUDE STRUCTURE SELC.
    DATA : END OF OBJPARA.
    DATA : BEGIN OF OBJPARB OCCURS 5.      " formatting options
            INCLUDE STRUCTURE SOOP1.
    DATA : END OF OBJPARB.
    DATA : BEGIN OF T_MAIL_TEXT OCCURS 0,  "Message table for messages to
            STRING(255),                   "user via mailbox
           END OF T_MAIL_TEXT.
    Parameter: p_uname like sy-uname.
    **START-OF-SELECTION
    START-OF-SELECTION.
        d_username = p_uname.
        PERFORM POPULATE_EMAIL_TEXT.
        PERFORM SETUP_TRX_AND_RTX_MAILBOXES USING P_RETURN_CODE.
        PERFORM CREATE_AND_SEND_MAIL_OBJECT.
    *       FORM POPULATE_EMAIL_TEXT                                      *
    *       Inserts text for email message                                *
    FORM POPULATE_EMAIL_TEXT.
      CLEAR T_MAIL_TEXT-STRING.            "puts a blank line in
      APPEND T_MAIL_TEXT.
      APPEND T_MAIL_TEXT.
    *  adds failed list  on to end of success list.
      T_MAIL_TEXT-STRING = 'Test email message line 1'.
      APPEND T_MAIL_TEXT.
      T_MAIL_TEXT-STRING = 'Test email message line 1'.
      APPEND T_MAIL_TEXT.
      CLEAR T_MAIL_TEXT-STRING.            "puts a blank line in
      APPEND T_MAIL_TEXT.
      T_MAIL_TEXT-STRING = 'Header1    Header2    Header3'.
      APPEND T_MAIL_TEXT.
      T_MAIL_TEXT-STRING = '------------    ------------    ------------'.
      APPEND T_MAIL_TEXT.
    ENDFORM.
    *&      Form  SETUP_TRX_&_RTX_MAILBOXES
    *   Ensure that the mailboxes of the sender (INTMGR) are set up OK
    FORM SETUP_TRX_AND_RTX_MAILBOXES USING P_RETURN_CODE.
    * get the user no of the sender in order to add the mail to the
    * user name's outbox for future reference
      SELECT SINGLE * FROM SOUC
               WHERE SAPNAM = SY-UNAME.    "SAP name of a SAPoffice user
      IF SY-SUBRC NE 0.
        "Error finding the SAPoffice user info for the user
        MESSAGE E064(ZR53) WITH SY-UNAME.
        P_RETURN_CODE = 1.
        EXIT.
      ENDIF.
    *Get the outbox No for the sender from the user No where the folder
                                           " type is an outbox
      SELECT * FROM SOFD WHERE OWNTP = SOUC-USRTP   "Owner type from ID
                           AND OWNYR = SOUC-USRYR   "Owner year from the ID
                           AND OWNNO = SOUC-USRNO   "Owner number from the I
                           AND FOLRG = 'O'."Output box
      ENDSELECT.
      IF SY-SUBRC NE 0.
        " Error getting folder information for the user
        MESSAGE E065(ZR53) WITH SY-UNAME.
        P_RETURN_CODE = 1.
        EXIT.
      ENDIF.
    ENDFORM.                               " SETUP_TRX_&_RTX_MAILBOXES
    *&      Form  CREATE_AND_SEND_MAIL_OBJECT
    FORM CREATE_AND_SEND_MAIL_OBJECT.
      FOLDER_ID-OBJTP = SOFD-FOLTP.        " the folder type ( usually FOL )
      FOLDER_ID-OBJYR = SOFD-FOLYR.        " the folder year ( usually 22 )
      FOLDER_ID-OBJNO = SOFD-FOLNO.        " the folder no.
      OBJECT_TYPE     = 'RAW'.             " the type of object being added
    * build up the object information for creating the object
      OBJECT_HD_CHANGE-OBJLA  = SY-LANGU.  " the language of the email
      OBJECT_HD_CHANGE-OBJNAM = 'PS to DM Interface'. " the object name
    * mail subject 'Mass Linking of QA, pass/fail'
      MOVE TEXT-002 TO OBJECT_HD_CHANGE-OBJDES.
      OBJECT_HD_CHANGE-DLDAT = SY-DATUM.   " the date of the email
      OBJECT_HD_CHANGE-DLTIM = SY-UZEIT.   " the time of the email
      OBJECT_HD_CHANGE-OBJPRI = '1'.       " the priority ( highest )
      OBJECT_HD_CHANGE-OBJSNS = 'F'.       " the object sensitivity
    * F is functional, C - company sensitive
    * object_hd_change-skips  = ' '.       " Skip first screen
    * object_hd_change-acnam  = 'SM35'.    " Batch imput transaction
    * object_hd_change-vmtyp  = 'T'.       " Transaction type
    * add the text lines into the contents of the email
      CLEAR OBJCONT.
      REFRESH OBJCONT.
    *  free objcont.      " added this to delete the mail contents records
      LOOP AT T_MAIL_TEXT.
        OBJCONT-LINE = T_MAIL_TEXT-STRING.
        APPEND OBJCONT.
      ENDLOOP.
      CLEAR OBJCONT.
    * build up the table of receivers for the email
      REC_TAB-RCDAT = SY-DATUM.            " the date to send the email
      REC_TAB-RCTIM = SY-UZEIT.            " the time to send the email
    * the SAP username of the person who will receive the email
      REC_TAB-RECNAM = D_USERNAME.
    * the user type of the person who will send the email ( USR )
      REC_TAB-SNDTP = SOUC-USRTP.
    * the user year of the person who will send the email ( 22 )
      REC_TAB-SNDYR = SOUC-USRYR.
    * the user number of the person who will send the email
      REC_TAB-SNDNO = SOUC-USRNO.
    * the sap username of the person who will send the email
      REC_TAB-SNDNAM = SY-UNAME.
    * get the user info for the receiver of the document
      SELECT SINGLE * FROM SOUC WHERE SAPNAM = D_USERNAME.
      IF SY-SUBRC NE 0.
        WRITE : / TEXT-001, D_USERNAME.    "usnam.
        EXIT.
      ENDIF.
    * the user number of the person who will receive the email ( USR )
      REC_TAB-RECNO = SOUC-USRNO.
    * the user type of the person who will receive the email ( USR )
      REC_TAB-RECTP = SOUC-USRTP.
    * the user year of the person who will receive the email ( USR )
      REC_TAB-RECYR = SOUC-USRYR.
    * the priority of the email ( highest )
      REC_TAB-SNDPRI = '1'.
    * check for delivery on the email
      REC_TAB-DELIVER = 'X'.
    * send express so recipient knows there is a problem
      REC_TAB-SNDEX = 'X'.
    * check for a return receipt
      REC_TAB-READ = 'X'.
    * the sap username of the person receiving the email
      REC_TAB-ADR_NAME = D_USERNAME.       "usnam.
    * add this receiver to the internal table
      APPEND REC_TAB.
      CLEAR REC_TAB.
    * call the function to create the object in the outbox of the sender
      CALL FUNCTION 'SO_OBJECT_INSERT'
           EXPORTING
                FOLDER_ID                  = FOLDER_ID
                OBJECT_HD_CHANGE           = OBJECT_HD_CHANGE
                OBJECT_TYPE                = OBJECT_TYPE
                OWNER                      = SY-UNAME
           IMPORTING
                OBJECT_ID                  = NEW_OBJECT_ID
           TABLES
                OBJCONT                    = OBJCONT
                OBJHEAD                    = OBJHEAD
                OBJPARA                    = OBJPARA
                OBJPARB                    = OBJPARB
           EXCEPTIONS
                ACTIVE_USER_NOT_EXIST      = 1
                COMMUNICATION_FAILURE      = 2
                COMPONENT_NOT_AVAILABLE    = 3
                DL_NAME_EXIST              = 4
                FOLDER_NOT_EXIST           = 5
                FOLDER_NO_AUTHORIZATION    = 6
                OBJECT_TYPE_NOT_EXIST      = 7
                OPERATION_NO_AUTHORIZATION = 8
                OWNER_NOT_EXIST            = 9
                PARAMETER_ERROR            = 10
                SUBSTITUTE_NOT_ACTIVE      = 11
                SUBSTITUTE_NOT_DEFINED     = 12
                SYSTEM_FAILURE             = 13
                X_ERROR                    = 14
                OTHERS                     = 15.
      IF SY-SUBRC NE 0.
        MESSAGE A063(ZR53) WITH SY-SUBRC.
        EXIT.
      ENDIF.
    * call the function to send the already created email to the receivers
      CALL FUNCTION 'SO_OBJECT_SEND'
           EXPORTING
                FOLDER_ID                  = FOLDER_ID
                OBJECT_ID                  = NEW_OBJECT_ID
                OUTBOX_FLAG                = 'X'
                OWNER                      = SY-UNAME
           TABLES
                RECEIVERS                  = REC_TAB
           EXCEPTIONS
                ACTIVE_USER_NOT_EXIST      = 1
                COMMUNICATION_FAILURE      = 2
                COMPONENT_NOT_AVAILABLE    = 3
                FOLDER_NOT_EXIST           = 4
                FOLDER_NO_AUTHORIZATION    = 5
                FORWARDER_NOT_EXIST        = 6
                NOTE_NOT_EXIST             = 7
                OBJECT_NOT_EXIST           = 8
                OBJECT_NOT_SENT            = 9
                OBJECT_NO_AUTHORIZATION    = 10
                OBJECT_TYPE_NOT_EXIST      = 11
                OPERATION_NO_AUTHORIZATION = 12
                OWNER_NOT_EXIST            = 13
                PARAMETER_ERROR            = 14
                SUBSTITUTE_NOT_ACTIVE      = 15
                SUBSTITUTE_NOT_DEFINED     = 16
                SYSTEM_FAILURE             = 17
                TOO_MUCH_RECEIVERS         = 18
                USER_NOT_EXIST             = 19
                X_ERROR                    = 20
                OTHERS                     = 21.
      IF SY-SUBRC EQ 0.
        MESSAGE I035(ZR53) WITH NEW_OBJECT_ID D_USERNAME. "usnam.
      ELSE.
        MESSAGE I036(ZR53) WITH D_USERNAME."      sy-subrc.
      ENDIF.
    ENDFORM.                               " CREATE_AND_SEND_MAIL_OBJECT

  • Scheduling a webi report and export the result in PDF on local disk

    I'm working with the new SDK to schedule a report and export its result on my local c:\ hard disk drive. My code give no errors at run but I do not find the file on my root.
    The Instance counter of the report increase each time, so there is a refresh.
    Is something wrong in the following lines? I just follow the examples give in the documentation for scheduling.
    Thanks in advance !
    Here is my code :
                   Destinations oDestinations = Destinations.Factory.newInstance();
                   Destination[] oDestination = new Destination[1];
                   oDestination[0] = Destination.Factory.newInstance();
                   oDestination[0].setName("CrystalEnterprise.DiskUnmanaged");
                   DiskUnmanagedScheduleOptions diskOptions = DiskUnmanagedScheduleOptions.Factory.newInstance();
                   String[] destinationFile = new String[1];
                   destinationFile[0] = "c:\\" + report_name + ".pdf";
                   DestinationFiles destinationFiles = DestinationFiles.Factory.newInstance();
                   destinationFiles.setDestinationFileArray(destinationFile);
                   diskOptions.setDestinationFiles(destinationFiles);
                   oDestination[0].setDestinationScheduleOptions(diskOptions);
                   oDestinations.setDestinationArray(oDestination);
                   System.out.println("Getting report...");
                   ResponseHolder respons = this.platform.get("path://InfoObjects/<path to report>/" + report_name, null);
                   InfoObjects reports = respons.getInfoObjects();
                   if (reports == null)
                        return;
                   Webi myReport = (Webi)reports.getInfoObjectArray()[0];
                   System.out.println("Getting scheduling info...");
                   SchedulingInfo schedulingInfo = myReport.getSchedulingInfo();
                   boolean newSchedulingInfo = false;
                   if (schedulingInfo == null)
                        schedulingInfo = SchedulingInfo.Factory.newInstance();
                        newSchedulingInfo = true;
                   System.out.println("Setting scheduling info...");
                   schedulingInfo.setRightNow(Boolean.TRUE);
                   schedulingInfo.setScheduleType(ScheduleTypeEnum.ONCE);
                   schedulingInfo.setDestinations(oDestinations);
                   WebiProcessingInfo webiProcessingInfo = myReport.getWebiProcessingInfo();
                   if(webiProcessingInfo == null) {
                        webiProcessingInfo = WebiProcessingInfo.Factory.newInstance();
                   WebiFormatOptions webiReportFormatOptions = webiProcessingInfo.getWebiFormatOptions();
                   if(webiReportFormatOptions == null)
                        webiReportFormatOptions = WebiFormatOptions.Factory.newInstance();
                   System.out.println("Setting Format...");
                   webiReportFormatOptions.setFormat(WebiFormatEnum.PDF);
                   webiProcessingInfo.setWebiFormatOptions(webiReportFormatOptions);
                   myReport.setWebiProcessingInfo(webiProcessingInfo);
                   if (newSchedulingInfo)
                        myReport.setSchedulingInfo(schedulingInfo);
                   System.out.println("Schedule...");
                   this.platform.schedule(reports);
                   System.out.println("Schedule done...");

    Hi Jerome,
    I have gon ethrough your code again and there we are missing the destination plugin.
    We have to query the info store to get the disk unmanaged plugin.
    Below is the code
    IDestinationPlugin destPlugin = null; //Destination plugin returned by InfoStore Query
            IDiskUnmanagedOptions diskUnmanagedOptions = null; //Object returned by the getSchedulingOptions() method
            List listDestination = null; //List object to hold destination file location
            IDestination destination = null; //Destination Interface
            //retrieve the Scheduling Options and cast it as IDiskUnmanagedOptions
            //This interface is the one which allows us to add the file location
            //for the scheduling
              for(int i = 0; i< oInfoObjects.getResultSize();i++)
               oInfoObject = (IInfoObject) oInfoObjects.get(i);
               destPlugin = (IDestinationPlugin)iStore.query( "SELECT * from CI_SYSTEMOBJECTS WHERE SI_PARENTID=29 and SI_NAME='CrystalEnterprise.DiskUnmanaged'").get(0);
              diskUnmanagedOptions = (IDiskUnmanagedOptions) destPlugin.getScheduleOptions();
            listDestination = diskUnmanagedOptions.getDestinationFiles();
              String dest = "c:\\";
            listDestination.add (dest + oInfoObject.getTitle()+".pdf");
              schedInfo = oInfoObject.getSchedulingInfo();
            schedInfo.setRightNow(true);
            schedInfo.setType(CeScheduleType.ONCE);
            //retrieve the IDestination interface from the SchedulingInfo object
            //use the setFromPlugin() to apply the changes we made to the
            //IDestinationPlugin object returned from the IStore
            destination = schedInfo.getDestination();
            destination.setFromPlugin(destPlugin);
              iStore.schedule(oInfoObjects);
    Regards,
    Prithvi

  • We have three discussions forums with same subject. whenever a post gets new reply in one forum, it should automatically trigger workflow functionality to check conditions and send the same reply to other synchronized forums.

    we have three discussions forums with same subject. whenever a post gets new reply in one forum, it should automatically trigger workflow functionality to check conditions and send the same reply to other synchronized forums.
    Rajiv Kumar

    Hi,
    More details about your discussions forum will make others easier to find a corresponding solution on your requirement.
    If you mean there are three Discussion Board list waiting for synchronizing, I would suggest you create an Event Receiver for the three Discussion Board list.
    Here is a link with code demo about how to copy items from one Discussion Board to another including Replies:
    http://spcodes.blogspot.com/2013/03/programmatically-copy-items-from-one.html
    Here is a step by step sample on creating a simple Item added event receiver for Custom List in SharePoint 2010:
    http://msdn.microsoft.com/en-us/library/ff398052.aspx
    More information on Event Receiver for your reference:
    http://msdn.microsoft.com/en-us/library/gg749858(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/ff408183(v=office.14).aspx
    Feel free to reply if there are still any questions. 
    Best regards
    Patrick Liang
    TechNet Community Support

Maybe you are looking for

  • Spry Conditional Validation of Txt Boxes When Using Show/Hide

    Hi everyone.. just a quick question (if their is such a thing) if that is ok... I have been working on this single issue for 3 days.. it is driving me mad and hoped someone may be able to point me in the right direction... I have a form and it has a

  • ICloud, syncing and back up to PC

    Hi I'm a bit of a technophobe and have put off backing up to iCloud for a long time now. My question is this. When I go in to settings etc and select to turn iCloud on, I get a notification telling me my phone will no longer back up to my computer au

  • Apple TV is not authorized message

    I tried renting my first movie via via the Apple Tv (not my Mac) upon trying to play the movie I get the error that my Apple TV is not authorized to play this content. No where in the manuals does it mention authorizing your Apple TV, if i'm wrong ab

  • [SOLVED] automatic usb-backup with udev-rules + script

    I would like to have my usb-harddrive automatically start a backup as soon as it is plugged in.  And finally a bell is supposed to ring. I've created an udev-rule and a backup-script as shown below. However, instead of creating /dev/backup-drive firs

  • Set Date & Time Automatically

    I have an Airport Extreme tied to a cable modem. I also have an Airport Express setup using WDS (remote base station). On both the Exteme and the Express I have checked "Set Data & Time Automatically" and selected "time.apple.com". The Extreme finall