<?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 SO_NEW_DOCUMENT_ATT_SEND_API1 - xml in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614693#M275411</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi All,&lt;/P&gt;&lt;P&gt;kindly advise, i saw many posting on this function, but i cannot find the topic about "doc_type" ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to generated the attachment as XML, and sent out in an email.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*-Prepare OBJPACK for the ATTACHMENT1----&lt;/P&gt;&lt;HR originaltext="---------------" /&gt;&lt;P&gt;  DESCRIBE TABLE attachment1 LINES tab_lines.&lt;/P&gt;&lt;P&gt;  READ     TABLE attachment1 INDEX tab_lines.&lt;/P&gt;&lt;P&gt;  objpack-doc_size = ( tab_lines - 1 ) * 255 &lt;/P&gt;&lt;P&gt;                     + STRLEN( attachment1 ).&lt;/P&gt;&lt;P&gt;  CLEAR objpack-transf_bin.&lt;/P&gt;&lt;P&gt;  objpack-head_start = 1.&lt;/P&gt;&lt;P&gt;  objpack-head_num   = 0.&lt;/P&gt;&lt;P&gt;  objpack-body_start =  LINES( mailbody ) + 1 .&lt;/P&gt;&lt;P&gt;  objpack-body_num   = tab_lines.&lt;/P&gt;&lt;P&gt;  objpack-doc_type   = 'RAW'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; objpack-doc_type   = 'xml'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  objpack-obj_descr = "myfile".&lt;/P&gt;&lt;P&gt;  APPEND objpack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i use above codes, the attachment file name become "myfile.txt", but the file content is correct.&lt;/P&gt;&lt;P&gt;Each line there is linefeed, the length of each line varies with the content. Filesize is small.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i change it to:&lt;/P&gt;&lt;P&gt;  objpack-doc_type   = 'XML'.&lt;/P&gt;&lt;P&gt;the attachement file name become "myfile.XML".&lt;/P&gt;&lt;P&gt;But file content is wrong. There is not linefeed for each line. Line2 is immediately append after line1. Each line's length is 255. Filesize is huge, due to those excess spaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot send a "myfile.txt" to customer, asking him to change the extension back to ".xml".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Ee Siong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Oct 2006 06:43:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-03T06:43:23Z</dc:date>
    <item>
      <title>SO_NEW_DOCUMENT_ATT_SEND_API1 - xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614693#M275411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi All,&lt;/P&gt;&lt;P&gt;kindly advise, i saw many posting on this function, but i cannot find the topic about "doc_type" ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to generated the attachment as XML, and sent out in an email.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*-Prepare OBJPACK for the ATTACHMENT1----&lt;/P&gt;&lt;HR originaltext="---------------" /&gt;&lt;P&gt;  DESCRIBE TABLE attachment1 LINES tab_lines.&lt;/P&gt;&lt;P&gt;  READ     TABLE attachment1 INDEX tab_lines.&lt;/P&gt;&lt;P&gt;  objpack-doc_size = ( tab_lines - 1 ) * 255 &lt;/P&gt;&lt;P&gt;                     + STRLEN( attachment1 ).&lt;/P&gt;&lt;P&gt;  CLEAR objpack-transf_bin.&lt;/P&gt;&lt;P&gt;  objpack-head_start = 1.&lt;/P&gt;&lt;P&gt;  objpack-head_num   = 0.&lt;/P&gt;&lt;P&gt;  objpack-body_start =  LINES( mailbody ) + 1 .&lt;/P&gt;&lt;P&gt;  objpack-body_num   = tab_lines.&lt;/P&gt;&lt;P&gt;  objpack-doc_type   = 'RAW'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; objpack-doc_type   = 'xml'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  objpack-obj_descr = "myfile".&lt;/P&gt;&lt;P&gt;  APPEND objpack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i use above codes, the attachment file name become "myfile.txt", but the file content is correct.&lt;/P&gt;&lt;P&gt;Each line there is linefeed, the length of each line varies with the content. Filesize is small.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i change it to:&lt;/P&gt;&lt;P&gt;  objpack-doc_type   = 'XML'.&lt;/P&gt;&lt;P&gt;the attachement file name become "myfile.XML".&lt;/P&gt;&lt;P&gt;But file content is wrong. There is not linefeed for each line. Line2 is immediately append after line1. Each line's length is 255. Filesize is huge, due to those excess spaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot send a "myfile.txt" to customer, asking him to change the extension back to ".xml".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Ee Siong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 06:43:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614693#M275411</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-03T06:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: SO_NEW_DOCUMENT_ATT_SEND_API1 - xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614694#M275412</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 this function to convert to xml format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP_CONVERT_TO_XML_FORMAT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thenn  send it it using email FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if hlpe mark points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 06:49:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614694#M275412</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-10-03T06:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: SO_NEW_DOCUMENT_ATT_SEND_API1 - xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614695#M275413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;check this Forum link.&lt;/P&gt;&lt;P&gt;&amp;lt;a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/collaboration"&amp;gt;https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/collaboration&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 06:53:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614695#M275413</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2006-10-03T06:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: SO_NEW_DOCUMENT_ATT_SEND_API1 - xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614696#M275414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was hoping someone will tell me objpack-doc_type can continue to be 'RAW', with the filename ending with any extension that the programmer specified.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 07:01:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614696#M275414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-03T07:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: SO_NEW_DOCUMENT_ATT_SEND_API1 - xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614697#M275415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ee Siong,&lt;/P&gt;&lt;P&gt;     Check with the following Classes &lt;/P&gt;&lt;P&gt;CL_APL_ECATT_WDR_GEN_XML-Superclass for Generation of XML&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL_APL_ECATT_XML        -eCATT Basis iXML Wrapper Class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Hope this could help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prashanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 07:23:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614697#M275415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-03T07:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: SO_NEW_DOCUMENT_ATT_SEND_API1 - xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614698#M275416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you on WAS6.10 or above its quiet simple to manipulate the file extension and email with cl_bcs classes. let me know if you need help with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 08:11:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614698#M275416</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-10-03T08:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: SO_NEW_DOCUMENT_ATT_SEND_API1 - xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614699#M275417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Raja, i only know i m on ECC5.0, can i use the feature u mentioned ? how to do it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Ee Siong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 08:20:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614699#M275417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-03T08:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: SO_NEW_DOCUMENT_ATT_SEND_API1 - xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614700#M275418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes you can use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this thread for code sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1492930"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 08:26:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614700#M275418</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-10-03T08:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: SO_NEW_DOCUMENT_ATT_SEND_API1 - xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614701#M275419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Raja / everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry if i asked a silly questions, caused i try to follow this "/people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface to create the function, but it din compile correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i try to looking into the domains for something like ZES*, I cannot find any, does it mean my SAP installation/setup does not permit me to use cl_bcs to send emails ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 12:46:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614701#M275419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-03T12:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: SO_NEW_DOCUMENT_ATT_SEND_API1 - xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614702#M275420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ZES* are custom objects which the weblog author (Thomas Jung) had developed , for which he has given screen shots. for your scenario, you dont need to develope all of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be check my code samples using cl_bcs that may give you some idea.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5931ff64-0a01-0010-2bb7-ff2f9a6165a0" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5931ff64-0a01-0010-2bb7-ff2f9a6165a0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7f601a65-0a01-0010-16a5-c369f2a9fa87" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7f601a65-0a01-0010-16a5-c369f2a9fa87&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also check out the demo programs in the system&lt;/P&gt;&lt;P&gt;BCS_EXAMPLE_1 &lt;/P&gt;&lt;P&gt;BCS_EXAMPLE_2 &lt;/P&gt;&lt;P&gt;BCS_EXAMPLE_3 &lt;/P&gt;&lt;P&gt;BCS_EXAMPLE_4 &lt;/P&gt;&lt;P&gt;BCS_EXAMPLE_5 &lt;/P&gt;&lt;P&gt;BCS_EXAMPLE_6 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do let us know how it goes&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2006 12:53:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614702#M275420</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-10-03T12:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: SO_NEW_DOCUMENT_ATT_SEND_API1 - xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614703#M275421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Raja/Everyone, thanks for your replies.&lt;/P&gt;&lt;P&gt;Now i am able to send email thru: cl_bcs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my problem is exactly that same as i started.&lt;/P&gt;&lt;P&gt;I attached 3 files to the mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*attachment1&lt;/P&gt;&lt;P&gt;  REFRESH mailbody.&lt;/P&gt;&lt;P&gt;  CONCATENATE lf 'my att1 line 1' INTO mailbody_wa-line.&lt;/P&gt;&lt;P&gt;  APPEND mailbody_wa TO mailbody.&lt;/P&gt;&lt;P&gt;  CONCATENATE lf 'my att1 line 2' INTO mailbody_wa-line.&lt;/P&gt;&lt;P&gt;  APPEND mailbody_wa TO mailbody.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  documents-type = 'RAW'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;  documents-content_text = mailbody.&lt;/P&gt;&lt;P&gt;  documents-subject  = 'my att1.xml'.&lt;/P&gt;&lt;P&gt;  APPEND documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*attachment2&lt;/P&gt;&lt;P&gt;  REFRESH mailbody.&lt;/P&gt;&lt;P&gt;  CONCATENATE lf 'my att2 line 1' INTO mailbody_wa-line.&lt;/P&gt;&lt;P&gt;  APPEND mailbody_wa TO mailbody.&lt;/P&gt;&lt;P&gt;  CONCATENATE lf 'my att2 line 2' INTO mailbody_wa-line.&lt;/P&gt;&lt;P&gt;  APPEND mailbody_wa TO mailbody.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  documents-type = 'TXT'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;  documents-content_text = mailbody.&lt;/P&gt;&lt;P&gt;  documents-subject  = 'my att2.xml'.&lt;/P&gt;&lt;P&gt;  APPEND documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*attachment3&lt;/P&gt;&lt;P&gt;  REFRESH mailbody.&lt;/P&gt;&lt;P&gt;  CONCATENATE lf 'my att3 line 1' INTO mailbody_wa-line.&lt;/P&gt;&lt;P&gt;  APPEND mailbody_wa TO mailbody.&lt;/P&gt;&lt;P&gt;  CONCATENATE lf 'my att3 line 2' INTO mailbody_wa-line.&lt;/P&gt;&lt;P&gt;  APPEND mailbody_wa TO mailbody.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  documents-type = 'XML'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;  documents-content_text = mailbody.&lt;/P&gt;&lt;P&gt;  documents-subject  = 'my att3.xml'.&lt;/P&gt;&lt;P&gt;  APPEND documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;    CALL METHOD document-&amp;gt;add_attachment&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_attachment_type    = documents_line-type&lt;/P&gt;&lt;P&gt;      i_attachment_subject = documents_line-subject&lt;/P&gt;&lt;P&gt;      i_att_content_text   = documents_line-content_text.&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;resulted mail attachments:&lt;/P&gt;&lt;P&gt;RAW = "my att1.xml.TXT" - no extra space at each line, filesize small.&lt;/P&gt;&lt;P&gt;TXT = "my att2.xml.TXT" - each line exactly 255 chars, filesize big.&lt;/P&gt;&lt;P&gt;file3 = "my att2.xml.XML" - each line exactly 255 chars, filesize big.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems very difficult to send out ".xml" file as attachment. Only can send out ".txt" file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Can you advise pls ?&lt;/P&gt;&lt;P&gt;May i know where to find documentation on possible values for i_attachment_type ?&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Ee Siong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Oct 2006 06:15:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614703#M275421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-08T06:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: SO_NEW_DOCUMENT_ATT_SEND_API1 - xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614704#M275422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;attachment type is simply various file externsions.&lt;/P&gt;&lt;P&gt;.doc, .xls, .rtf, .xml, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you post your code here i can correct it and post it back here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(just post the xml part alone,  (how you are getting the xml and how you are passing the same as attachment to mail)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Oct 2006 09:17:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614704#M275422</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-10-08T09:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: SO_NEW_DOCUMENT_ATT_SEND_API1 - xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614705#M275423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  lf = cl_abap_char_utilities=&amp;gt;cr_lf.&lt;/P&gt;&lt;P&gt;  REFRESH mailbody.&lt;/P&gt;&lt;P&gt;  CONCATENATE lf '&amp;lt;?xml version="1.0"?&amp;gt;' INTO mailbody_wa-line.&lt;/P&gt;&lt;P&gt;  APPEND mailbody_wa TO mailbody.&lt;/P&gt;&lt;P&gt;  CONCATENATE lf '&amp;lt;XOEINSUR_04OCT2006&amp;gt;'  INTO mailbody_wa-line.&lt;/P&gt;&lt;P&gt;  APPEND mailbody_wa TO mailbody.&lt;/P&gt;&lt;P&gt;  CONCATENATE lf '&amp;lt;order&amp;gt;'               INTO mailbody_wa-line.&lt;/P&gt;&lt;P&gt;  APPEND mailbody_wa TO mailbody.&lt;/P&gt;&lt;P&gt;  CONCATENATE lf '&amp;lt;item1&amp;gt;apple&amp;lt;/item1&amp;gt;'  INTO mailbody_wa-line.&lt;/P&gt;&lt;P&gt;  APPEND mailbody_wa TO mailbody.&lt;/P&gt;&lt;P&gt;  CONCATENATE lf '&amp;lt;qty&amp;gt;10&amp;lt;/qty&amp;gt;'         INTO mailbody_wa-line.&lt;/P&gt;&lt;P&gt;  APPEND mailbody_wa TO mailbody.&lt;/P&gt;&lt;P&gt;  CONCATENATE lf '&amp;lt;/order&amp;gt;'              INTO mailbody_wa-line.&lt;/P&gt;&lt;P&gt;  APPEND mailbody_wa TO mailbody.&lt;/P&gt;&lt;P&gt;  CONCATENATE lf '&amp;lt;order&amp;gt;'               INTO mailbody_wa-line.&lt;/P&gt;&lt;P&gt;  APPEND mailbody_wa TO mailbody.&lt;/P&gt;&lt;P&gt;  CONCATENATE lf '&amp;lt;item1&amp;gt;orange&amp;lt;/item1&amp;gt;' INTO mailbody_wa-line.&lt;/P&gt;&lt;P&gt;  APPEND mailbody_wa TO mailbody.&lt;/P&gt;&lt;P&gt;  CONCATENATE lf '&amp;lt;qty&amp;gt;20&amp;lt;/qty&amp;gt;'         INTO mailbody_wa-line.&lt;/P&gt;&lt;P&gt;  APPEND mailbody_wa TO mailbody.&lt;/P&gt;&lt;P&gt;  CONCATENATE lf '&amp;lt;/order&amp;gt;'              INTO mailbody_wa-line.&lt;/P&gt;&lt;P&gt;  APPEND mailbody_wa TO mailbody.&lt;/P&gt;&lt;P&gt;  CONCATENATE lf '&amp;lt;/XOEINSUR_04OCT2006&amp;gt;' INTO mailbody_wa-line.&lt;/P&gt;&lt;P&gt;  APPEND mailbody_wa TO mailbody.&lt;/P&gt;&lt;P&gt;  documents-type = 'XML'.&lt;/P&gt;&lt;P&gt;  documents-content_text = mailbody.&lt;/P&gt;&lt;P&gt;  documents-subject  = 'my att5'.&lt;/P&gt;&lt;P&gt;  APPEND documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT documents INTO documents_line.&lt;/P&gt;&lt;P&gt;  document = cl_document_bcs=&amp;gt;create_document(&lt;/P&gt;&lt;P&gt;    i_type    = documents_line-type&lt;/P&gt;&lt;P&gt;    i_text    = documents_line-content_text&lt;/P&gt;&lt;P&gt;    i_subject = documents_line-subject ).&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Ee Siong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Oct 2006 09:47:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614705#M275423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-08T09:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: SO_NEW_DOCUMENT_ATT_SEND_API1 - xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614706#M275424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just create a report program and copy paste the following code and change the sender and receiver email address. save/activate and run the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Report  Y_TEST_XML_ATT
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*

