<?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 Issues with emailing HTML attachment. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issues-with-emailing-html-attachment/m-p/768854#M38023</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;We are having few issues here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. &lt;/P&gt;&lt;P&gt;HTML files (actualy any type of files) created OK on a UNIX Application-server, but when we try to read them(into an Internal-table) we get them with out the line-breaks which cause 1 record of the Internal-table to hold X amount of lines or part of them (according to number of charcters in line/record).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. &lt;/P&gt;&lt;P&gt;I tried to fix it by looping through the Internal-table and re-shaped it so each record will contain 1 line of the HTML file, but when I send it as attachment (using "SO_NEW_DOCUMENT_ATT_SEND_API1") it is messed up and looses the line-breaks again (so if you watch it through editor you see 1 gigantic line containing all lines).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;P&gt;ayal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Sep 2004 10:40:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2004-09-13T10:40:30Z</dc:date>
    <item>
      <title>Issues with emailing HTML attachment.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issues-with-emailing-html-attachment/m-p/768854#M38023</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;We are having few issues here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. &lt;/P&gt;&lt;P&gt;HTML files (actualy any type of files) created OK on a UNIX Application-server, but when we try to read them(into an Internal-table) we get them with out the line-breaks which cause 1 record of the Internal-table to hold X amount of lines or part of them (according to number of charcters in line/record).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. &lt;/P&gt;&lt;P&gt;I tried to fix it by looping through the Internal-table and re-shaped it so each record will contain 1 line of the HTML file, but when I send it as attachment (using "SO_NEW_DOCUMENT_ATT_SEND_API1") it is messed up and looses the line-breaks again (so if you watch it through editor you see 1 gigantic line containing all lines).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;P&gt;ayal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Sep 2004 10:40:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issues-with-emailing-html-attachment/m-p/768854#M38023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-09-13T10:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with emailing HTML attachment.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issues-with-emailing-html-attachment/m-p/768855#M38024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ayal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using "OPEN DATASET dsn IN TEXT MODE"? By default, the file is opened "IN BINARY MODE". In this case the lines are read as one long stream. When you use "IN TEXT MODE" the file is read line by line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Sep 2004 16:35:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issues-with-emailing-html-attachment/m-p/768855#M38024</guid>
      <dc:creator>gabriel_pill-kahan</dc:creator>
      <dc:date>2004-09-13T16:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with emailing HTML attachment.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issues-with-emailing-html-attachment/m-p/768856#M38025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try using GUI_UPLOAD?  You should use this for files on your local machine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pranav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Sep 2004 20:41:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issues-with-emailing-html-attachment/m-p/768856#M38025</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-09-13T20:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with emailing HTML attachment.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issues-with-emailing-html-attachment/m-p/768857#M38026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all,&lt;/P&gt;&lt;P&gt;I think I had this problem already. You should take the binary content option and concatenate your ASCII line content with the hex '0D0A' for the line break. Then it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Horst&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Sep 2004 15:03:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issues-with-emailing-html-attachment/m-p/768857#M38026</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-09-18T15:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with emailing HTML attachment.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issues-with-emailing-html-attachment/m-p/768858#M38027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I solved it with SAP OSS help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is function ("SO_RAW_TO_RTF") that adds a line-break at the end of each line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I do is I read the file into an internal-table and than send this internal-table to this function which fix it for me and everything is OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enjoy&lt;/P&gt;&lt;P&gt;ayal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2005 06:09:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issues-with-emailing-html-attachment/m-p/768858#M38027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-11T06:09:03Z</dc:date>
    </item>
  </channel>
</rss>

