<?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: Problem while sending spool as mail in Excel in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-spool-as-mail-in-excel/m-p/6212109#M1377830</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you give examples, I understand nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About UTF-16LE and BOM. Just search SDN:&lt;/P&gt;&lt;P&gt;- Blog from Thomas Jung "BSP Download to Excel in Unicode Format"&lt;/P&gt;&lt;P&gt;- Note Number: 1151258 "Error when sending Excel attachments" (recent class to help converting)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Oct 2009 09:10:33 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2009-10-09T09:10:33Z</dc:date>
    <item>
      <title>Problem while sending spool as mail in Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-spool-as-mail-in-excel/m-p/6212102#M1377823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;           My requirement is to send the spool generated in background as attachment in excel. i am using RSPO_RETURN_SPOOLJOB for converting spool in to internal table and SO_NEW_DOCUMENT_ATT_SEND_API1 for sending mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is data is not displayed properly. How to handle the data retreived from  RSPO_RETURN_SPOOLJOB .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2009 09:25:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-spool-as-mail-in-excel/m-p/6212102#M1377823</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-06T09:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while sending spool as mail in Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-spool-as-mail-in-excel/m-p/6212103#M1377824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends:&lt;/P&gt;&lt;P&gt;In what format do you want to send the spool? (pdf, text, abap list, rtf, html, ...)&lt;/P&gt;&lt;P&gt;What kind of spool is it, abap list, otf (sapscript, smart form), or something else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 20:05:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-spool-as-mail-in-excel/m-p/6212103#M1377824</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-10-07T20:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while sending spool as mail in Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-spool-as-mail-in-excel/m-p/6212104#M1377825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please clarify as sandra asked..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by the way,&lt;/P&gt;&lt;P&gt;if it is a custom development and you only want the email functionality.. then why to go for spool even?&lt;/P&gt;&lt;P&gt;check if sy-batch = 'X'.&lt;/P&gt;&lt;P&gt;use &lt;/P&gt;&lt;P&gt;SO_NEW_DOCUMENT_ATT_SEND_API1 &lt;/P&gt;&lt;P&gt;and directly pass the final internal table that you are using in output. no need to go for display, then get the spool.. and then retrieve etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but as i have already said , depends upon the requirement.. if its your requirement is for both spool and email then please clarify as sandra asked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2009 20:26:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-spool-as-mail-in-excel/m-p/6212104#M1377825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-07T20:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while sending spool as mail in Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-spool-as-mail-in-excel/m-p/6212105#M1377826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sandra,&lt;/P&gt;&lt;P&gt;                        We are trying to send the mail as excel attachement.The spool is generated from abap list. iam using the function module RSPO_RETURN_SPOOLJOB for converting the spool.iam able to send the mail as attachment in excel but junk values are appearing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Soumya: Here are have mutiliple reports are run in background based on user . We have maintained Ztable for this .Thus picking the spool for the corresponding user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: A kumar on Oct 8, 2009 7:36 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 05:35:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-spool-as-mail-in-excel/m-p/6212105#M1377826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-08T05:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while sending spool as mail in Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-spool-as-mail-in-excel/m-p/6212106#M1377827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RSPO_RETURN_SPOOLJOB does not convert the spool, it just reads it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you tell us if you can open the file using notepad?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes, then I think you have to convert the text of the spool into UTF-16LE and add the BOM (byte order mark).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sandra Rossi on Oct 8, 2009 4:56 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 14:55:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-spool-as-mail-in-excel/m-p/6212106#M1377827</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-10-08T14:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while sending spool as mail in Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-spool-as-mail-in-excel/m-p/6212107#M1377828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sandra,&lt;/P&gt;&lt;P&gt;                       iam able to open the file . iam getting the values in a single cell of the excel and data is concatenated with #.Problem is with the data in the internal table that is  returned from the function module .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont have a clue regarding this -- then I think you have to convert the text of the spool into UTF-16LE and add the BOM (byte order mark).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 07:03:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-spool-as-mail-in-excel/m-p/6212107#M1377828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-09T07:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while sending spool as mail in Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-spool-as-mail-in-excel/m-p/6212108#M1377829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use function module "convert_otf_2_pdf" and convert the spool request to otf file and use the function module for sending E-Mail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 07:13:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-spool-as-mail-in-excel/m-p/6212108#M1377829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-09T07:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while sending spool as mail in Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-spool-as-mail-in-excel/m-p/6212109#M1377830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you give examples, I understand nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About UTF-16LE and BOM. Just search SDN:&lt;/P&gt;&lt;P&gt;- Blog from Thomas Jung "BSP Download to Excel in Unicode Format"&lt;/P&gt;&lt;P&gt;- Note Number: 1151258 "Error when sending Excel attachments" (recent class to help converting)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 09:10:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-spool-as-mail-in-excel/m-p/6212109#M1377830</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-10-09T09:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while sending spool as mail in Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-spool-as-mail-in-excel/m-p/6212110#M1377831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sandra,&lt;/P&gt;&lt;P&gt;               This is how my data is been displayed in excel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4100000001|1000|1000|304|04/05/1999|00010|ACETAMIDE                               |3000081 |1000|     6,000 |KG |KG |    58.00| 4100000002|1000|1000|304|04/05/1999|00010|AMMONIA GAS                             |3000084 |1000|    12,000 |KG |KG |    17.20| 4100000003|1000|1000|304|04/05/1999|00010|LIQUID NITROGEN                         |3000216 |1000|   140,000 |L  |L  |     5.05| 4100000004|1000|1000|304|04/05/1999|00010|HYDROGEN PEROXIDE 50 %                  |3000203 |1000|    10,000 |KG |KG |    10.05| &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is coming in single cell of the excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 10:03:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-spool-as-mail-in-excel/m-p/6212110#M1377831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-09T10:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while sending spool as mail in Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-spool-as-mail-in-excel/m-p/6212111#M1377832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, it's not a problem of UTF-16LE / BOM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you try by replacing | by comma (or semicolon in some countries)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2009 10:26:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-sending-spool-as-mail-in-excel/m-p/6212111#M1377832</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-10-09T10:26:41Z</dc:date>
    </item>
  </channel>
</rss>