REPORT  y_test_xml_att.
DATA: xml_string TYPE string .
DATA: send_request       TYPE REF TO cl_bcs.
DATA: text               TYPE bcsy_text ,
      text1              TYPE bcsy_text .
DATA: xtext TYPE STANDARD TABLE OF solix .
DATA: document           TYPE REF TO cl_document_bcs.
DATA: sender             TYPE REF TO if_sender_bcs.
DATA: recipient          TYPE REF TO if_recipient_bcs.
DATA: bcs_exception      TYPE REF TO cx_bcs.
DATA: sent_to_all        TYPE os_boolean.
DATA: conlength TYPE i ,
      conlengths TYPE so_obj_len ,
      result_content TYPE string .
*      subject TYPE so_obj_des .
DATA: e_r_page TYPE REF TO cl_rsr_www_page.
DATA: content_length	TYPE	w3param-cont_len ,
      content_type	TYPE	w3param-cont_type,
      return_code	TYPE	w3param-ret_code .

DATA: html TYPE STANDARD TABLE OF w3html .
DATA: server TYPE string ,
      port TYPE string .
DATA: wa_rec TYPE ad_smtpadr .
DATA: bcs_message TYPE string .
DATA: binary_content     TYPE solix_tab.
DATA: xl_content TYPE xstring .
DATA: atta_sub TYPE sood-objdes .


