<?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: CL_DOCUMENT_BCS question? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-document-bcs-question/m-p/10305725#M1834248</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;in table TSOTD you can find the list of valid types. Maybe type EXT may solve your issue.&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;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Apr 2014 08:42:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-04-09T08:42:25Z</dc:date>
    <item>
      <title>CL_DOCUMENT_BCS question?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-document-bcs-question/m-p/10305723#M1834246</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 am sending a text based contents of an internal table as an attachment in email. My code is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA&amp;nbsp;&amp;nbsp; lo_document&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;TYPE &lt;SPAN class="L0S52"&gt;REF &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;cl_document_bcs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&amp;nbsp; lo_document&lt;SPAN class="L0S70"&gt;-&amp;gt;add_attachment&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_attachment_type &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'RAW'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_attachment_subject &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'attachment'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_att_content_text &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lt_attachment[] &lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting the output attachment in the email as attachment.RAW. Is there a way I can get rid of the ".RAW" extension? I need the attachment file without any extensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having a blank for attachment type outputs the file in binary file which is not of use to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in anticipation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 07:19:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-document-bcs-question/m-p/10305723#M1834246</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-09T07:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: CL_DOCUMENT_BCS question?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-document-bcs-question/m-p/10305724#M1834247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramprasad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attachment type is mandatory field in class method-CL_DOCUMENT_BCS~ADD_ATTACHMENT so you have to provide the attachment type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sudeesh Soni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 07:38:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-document-bcs-question/m-p/10305724#M1834247</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-09T07:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: CL_DOCUMENT_BCS question?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-document-bcs-question/m-p/10305725#M1834248</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;in table TSOTD you can find the list of valid types. Maybe type EXT may solve your issue.&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;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Apr 2014 08:42:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-document-bcs-question/m-p/10305725#M1834248</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-09T08:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: CL_DOCUMENT_BCS question?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-document-bcs-question/m-p/10305726#M1834249</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;I tried EXT. It does produce an attachment file without file extension, however, the file is a binary file. I need the file to be opened in a text editor and be able to see text. Other types in the table are of no use to me. Thanks for your suggestion anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 02:25:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-document-bcs-question/m-p/10305726#M1834249</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-10T02:25:29Z</dc:date>
    </item>
  </channel>
</rss>

