<?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 Problem while using FM SO_DOCUMENT_SEND_API1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-fm-so-document-send-api1/m-p/4880204#M1140646</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using FM SO_DOCUMENT_SEND_API1 to send a mail with an excel attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data is populated into the table lt_attachment and is then converted into excel by the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT lt_temp INTO lw_temp.&lt;/P&gt;&lt;P&gt;    CONDENSE lw_temp-f1.&lt;/P&gt;&lt;P&gt;    CONCATENATE lw_temp-f1&lt;/P&gt;&lt;P&gt;                lw_temp-f2&lt;/P&gt;&lt;P&gt;                lw_temp-f3&lt;/P&gt;&lt;P&gt;                lw_temp-f4&lt;/P&gt;&lt;P&gt;                lw_temp-f5&lt;/P&gt;&lt;P&gt;                lw_temp-f6&lt;/P&gt;&lt;P&gt;                lw_temp-f7&lt;/P&gt;&lt;P&gt;                lw_temp-f8&lt;/P&gt;&lt;P&gt;                lw_temp-f9&lt;/P&gt;&lt;P&gt;                lw_temp-f10&lt;/P&gt;&lt;P&gt;                lv_car_ret&lt;/P&gt;&lt;P&gt;          INTO lt_attachment-line&lt;/P&gt;&lt;P&gt;          SEPARATED BY lv_sep.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; lv_car_ret is used to enter a new line.&lt;/P&gt;&lt;P&gt;But problem is that the first column gets displaced by a number of characters even when in internal table there is no space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me in resolving the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Points for sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Dinesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Dec 2008 07:08:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-18T07:08:13Z</dc:date>
    <item>
      <title>Problem while using FM SO_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-fm-so-document-send-api1/m-p/4880204#M1140646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using FM SO_DOCUMENT_SEND_API1 to send a mail with an excel attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data is populated into the table lt_attachment and is then converted into excel by the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT lt_temp INTO lw_temp.&lt;/P&gt;&lt;P&gt;    CONDENSE lw_temp-f1.&lt;/P&gt;&lt;P&gt;    CONCATENATE lw_temp-f1&lt;/P&gt;&lt;P&gt;                lw_temp-f2&lt;/P&gt;&lt;P&gt;                lw_temp-f3&lt;/P&gt;&lt;P&gt;                lw_temp-f4&lt;/P&gt;&lt;P&gt;                lw_temp-f5&lt;/P&gt;&lt;P&gt;                lw_temp-f6&lt;/P&gt;&lt;P&gt;                lw_temp-f7&lt;/P&gt;&lt;P&gt;                lw_temp-f8&lt;/P&gt;&lt;P&gt;                lw_temp-f9&lt;/P&gt;&lt;P&gt;                lw_temp-f10&lt;/P&gt;&lt;P&gt;                lv_car_ret&lt;/P&gt;&lt;P&gt;          INTO lt_attachment-line&lt;/P&gt;&lt;P&gt;          SEPARATED BY lv_sep.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; lv_car_ret is used to enter a new line.&lt;/P&gt;&lt;P&gt;But problem is that the first column gets displaced by a number of characters even when in internal table there is no space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me in resolving the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Points for sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Dinesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2008 07:08:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-fm-so-document-send-api1/m-p/4880204#M1140646</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-18T07:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while using FM SO_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-fm-so-document-send-api1/m-p/4880205#M1140647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE lw_temp-f1&lt;/P&gt;&lt;P&gt;lw_temp-f2&lt;/P&gt;&lt;P&gt;lw_temp-f3&lt;/P&gt;&lt;P&gt;lw_temp-f4&lt;/P&gt;&lt;P&gt;lw_temp-f5&lt;/P&gt;&lt;P&gt;lw_temp-f6&lt;/P&gt;&lt;P&gt;lw_temp-f7&lt;/P&gt;&lt;P&gt;lw_temp-f8&lt;/P&gt;&lt;P&gt;lw_temp-f9&lt;/P&gt;&lt;P&gt;lw_temp-f10&lt;/P&gt;&lt;P&gt;INTO lt_attachment-line&lt;/P&gt;&lt;P&gt;SEPARATED BY lv_sep.&lt;/P&gt;&lt;P&gt;lt_attachment-line+254(1) = CL_ABAP_CHAR_UTILITIES=&amp;gt;CR_LF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2008 07:22:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-fm-so-document-send-api1/m-p/4880205#M1140647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-18T07:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while using FM SO_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-fm-so-document-send-api1/m-p/4880206#M1140648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks  a ton!!! A long standing problem has been resolved. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points awarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dinesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2008 08:07:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-using-fm-so-document-send-api1/m-p/4880206#M1140648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-18T08:07:08Z</dc:date>
    </item>
  </channel>
</rss>