CLEAR xml_string .


CONCATENATE '&amp;lt;?xml version="1.0"?&amp;gt;'  '&amp;lt;XOEINSUR_04OCT2006&amp;gt;' '&amp;lt;order&amp;gt;' '&amp;lt;item1&amp;gt;apple&amp;lt;/item1&amp;gt;' '&amp;lt;qty&amp;gt;10&amp;lt;/qty&amp;gt;' '&amp;lt;/order&amp;gt;' '&amp;lt;order&amp;gt;'  '&amp;lt;item1&amp;gt;orange&amp;lt;/item1&amp;gt;'
 '&amp;lt;qty&amp;gt;20&amp;lt;/qty&amp;gt;' '&amp;lt;/order&amp;gt;' '&amp;lt;/XOEINSUR_04OCT2006&amp;gt;' INTO xml_string .

CALL FUNCTION 'SCMS_STRING_TO_FTEXT'
  EXPORTING
    text      = xml_string
  TABLES
    ftext_tab = text.

TRY.
    CLEAR send_request .

    send_request = cl_bcs=&amp;gt;create_persistent( ).

    CLEAR document .
    APPEND 'Test' TO text1 .
    document = cl_document_bcs=&amp;gt;create_document(
                    i_type    = 'HTM'
                    i_text    = text1
                    i_subject = 'Test' ).

    atta_sub = 'myxmlfile' .
    CALL METHOD document-&amp;gt;add_attachment
      EXPORTING
        i_attachment_type    = 'xml'
        i_attachment_subject = atta_sub
        i_att_content_text   = text.

