Report with email

hi everyone,
procedure used:
i am sending an email using the report program.
i am using the SAPFORM to send the mail..
first i am sending the outout to the spool and from there i am sending the email.
problem occured:
  The details are fetched from spool when i run the program..but when i again send the sanme program i getting the details along with the details of the previous mail...
let me send the code of what i have used..can anyone try and resolve this problem please..
*& Report  ZMAIL_SEND
REPORT  ZMAIL_SEND.
DATA : x_itcpo               TYPE itcpo,   "SAPscript output interface
       x_itcpp1              TYPE itcpp,  "SAPscript output parameters
       x_itcpp2              TYPE itcpp,
       c_std_text(8)         TYPE c VALUE 'STD_TEXT', "variable that is used in SAP SCRIPT
       it_packing_list       TYPE TABLE OF sopcklsti1 INITIAL SIZE 0 WITH HEADER LINE,
       it_objtxt             TYPE TABLE OF solisti1  INITIAL SIZE 0 WITH HEADER LINE,
       s_spool               TYPE tsp01-rqident,
       it_spool_file         TYPE TABLE OF soli      INITIAL SIZE 0 WITH HEADER LINE,
       v_sender              TYpe soextreci1-receiver VALUE '[email protected]',
       c_addr_type           TYPE soextreci1-adr_typ VALUE 'INT',
       it_reclist            TYPE TABLE OF somlreci1 INITIAL SIZE 0 WITH HEADER LINE,
       v_receiver            TYPE somlreci1-receiver VALUE '[email protected]',
       x_docdata             TYPE sodocchgi1,
       tab_lines             TYPE sy-tabix,
       lin1 TYPE i.
------ Printer settings structure  -
x_itcpo-tddest = ''.
x_itcpo-tdrdidev = ''.
x_itcpo-tdnewid = 'x'.
x_itcpo-tdsenddate = sy-datum.
x_itcpo-tdsendtime = sy-uzeit.
x_itcpo-tdschedule = 'IMM'.
x_itcpo-tdimmed = ' '.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
  APPLICATION                       = 'TX'
  ARCHIVE_INDEX                     =
  ARCHIVE_PARAMS                    =
   device                            = 'PRINTER'
   dialog                            = 'X'
   form                              = 'ZTEST_FORM '
   language                          = sy-langu
   options                           = x_itcpo
  MAIL_SENDER                       =
  MAIL_RECIPIENT                    =
  MAIL_APPL_OBJECT                  =
  RAW_DATA_INTERFACE                = '*'
  SPONUMIV                          =
IMPORTING
  LANGUAGE                          =
  NEW_ARCHIVE_PARAMS                =
  RESULT                            =  X_ITCPP1
EXCEPTIONS
  CANCELED                          = 1
  DEVICE                            = 2
  FORM                              = 3
  OPTIONS                           = 4
  UNCLOSED                          = 5
  MAIL_OPTIONS                      = 6
  ARCHIVE_ERROR                     = 7
  INVALID_FAX_NUMBER                = 8
  MORE_PARAMS_NEEDED_IN_BATCH       = 9
  SPOOL_ERROR                       = 10
  CODEPAGE                          = 11
  OTHERS                            = 12
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*Assigning the standard text name
CALL FUNCTION 'TEXT_SYMBOL_SETVALUE'
  EXPORTING
    name            = c_std_text
    value           = 'ZTEST_STD1'
    value_length    = 0
    replace_symbols = 'x'.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
   element                        = 'E05_HEADER '
   function                       = 'SET'
   type                           = 'BODY'
   window                         = 'MAIN'
IMPORTING
  PENDING_LINES                  =
EXCEPTIONS
  ELEMENT                        = 1
  FUNCTION                       = 2
  TYPE                           = 3
  UNOPENED                       = 4
  UNSTARTED                      = 5
  WINDOW                         = 6
  BAD_PAGEFORMAT_FOR_PRINT       = 7
  SPOOL_ERROR                    = 8
  CODEPAGE                       = 9
  OTHERS                         = 10
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
   element                        = 'ELEMENT1'
   function                       = 'SET'
   type                           = 'BODY'
   window                         = 'MAIN'
IMPORTING
  PENDING_LINES                  =
