<?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 Excel attachment in email in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-in-email/m-p/7575751#M1565811</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using FM SO_NEW_DOCUMENT_ATT_SEND_API1, to send my internal table contents as excel attachment via e-mail. I'm receiving the xls attachment via e-mail.  I'm using cl_abap_char_utilities=&amp;gt;newline to pass internal table contents line by line. This is working fine. &lt;/P&gt;&lt;P&gt;But from second line onwards, the lines are right aligned. For eg. contents_bin-line is 255 character length. If the internal table line is just 100 characters, it is leaving the 1st 155 character space and starting from 101st caharacter space. I need the line to start from 1st character space.&lt;/P&gt;&lt;P&gt;How shall i do this?..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subbu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jan 2011 06:13:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-01-19T06:13:33Z</dc:date>
    <item>
      <title>Excel attachment in email</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-in-email/m-p/7575751#M1565811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using FM SO_NEW_DOCUMENT_ATT_SEND_API1, to send my internal table contents as excel attachment via e-mail. I'm receiving the xls attachment via e-mail.  I'm using cl_abap_char_utilities=&amp;gt;newline to pass internal table contents line by line. This is working fine. &lt;/P&gt;&lt;P&gt;But from second line onwards, the lines are right aligned. For eg. contents_bin-line is 255 character length. If the internal table line is just 100 characters, it is leaving the 1st 155 character space and starting from 101st caharacter space. I need the line to start from 1st character space.&lt;/P&gt;&lt;P&gt;How shall i do this?..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subbu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 06:13:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-in-email/m-p/7575751#M1565811</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-19T06:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Excel attachment in email</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-in-email/m-p/7575752#M1565812</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;Use class  cl_abap_char_utilities=&amp;gt;cr_lf  as shown below .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS: c_cret TYPE c VALUE cl_abap_char_utilities=&amp;gt;cr_lf . " for carriage return&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use  class CL_BCS  also for sending attachment thr mail.(Optional)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Chetan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 09:26:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-in-email/m-p/7575752#M1565812</guid>
      <dc:creator>former_member192432</dc:creator>
      <dc:date>2011-01-19T09:26:08Z</dc:date>
    </item>
  </channel>
</rss>