*     add document to send request
    CALL METHOD send_request-&amp;gt;set_document( document ).

    CLEAR sender .
    sender = cl_cam_address_bcs=&amp;gt;create_internet_address( 'xxxx@yahoo.com' ).
    CALL METHOD send_request-&amp;gt;set_sender
      EXPORTING
        i_sender = sender.

    recipient = cl_cam_address_bcs=&amp;gt;create_internet_address( 'yyyy@yahoo.com' ).

*     add recipient with its respective attributes to send request
    CALL METHOD send_request-&amp;gt;add_recipient
      EXPORTING
        i_recipient = recipient
        i_express   = 'X'.
    CALL METHOD send_request-&amp;gt;set_status_attributes
      EXPORTING
        i_requested_status = 'E'
        i_status_mail      = 'E'.

    CALL METHOD send_request-&amp;gt;set_send_immediately( 'X' ).
*     ---------- send document ---------------------------------------
    CALL METHOD send_request-&amp;gt;send(
      EXPORTING
        i_with_error_screen = 'X'
      RECEIVING
        result              = sent_to_all ).
    IF sent_to_all = 'X'.
      write:/  'Mail sent successfully '.
    ENDIF.

    COMMIT WORK.

  CATCH cx_bcs INTO bcs_exception.
    bcs_message = bcs_exception-&amp;gt;get_text( ).
    write:/ bcs_message .
    EXIT.