EXCEPTIONS
  ELEMENT                        = 1
  FUNCTION                       = 2
  TYPE                           = 3
  UNOPENED                       = 4
  UNSTARTED                      = 5
  WINDOW                         = 6
  BAD_PAGEFORMAT_FOR_PRINT       = 7
  SPOOL_ERROR                    = 8
  CODEPAGE                       = 9
  OTHERS                         = 10
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
   element                        = 'E05_FOOTER '
   function                       = 'SET'
   type                           = 'BODY'
   window                         = 'MAIN'
IMPORTING
  PENDING_LINES                  =
EXCEPTIONS
  ELEMENT                        = 1
  FUNCTION                       = 2
  TYPE                           = 3
  UNOPENED                       = 4
  UNSTARTED                      = 5
  WINDOW                         = 6
  BAD_PAGEFORMAT_FOR_PRINT       = 7
  SPOOL_ERROR                    = 8
  CODEPAGE                       = 9
  OTHERS                         = 10
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
   RESULT                         =  x_itcpp2
  RDI_RESULT                     =
TABLES
  OTFDATA                        =
EXCEPTIONS
   UNOPENED                       = 1
   BAD_PAGEFORMAT_FOR_PRINT       = 2
   SEND_ERROR                     = 3
   SPOOL_ERROR                    = 4
   CODEPAGE                       = 5
   OTHERS                         = 6
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
***********************EXECUTES SUCCESSFULLY UNTIL THIS*********************************
------- spool no. of the spool generated -
s_spool = x_itcpp2-tdspoolid.
------- Fetching of the spool contents -
IF NOT s_spool IS INITIAL.
  CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
    EXPORTING
      rqident                    = s_spool
     first_line                 = 1
     last_line                  = 1000
     desired_type               = 'RAW'
IMPORTING
  REAL_TYPE                  =
  SP_LANG                    =
    TABLES
      buffer                     = it_spool_file "mail content
  BUFFER_PDF                 =
EXCEPTIONS
  NO_SUCH_JOB                = 1
  JOB_CONTAINS_NO_DATA       = 2
  SELECTION_EMPTY            = 3
  NO_PERMISSION              = 4
  CAN_NOT_ACCESS             = 5
  READ_ERROR                 = 6
  TYPE_NO_MATCH              = 7
  OTHERS                     = 8
  IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
ENDIF.
CALCULATING THE NO OF RECORDS IN IT_SPOOL_FILE************
DESCRIBE TABLE it_spool_file LINES lin1.
*------ Filling the spool contents into internal table obtxt,-----
*------ whose contents will be displayed as the body of email -
IF lin1 GT 0.
  LOOP AT it_spool_file.
    it_objtxt-line = it_spool_file-line.
    APPEND it_objtxt.
    CLEAR it_objtxt.
    CLEAR it_spool_file-line.
  ENDLOOP.
ENDIF.
DESCRIBE TABLE it_objtxt LINES tab_lines.
READ TABLE it_objtxt INDEX tab_lines.
*------ Calculating doc. size which is email -
x_docdata-obj_name  = 'ZTEST_STD1'.
x_docdata-obj_descr = 'HAI TEST'.
x_docdata-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( it_objtxt ).
*THIS SET OF CODE IS TO UPDATE THE RECEIVER EMAIL ADDRESS
CLEAR it_reclist.
REFRESH it_reclist.
it_reclist-receiver = v_receiver.
it_reclist-rec_type = 'U'.
it_reclist-copy = 'x'.
it_reclist-blind_copy = ' '.
APPEND it_reclist.
*contains the document description
CLEAR it_packing_list.
REFRESH it_packing_list.
it_packing_list-transf_bin = space.
it_packing_list-head_start = 1.
it_packing_list-head_num = 0.
it_packing_list-body_start = 1.
DESCRIBE TABLE it_objtxt LINES it_packing_list-body_num.
it_packing_list-doc_type = 'RAW'.
APPEND it_packing_list.
*this is the function module which sends the mail
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
  EXPORTING
    document_data                   = x_docdata
   put_in_outbox                    = 'X'
   sender_address                   =  v_sender  "senders mail address
   sender_address_type              = 'INT'
   commit_work                      = 'X'
IMPORTING
  SENT_TO_ALL                      =
  NEW_OBJECT_ID                    =
  SENDER_ID                        =
  TABLES
   packing_list                     = it_packing_list
  OBJECT_HEADER                    =
  CONTENTS_BIN                     =
   contents_txt                     = it_objtxt  "this is the table which contains the content of the mail
  CONTENTS_HEX                     =
  OBJECT_PARA                      =
  OBJECT_PARB                      =
    receivers                        = it_reclist        "contains the receivers mail id
