<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: [background processing] multiple work sheets in single attachment file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-multiple-work-sheets-in-single-attachment-file/m-p/5274307#M1217527</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;My question is not how to upload the file.&lt;/P&gt;&lt;P&gt;How to attach the file with multiple worksheets in Email application. we could it it with OLE. But i guess OLE is possible only when we execute the program in foreground.&lt;/P&gt;&lt;P&gt;I would like to get the similar functonality for email application too..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Mar 2009 23:05:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-17T23:05:15Z</dc:date>
    <item>
      <title>[background processing] multiple work sheets in single attachment file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-multiple-work-sheets-in-single-attachment-file/m-p/5274305#M1217525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to attach multiple worksheets in single attachment file in background processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked it is possible to download to PC by foreground execution using OLE. Is there any way to handle the same when executing background?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2009 09:01:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-multiple-work-sheets-in-single-attachment-file/m-p/5274305#M1217525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-16T09:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: [background processing] multiple work sheets in single attachment file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-multiple-work-sheets-in-single-attachment-file/m-p/5274306#M1217526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not possible to read the excel sheet in the background processing instead &lt;/P&gt;&lt;P&gt;Using Tcode CG3Y &amp;amp; CG3Z upload the excel sheet to application server and read the data from the application server in the background.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2009 09:11:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-multiple-work-sheets-in-single-attachment-file/m-p/5274306#M1217526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-16T09:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: [background processing] multiple work sheets in single attachment file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-multiple-work-sheets-in-single-attachment-file/m-p/5274307#M1217527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;My question is not how to upload the file.&lt;/P&gt;&lt;P&gt;How to attach the file with multiple worksheets in Email application. we could it it with OLE. But i guess OLE is possible only when we execute the program in foreground.&lt;/P&gt;&lt;P&gt;I would like to get the similar functonality for email application too..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2009 23:05:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-multiple-work-sheets-in-single-attachment-file/m-p/5274307#M1217527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-17T23:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: [background processing] multiple work sheets in single attachment file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-multiple-work-sheets-in-single-attachment-file/m-p/5274308#M1217528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Any Work arounds to send multiple worksheet attachment in Email application?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 May 2009 00:29:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-multiple-work-sheets-in-single-attachment-file/m-p/5274308#M1217528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-16T00:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: [background processing] multiple work sheets in single attachment file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-multiple-work-sheets-in-single-attachment-file/m-p/5274309#M1217529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Excel can read and write xml files, generated Binary Data using the xml DOM concept. iXML Stream Factory.&lt;/P&gt;&lt;P&gt;TYPES:  BEGIN OF xml_line,&lt;/P&gt;&lt;P&gt;          data(1024) TYPE x,&lt;/P&gt;&lt;P&gt;        END OF xml_line.&lt;/P&gt;&lt;P&gt;DATA: l_xml_table       TYPE TABLE OF xml_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Creating a stream factory&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    l_streamfactory = l_ixml-&amp;gt;create_stream_factory( ).&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Connect internal XML table to stream factory&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    l_ostream = l_streamfactory-&amp;gt;create_ostream_itable( table = l_xml_table ).&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Rendering the document&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    l_renderer = l_ixml-&amp;gt;create_renderer( ostream  = l_ostream&lt;/P&gt;&lt;P&gt;                                          document = l_document ).&lt;/P&gt;&lt;P&gt;    l_rc = l_renderer-&amp;gt;render( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Saving the XML document&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    l_xml_size = l_ostream-&amp;gt;get_num_written_raw( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Preparing contents of attachment with Change Log&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  l_con_pos = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DESCRIBE FIELD wa_XML LENGTH l_xml_len IN BYTE MODE.&lt;/P&gt;&lt;P&gt;  DESCRIBE FIELD wa_attachx LENGTH l_con_len IN BYTE MODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT l_xml_table INTO wa_xml.&lt;/P&gt;&lt;P&gt;    ASSIGN wa_xml TO &amp;lt;fs_con&amp;gt; CASTING.&lt;/P&gt;&lt;P&gt;    CHECK sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;    DO l_xml_len TIMES.&lt;/P&gt;&lt;P&gt;      l_xml_pos = sy-index - 1.&lt;/P&gt;&lt;P&gt;      IF l_con_pos = l_con_len.&lt;/P&gt;&lt;P&gt;        APPEND wa_attachx TO i_attachx.&lt;/P&gt;&lt;P&gt;        FREE wa_attachx.&lt;/P&gt;&lt;P&gt;        l_con_pos = 0.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      MOVE &amp;lt;fs_con&amp;gt;&lt;EM&gt;l_xml_pos(1) TO wa_attachx-line&lt;/EM&gt;l_con_pos(1).&lt;/P&gt;&lt;P&gt;      ADD 1 TO l_con_pos.&lt;/P&gt;&lt;P&gt;    ENDDO.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF l_con_pos &amp;gt; 0.&lt;/P&gt;&lt;P&gt;    APPEND wa_attachx TO i_attachx.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Adding Attachment&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CALL METHOD lv_document-&amp;gt;add_attachment&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          i_attachment_type    = c_ext&lt;/P&gt;&lt;P&gt;          i_attachment_size    = l_size&lt;/P&gt;&lt;P&gt;          i_attachment_subject = C_TITLE&lt;/P&gt;&lt;P&gt;          i_att_content_hex    = i_attachx[].&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 15:15:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-multiple-work-sheets-in-single-attachment-file/m-p/5274309#M1217529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T15:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: [background processing] multiple work sheets in single attachment file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-multiple-work-sheets-in-single-attachment-file/m-p/5274310#M1217530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can i borrow your complete code on sending multiple worksheet in single attachment file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 10:40:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-multiple-work-sheets-in-single-attachment-file/m-p/5274310#M1217530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-29T10:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: [background processing] multiple work sheets in single attachment file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-multiple-work-sheets-in-single-attachment-file/m-p/5274311#M1217531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having a similar requirement...formatting the data for multiple worksheet and sending the same in background ...could you please share some ideas on this...&lt;/P&gt;&lt;P&gt;i have done the below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) i did multiple excel sheet generation in foreground .&lt;/P&gt;&lt;P&gt;2) able to send the mail of the same too in foreground ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need input for the below .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to make the creation of excel with multiple sheet and sending the mail in background ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Aug 2009 05:51:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/background-processing-multiple-work-sheets-in-single-attachment-file/m-p/5274311#M1217531</guid>
      <dc:creator>sureshcres</dc:creator>
      <dc:date>2009-08-16T05:51:00Z</dc:date>
    </item>
  </channel>
</rss>