ENDTRY.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do let me know how it goes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Oct 2006 10:14:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614706#M275424</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-10-08T10:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: SO_NEW_DOCUMENT_ATT_SEND_API1 - xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614707#M275425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Raja,&lt;/P&gt;&lt;P&gt;I created a new program using the exact codes.&lt;/P&gt;&lt;P&gt;the xml file produced, when view in notpad:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt; ? x m l   v e r s i o n = " 1 . 0 " ? &amp;gt; &amp;lt; X O E I N S U R _ 0 4 O C T 2 0 0 6 &amp;gt; &amp;lt; o r d e r &amp;gt; &amp;lt; i t e m 1 &amp;gt; a p p l e &amp;lt; / i t e m 1 &amp;gt; &amp;lt; q t y &amp;gt; 1 0 &amp;lt; / q t &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Ee Siong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Oct 2006 11:07:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614707#M275425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-08T11:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: SO_NEW_DOCUMENT_ATT_SEND_API1 - xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614708#M275426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why do you want to view that in notepad? if you view the xml in internet explorer, you will see the exact hierarchy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are still interested in viewing in notedpad with the line breaks, like in your code add cl_abap_char_utilities=&amp;gt;cr_lf between the elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Oct 2006 11:11:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614708#M275426</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-10-08T11:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: SO_NEW_DOCUMENT_ATT_SEND_API1 - xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614709#M275427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Raja, the file cannot be opened with IE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The whole file only contain these:&lt;/P&gt;&lt;P&gt; &amp;lt; ? x m l   v e r s i o n = " 1 . 0 " ? &amp;gt; &amp;lt; X O E I N S U R _ 0 4 O C T 2 0 0 6 &amp;gt; &amp;lt; o r d e r &amp;gt; &amp;lt; i t e m 1 &amp;gt; a p p l e &amp;lt; / i t e m 1 &amp;gt; &amp;lt; q t y &amp;gt; 1 0 &amp;lt; / q t &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Ee Siong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Oct 2006 11:21:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614709#M275427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-08T11:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: SO_NEW_DOCUMENT_ATT_SEND_API1 - xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614710#M275428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you change anything in the code i have posted, i have tested the code before posting and it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after concatenation can you check whether the variable xml_string contains the whole xml?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Oct 2006 11:25:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614710#M275428</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-10-08T11:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: SO_NEW_DOCUMENT_ATT_SEND_API1 - xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614711#M275429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance. I used below code to output the variables to screen, the concatenation seems ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;text2  TYPE bcsy_text with header line.&lt;/P&gt;&lt;P&gt;text2[] = text[].&lt;/P&gt;&lt;P&gt;WRITE:/  xml_string .&lt;/P&gt;&lt;P&gt;loop at text2.&lt;/P&gt;&lt;P&gt;  WRITE:/  text2-line .&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0"?&amp;gt;&amp;lt;XOEINSUR_04OCT2006&amp;gt;&amp;lt;order&amp;gt;&amp;lt;item1&amp;gt;apple&amp;lt;/item1&amp;gt;&amp;lt;qty&amp;gt;10&amp;lt;/qty&amp;gt;&amp;lt;/order&amp;gt;&amp;lt;order&amp;gt;&amp;lt;item1&amp;gt;orange&amp;lt;/item1&amp;gt;&amp;lt;qty&amp;gt;20&amp;lt;/qty&amp;gt;&amp;lt;/order&amp;gt;&amp;lt;/XOEINSUR_04OCT2006&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0"?&amp;gt;&amp;lt;XOEINSUR_04OCT2006&amp;gt;&amp;lt;order&amp;gt;&amp;lt;item1&amp;gt;apple&amp;lt;/item1&amp;gt;&amp;lt;qty&amp;gt;10&amp;lt;/qty&amp;gt;&amp;lt;/order&amp;gt;&amp;lt;order&amp;gt;&amp;lt;item1&amp;gt;orange&amp;lt;/item1&amp;gt;&amp;lt;qty&amp;gt;20&amp;lt;/qty&amp;gt;&amp;lt;/order&amp;gt;&amp;lt;/XOEINSUR_04OCT2006&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But mail attachment received:&lt;/P&gt;&lt;P&gt; &amp;lt; ? x m l   v e r s i o n = " 1 . 0 " ? &amp;gt; &amp;lt; X O E I N S U R _ 0 4 O C T 2 0 0 6 &amp;gt; &amp;lt; o r d e r &amp;gt; &amp;lt; i t e m 1 &amp;gt; a p p l e &amp;lt; / i t e m 1 &amp;gt; &amp;lt; q t y &amp;gt; 1 0 &amp;lt; / q t &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even in SCOT, in overview of send orders, when i export the attachment, the file is also truncated as above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ee siong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Oct 2006 11:48:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614711#M275429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-08T11:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: SO_NEW_DOCUMENT_ATT_SEND_API1 - xml</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614712#M275430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you just copy paste my code or made some modifications?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;generally the kind of error which you are experiencing will happen if you passed a wrong values to I_ATTACHMENT_SIZE parameter of add attachment method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also check the itab (after converting the string to table) whether its ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Oct 2006 11:53:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-new-document-att-send-api1-xml/m-p/1614712#M275430</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-10-08T11:53:05Z</dc:date>
    </item>
  </channel>
</rss>

