<?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: Error while attaching the document using Method add_attachment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-attaching-the-document-using-method-add-attachment/m-p/8315892#M1636876</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;Please code as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: binary_content type solix_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD Document-&amp;gt;add_attachment EXPORTING i_attachment_type = u2018PDFu2019&lt;/P&gt;&lt;P&gt;i_attachment_subject = u2018My attachmentu2019 i_att_content_hex =&lt;/P&gt;&lt;P&gt;binary_content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;chitra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Nov 2011 09:09:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-11-15T09:09:56Z</dc:date>
    <item>
      <title>Error while attaching the document using Method add_attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-attaching-the-document-using-method-add-attachment/m-p/8315891#M1636875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are getting an error while using the BCS Class Method for attaching the documents to the mail. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using method:  add_attachment()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this I am passing the parameters: &lt;/P&gt;&lt;P&gt;attachment_type: PDF&lt;/P&gt;&lt;P&gt;attachment_subject: XXXXXXX&lt;/P&gt;&lt;P&gt;att_content_hex: content_hex[]  "Internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The system is throwing error message X_ERROR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Friends please help me in how to rectify the error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;Pradeep Goli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 07:19:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-attaching-the-document-using-method-add-attachment/m-p/8315891#M1636875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-15T07:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error while attaching the document using Method add_attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-attaching-the-document-using-method-add-attachment/m-p/8315892#M1636876</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;Please code as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: binary_content type solix_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD Document-&amp;gt;add_attachment EXPORTING i_attachment_type = u2018PDFu2019&lt;/P&gt;&lt;P&gt;i_attachment_subject = u2018My attachmentu2019 i_att_content_hex =&lt;/P&gt;&lt;P&gt;binary_content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;chitra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 09:09:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-attaching-the-document-using-method-add-attachment/m-p/8315892#M1636876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-15T09:09:56Z</dc:date>
    </item>
  </channel>
</rss>