EXCEPTIONS
  TOO_MANY_RECEIVERS               = 1
  DOCUMENT_NOT_SENT                = 2
  DOCUMENT_TYPE_NOT_EXIST          = 3
  OPERATION_NO_AUTHORIZATION       = 4
  PARAMETER_ERROR                  = 5
  X_ERROR                          = 6
  ENQUEUE_ERROR                    = 7
  OTHERS                           = 8
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

Hi Satheesh,
<b>1</b>.
Actually Spool rq no is stored in the table tsp01.If that is giving problem ,try to use this logic.It also works fine.
CONCATENATE sy-repid0(9) sy-uname0(3) INTO tsp01-rq2name.
  SELECT MAX( rqcretime )
   FROM tsp01
   INTO tsp01-rqcretime
   WHERE rq2name = tsp01-rq2name.
  IF sy-subrc = 0.
    SELECT  SINGLE *
      FROM  tsp01
      WHERE rqcretime = tsp01-rqcretime.
    IF sy-subrc <> 0.
      MESSAGE s000(0k) WITH 'Spool Number does not exist'.
      EXIT.
    ENDIF.
  ENDIF.
<b>2</b>.
It gives Latest Spool no for this program .
<b>Thanks,
Venkat.O</b>

Similar Messages

  • LMS 4.21 -- Unable to schedule NetworkDiscrepancy Report with eMail-Adress given

    Hi all,
    environment:
    LMS 4.21
    Solaris 10
    trying to schedule a Best Practices Network Discrepancy Report everything works find (reports could be scheduled)
    except entering a eMail-Address in Textfield: E-mail.
    Hiting the Submit Button results in nothing, no popup stating the created job ID; without any content
    in this field a job is able to be scheduled.
    Could that be a known bug or is anybody else facing the same problem?
    Best Regards
    Lothar

    No Cisco-Expert available having a solution?
    Many thx

  • Financial Reporting with emailing  question

    Greetings,
    I'm on Fusion 11.1.1.4.
    Is it possible to have an admin run either a book or reports and have these reports emailed to specific users? I would like if possible to use Essbase security to ensure that only the assigned users would received the reports. Reports can be run either from Smartview or from WS.
    many thanks,
    cg

    This could be the right link for 11.1.1.4: http://docs.oracle.com/cd/E12825_01/index.htm
    You could refer this : http://docs.oracle.com/cd/E12825_01/epm.111/bpmui_user.pdf - Workspace user guide
    http://docs.oracle.com/cd/E12825_01/epm.111/fr_user.pdf --FR user guide.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Bursting Reports via email with seperate email address for each page

    I have been reading "Oracle® Application Server Reports Services Publishing Reports to the Web" (most specifically chapter 15 Creating Advanced Distributions) trying to figure this out but still having difficulty getting my head around it.
    I am trying to email invoices when applicable. Here is the "perfect world scenario".
    Report is scheduled to run once a day.
    Any qualifying invoices are picked up in the run.
    If there is an email address associated with the record the invoice is sent via email. (email address would be included on report and variable)
    If no email address is associated, the invoice is printed.
    There could/would be several different invoices on a single run.
    Does this mean I have to write dynamically write a distribution.xml file for each run or can I pass the email address as a variable to the distribution.xml?
    (builder version 10.1.2.0.2)
    bump
    Edited by: sdortch on May 21, 2009 9:09 AM

    Hi !
    You're able to use Report-Variables (e.g. from a Group in the Data Model) in the distribution.xml-File to send email to different adresses.
    Just bear in mind that you also need to set the "repeat-on" Property of the relevant layout section and use a "foreach"-Loop in the distribution.xml.
    So, no, no "dynamic" building of xml-Files necessary (though we do it at times...).
    See also "Publishing Reports to the web" for a complete reference on "burst distribution" and the components of the distribution.xml
    I would, however, run the report twice, once for "all email-invoices" with email-distribution file, once for "all invoices w/o email-adress" with (probably) printer-distribution file, as "exception" handling inside a distribution.xml could be a bit awkward...
    Cheers,
    Jens Rettig

  • Custom code throws error with email subscription. Otherwise, the report works fine.

    I have a SSRS report that parses RTF to TXT and displays it in a report.  The report works fine and everything displays correctly.  The subscription email, however, contains a report with errors: Request for the permission of type
    'System.Security.Permissions.UIPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
    The report contains embedded code as well as references to System.Security and System.Windows.Forms.  I've updated .....\Reporting Services\ReportServer\rssrvpolicy.config and ....\Reporting Services\ReportManager\rsmgrpolicy.config to change permissions
    to FullTrust.  Not sure what else I need to do.  Please help.

    Hi Chimuelo,
    According to your description, if the report contains custom code and assemblies, the subscription email contains an error “Request for the permission of type 'System.Security.Permissions.UIPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
    failed”.
    In your scenario, the issue could cause by that the report can’t access those assemblies. Please modify the policy configuration files to grant additional permissions for those assemblies. For more information, please refer to this article:
    How to grant permissions to a custom assembly that is referenced in a report in Reporting Services.
    Similar thread for your reference:
    Custom assembly throwing #error in reports with subscriptions
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Email reports with graphs as HTML (via schedule)

    == W2K machine with Oracle Reports Server 6i R2 ==
    How can I schedule/design a report if sent via email (in HTML format), so the graph that is part of the reports shows up? Currently, the gif is missing. I can use the "hyperlink" in the web setting to point to the file on the web server, but this means my "customers" need to click the missing object.
    If I send the report as PDF, all is well but again, my customers need to "open" the file.
    Is there a way to email reports with graphs as HTML?
    In any other format where the receiver does not have to take any other action?
    Thx
    Josh

    My bursting SQL query:
    SELECT DISTINCT
    ip.APPL_ID KEY,
    '11F_Search_Prospect_Email' TEMPLATE,
    'RTF' template_format,
    'en-US' locale,
    'HTML' output_format,
    'EMAIL' DEL_CHANNEL,
    ip.email PARAMETER1,
    '[email protected]' PARAMETER3,
    'Welcome' PARAMETER4,
    'true' PARAMETER6
    FROM ugrad.inquiry_prospect ip,
    ugrad.correspondence f,
    ugrad.address e,
    ugrad.f_lookup fl
    WHERE ip.appl_id = f.appl_id
    AND ip.APPL_ID = e.APPL_ID
    AND fl.TYPE_CODE='C'
    AND ip.record_stage = 'Prospect'
    AND e.COUNTRY_CODE=fl.code
    AND e.table_name = 'INQUIRY_PROSPECT'
    AND e.address_type =
    NVL ((SELECT gg.address_type
    FROM ugradadm.address gg
    WHERE gg.address_type =
    DECODE (f.mailpref,
    'Home', 'HOME',
    'Best', 'LOCAL',
    'HOME'
    AND gg.table_name = 'INQUIRY_PROSPECT'
    AND gg.APPL_ID = ip.appl_id
    AND((gg.address_type='LOCAL' AND NVL(gg.address_expir_date,sysdate)>sysdate)
    OR gg.address_type='HOME')),
    'HOME'
    AND f.batchid = :Batch_ID
    This report when bursted sends an email with the layout template as html body.
    The EMAIL configuration is set with a server Port number and its host address.

  • SCSM2012 R2 Custom Reports with Weekly and monthly schedule to email

    Hi
    I am able to pull standard ListofIncidents Reports, want a similar kind of report with a Weekly and monthly scheduled reports to email, I have tried using pull reports from Cubes to Excel and do a custom reports but is not showing like standard ListofIncidents
    Reports. Could you please guide me on this.
    Thanks and Regards,
    Pradeep Kumar
    Pradeep Kuimar

    Hi,
    Would you please check the articles below regarding to publishing and Subscribing to Service Manager Reports:
    http://blogs.technet.com/b/servicemanager/archive/2010/06/30/publishing-and-subscribing-to-service-manager-reports.aspx
    How to Schedule a Standard Service Manager Report
    https://technet.microsoft.com/en-us/library/hh519682.aspx
    Hope this can be helpful for you!
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How can I print and email a report with a logo?

    How can I print and email a report with a logo?
    Is this possible??

    hi ravikant!
    im talking about reports, not forms.
    i bet se78 is for forms and oaer is for report.
    because my logo is displayed on screen, using html-top-of-page.
    but at the time of printing and email, internally, alv grid is converted into alv list, and alv list doesn't support having a logo.
    That's my know-how of the situation.
    Do you have a way with it???
    Please advice.
    Thanks a lot!

  • Question on the Adobe Captivate 6.x Google LMS Widget With Email Reporting

    Im looking to use the Adobe Captivate 6.x Google LMS Widget With Email Reporting to collect quiz answers and results but due to security issues I would like to put the results directly into a databse and not into google.
    Does anyone have any experience in doing this and if so how what do I have to change to get the widget to send the results to the database.
    Thanks

    Email reporting has been removed in Captivate 6 out-of-the-box, though it can be achieved using a widget.
    You can use Michael’s widget to achieve the same - http://www.cpguru.com/email-reporting-widget-for-adobe-captivate/
    Akshay

  • Pls help:sending oracle reports with desformat=spreadsheet to email

    Is there a way to send the reports with desformat=spreadheet to email(destype=mail). I tried to execute the commandline with destype=mail desname=[email protected] desformat=spreadsheet but I am getting a report with html type attachment. How could I make it xls(excel) instead of html

    When having lots of repeating frames and fields placed in a complex pattern, the Oracle Reports doesn't know how to place them in the .xls cells.
    You ought to have a second layout for the report (containing the same data) that would print when the desformat = spreadsheet and would be be rather simple in comparison to the one that would print when desformat=pdf/html.
    In case you have several repeating frames it is best to have all the fields in those frames placed and vertically aligned on the same row in the layout, from left to right. This should give a reasonable output.

  • NVision Report not generated with email option in the Run Report page

    Hi ,
    I want to send the nvision reports through email to the users, I tried it by setting the email option in the drop down of the "Type" after giving "Run Report" and then specifying the email ids. The issue is i am getting emails , but the report is not generated which otherwise generates, and hence no attachement is seen on the email .
    Anybody faced this issue ?? Please help
    Regards,
    Kanchana

    Hi again!
    You are absolutely right! I will mark as solved in 5 mins (can't do it now, thread to fresh it seems).
    thanks
    Manfred

  • How to create a report of email subscribers

    Hello
    This seems like a simple thing, but I've searched the forums and tried a few things in admin but can't work this out!
    I have a very simple online form on my website with 'name' and 'email' - it is a newsletter subscribe box. I would like to provide a simple way for my clients to login to their admin and export this list of all subscribers but I am stuck. 
    I have tried in the REPORTS - CUSTOM REPORTS section - but the subscribe form does not show anywhere in the filter criteria so I can not pinpoint this form data on its own (the report I generated brings in the customers for ALL forms using the 'name' and 'email address' fields as I have 3 different forms on the website and ofcourse each form has these two fields)
    I have also tried in: CRM - CASES - then filter by the 'subscribe form' - which is nearly what we need, it is a list of everyone who has used the form which is great, but it does not show their email address only the name and creation date, and if you export it as a spreadsheet it only shows this info.
    We are after a simple spreadsheet or export file that just shows their name and email address.
    Any help appreciated,
    Thanks

    You can create a custom report with Double Opt-In Status checked for your site's CRM database and it will generate a report which will include the list.
    If you want to generate the report for specific form then repeat the same step and select the form from "Custom CRM Form Filter" which will include customers list who has used the form.( it should be standard form )
    Rest if you are looking for customers subscribed for any specific campaign , then email campaign reports includes all the information.
    Sanjit

  • Report to email on a UNIX (not NT!!) server?

    Hi to all,
    I'd like to know if it's possible to send an report directly to email on a UNIX (not NT!!) server machine.
    As I've seen in the documentation the MAPI is used and that shouldn't work on UNIX with email servers like sendmail. (Right??)
    Has someone experience with this?
    Thanks
    Peter Ziegler

    We are also just starting to look at this. There is a file called r60mail.sh that is supposedly called when using mail as destination in UNIX. It is a UNIX shell script expecting 5 variables passed to it. There is very little documentation on this. But if you search for this file, there are some comments within it. Apparently though, there are issues with sending attachments. We are looking at 3rd party products, and modifying this file to call that.
    If you have any luck with it, please post. I will do the same.
    Brett

  • XML Report - Bursting Email

    Hi,
    I am new to Oracle bursting, As per the requirement i need to send a email through XML publisher bursting (email will be having attachment of report output in excel format), Following error message i am getting while running bursting program, XML Publisher Report Bursting Program. If anyone provide a solution it will be much helpful for sloving the issue.
    Errro message:
    XML/BI Publisher Version : 5.6.3
    Updating request description
    Retrieving XML request information
    Preparing parameters
    Set Bursting parameters..
    Bursting propertes.....
    {font.Bookman Old Style.normal.bold=truetype./d11/appldev/CNCDEV/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts/BOOKOSB.ttf, burstng-source=EBS, system-temp-dir=/usr/tmp, user-variable:cp:parent_request_id=5551312, user-variable:cp:application_short_name=XDO, rtf-checkbox-glyph=Wingdings;253;111, pdf-compression=true, font.Bookman Old Style.normal.normal=truetype./d11/appldev/CNCDEV/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts/BOOKOS.ttf, user-variable:cp:request_id=5551351, user-variable.OA_MEDIA=http://cncdev.centricgroup.com:8002/OA_MEDIA, user-variable:cp:Dummy for Data Security=Y, user-variable:cp:org_id=141, user-variable:cp:DebugFlag=N, user-variable:cp:responsibility=51179, user-variable:cp:user=RMEHTA, user-variable:cp:reportdescription=CENTRIC CM Average Cost Change Alert, user-variable:cp:language=en, user-variable:cp:ReportRequestID=5551312, user-variable:cp:locale=en-US, user-variable:cp:territory=US}
    Start bursting process..
    Bursting process complete..
    Generating Bursting Status Report..
    --Exception
    ZIP file must have at least one entry
    java.util.zip.ZipException: ZIP file must have at least one entry
         at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:304)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:534)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:292)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Bursting File Logic:
    - <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
    - <xapi:request select="/XXCNC_CM_ITEMCOST_CHG">
    - <xapi:delivery>
    - <xapi:email id="email1" server="mailhost.centricgroup.com" port="25" from="[email protected]" reply-to="[email protected]">
    <xapi:message id="email1" to="[email protected]" attachment="true" subject="Item Cost Change Alert Report">Please review the attached report</xapi:message>
    </xapi:email>
    </xapi:delivery>
    - <xapi:document output-type="excel" delivery="email1">
    <xapi:template type="rtf" location="/tmp/XXCNC_CM_ITEMCOST_CHG.rtf" />
    </xapi:document>
    </xapi:request>
    </xapi:requestset>

    Hi,
    Just check this link to get some better clarity,
    http://garethroberts.blogspot.in/2008/03/bi-publisher-ebs-bursting-101.html
    https://sites.google.com/site/shareapps4u/learning-topic/xml-publisher/how-to-use-xml-bursting-to-send-xml-report-via-email
    Then your
    <xapi:template type="rtf" location="/tmp/XXCNC_CM_ITEMCOST_CHG.rtf" /> is wrong.. this need to point the xml template location. Just check the query and then u can replace this with your output
    select
    lt.application_short_name || '.' || lt.template_code || '.' || lt.default_language || '.' || lt.default_territory as burst_template_xdo_location
    from
    apps.xdo_templates_b lt
    where lt.template_code ='<Template Code>'; --here value <Template Code> is 'XX_TEST_XML_DT'
    Regards
    Sri

  • How to create a SSRS report with SharePoint 2013 team site's calendar?

    Hi I have sp13 and SQL Data Rool (that brings up VS Shell 2010).
    I need to build a report where the top part is to have a SP Team site's calendar for up coming week. The 2nd half would be a table with data from that same site.  This report would then need to be embedded in a email that automatically sent to several
    users  on weekly basis.
    I have the table data report created form the SP list.  How can I get the calendar(display as a calendar that I see in the team site) on to the top part of this report? 
    Thank you.

    Please follow this article to write SSRS reports with data source as SharePoint list/calendars etc. All document libraries, list and calendars are derived from base list class so you can use any of this type as a data source
    http://www.mssqltips.com/sqlservertip/2068/using-a-sharepoint-list-as-a-data-source-in-sql-server-reporting-services-2008-r2/
    Once your SSRS report is developed, you have multiple ways to show it in SharePoint
    - upload to SSRS server and show in sharepoint in a page viewer web part or simply open it as a link in new window
    - configure SharePoint environment with integration to SSRS and upload report to SharePoint library. Display report in a web part page using SSRS web part.
    Moonis Tahir MVP SharePoint,MCTS SharePoint 2010/2007, MCPD.net, MCSD.net, MCTS BizTalk 2006,SQL 2005

Maybe you are looking for