<?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: Problem with TXT attach in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-txt-attach/m-p/1592479#M266372</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the problem is the characters that Im concatenating or something like that. I had to do the same with an Excel file and this characters work good. Im really lost with this PLZ if anyones has an idea write it here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Oct 2006 13:17:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-18T13:17:48Z</dc:date>
    <item>
      <title>Problem with TXT attach</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-txt-attach/m-p/1592474#M266367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello people, &lt;/P&gt;&lt;P&gt;I have to send an e-mail with an attach. The file is generated in the program.&lt;/P&gt;&lt;P&gt;Im using the function "SO_NEW_DOCUMENT_ATT_SEND_API1" &lt;/P&gt;&lt;P&gt;On the contents_bin im concatenating cl_abap_char_utilities=&amp;gt;horizontal_tab on differents fields AND cl_abap_char_utilities=&amp;gt;cr_lf at the end of the line to jump for the next one. THE PROBLEM IS: the first character works good, but the second don´t, this character appears at the end of the line "&amp;amp;#9633;". I read in the forum that i can use a type X but i cant concatenate it. I use cl_abap_char_utilities=&amp;gt;newline too but the same happend.&lt;/P&gt;&lt;P&gt;I dont know what to do...i test evrithing and nothing work up. Any ideas??? &lt;/P&gt;&lt;P&gt;Thank you!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gustavo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Sorry my english, Im from Argentine =P&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 20:39:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-txt-attach/m-p/1592474#M266367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T20:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with TXT attach</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-txt-attach/m-p/1592475#M266368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gustavo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;Is your application server on which the program will run a Windows based server or a Unix/Linux based server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect the last one (Unix/Linux based).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, do NOT concatenate cl_abap_char_utilities=&amp;gt;cr_lf but use cl_abap_char_utilities=&amp;gt;newline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So use cl_abap_char_utilities=&amp;gt;cr_lf on a Windows based platform.&lt;/P&gt;&lt;P&gt;And use cl_abap_char_utilities=&amp;gt;newline on a Unix/Linux based platform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a Unix/Linux system a Carriage Return + Line Feed (CR+LF) only is a Carriage Return character. A TEXT file created on Unix/Linux that is migrated to Windows platform needs conversion (with an FTP tool this is done by setting the MODE to ASCII). The other way around works the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you out a bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rob.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 21:08:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-txt-attach/m-p/1592475#M266368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T21:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with TXT attach</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-txt-attach/m-p/1592476#M266369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mmmmm he server is in Unix yes but...the table is generated in the program, i mean its not an existing file on server. In the program i do a few selects and another stuff and I finally get a innternal table "it_download". Then, I concatenate that fileds with the characters into another iinternal table "it_attach" and thats the table that i send on contents_bin.&lt;/P&gt;&lt;P&gt;Anyway, I tried with cr_lf and with newline and both didnt work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your time =D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 21:16:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-txt-attach/m-p/1592476#M266369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T21:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with TXT attach</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-txt-attach/m-p/1592477#M266370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gustavo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry it was not of much help.&lt;/P&gt;&lt;P&gt;Did you try to add the internal table to the CONTENTS_TXT table instead of CONTENTS_BIN? Since it is a textfile you're trying to attach to the mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rob.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2006 21:40:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-txt-attach/m-p/1592477#M266370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-17T21:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with TXT attach</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-txt-attach/m-p/1592478#M266371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes but CONTENTS_TXT is the table who has the body of the e-mail, the table for the attach is CONTENTS_BIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 12:44:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-txt-attach/m-p/1592478#M266371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T12:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with TXT attach</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-txt-attach/m-p/1592479#M266372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the problem is the characters that Im concatenating or something like that. I had to do the same with an Excel file and this characters work good. Im really lost with this PLZ if anyones has an idea write it here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 13:17:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-txt-attach/m-p/1592479#M266372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T13:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with TXT attach</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-txt-attach/m-p/1592480#M266373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im looking at the class CL_ABAP_CHAR_UTILITIES &lt;/P&gt;&lt;P&gt;It has this attributes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BYTE_ORDER_MARK_LITTLE&lt;/P&gt;&lt;P&gt;BYTE_ORDER_MARK_BIG&lt;/P&gt;&lt;P&gt;BYTE_ORDER_MARK_UTF8&lt;/P&gt;&lt;P&gt;CHARSIZE&lt;/P&gt;&lt;P&gt;ENDIAN&lt;/P&gt;&lt;P&gt;MINCHAR&lt;/P&gt;&lt;P&gt;MAXCHAR&lt;/P&gt;&lt;P&gt;HORIZONTAL_TAB&lt;/P&gt;&lt;P&gt;VERTICAL_TAB&lt;/P&gt;&lt;P&gt;NEWLINE           Didnt work&lt;/P&gt;&lt;P&gt;CR_LF             Didnt work&lt;/P&gt;&lt;P&gt;FORM_FEED&lt;/P&gt;&lt;P&gt;BACKSPACE&lt;/P&gt;&lt;P&gt;SPACE_STR&lt;/P&gt;&lt;P&gt;SPACE_STR_LANGU&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone of these can help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 17:14:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-txt-attach/m-p/1592480#M266373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T17:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with TXT attach</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-txt-attach/m-p/1592481#M266374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well people, im not really sure what happend. Today I run again the program, and the txt file it was fine!&lt;/P&gt;&lt;P&gt;I test it 20 times more and it was rigth in all the test. &lt;/P&gt;&lt;P&gt;I dont know what happen...but now the programs works good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 21:07:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-txt-attach/m-p/1592481#M266374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T21:07:20Z</dc:date>
    </item>
  </channel>
</rss>

