<?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: LineFeed Conversion in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/linefeed-conversion/m-p/6303555#M1391507</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; I have a requirement to read the Mail body as soon it comes into SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you just want to read it.... why do you need to split. I think, when the mail comes into SAP the mail content will be in internal table.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table is type of SOLI where you have only field which is line. The other one you see is not from the table but it is SAP internal. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can read it. If you want to alter it you would have to copy it into internal table. (not sure even if it works).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; For that I have set up the exits in SO50 and its working fine.&lt;/P&gt;&lt;P&gt;&amp;gt; When I look at the mail content , I see that the Mail lines are separated with #.&lt;/P&gt;&lt;P&gt;&amp;gt; When I am trying to split at # , the character is not recognised in SAP.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to find some function modules for read text or similar to this. You may have to pass internal table into the FM.... Also check for any convertion function modules&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Oct 2009 20:03:08 GMT</pubDate>
    <dc:creator>former_member191735</dc:creator>
    <dc:date>2009-10-28T20:03:08Z</dc:date>
    <item>
      <title>LineFeed Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/linefeed-conversion/m-p/6303553#M1391505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to read the Mail body as soon it comes into SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For that I have set up the exits in SO50 and its working fine.&lt;/P&gt;&lt;P&gt;When I look at the mail content , I see that the Mail lines are separated with #.&lt;/P&gt;&lt;P&gt;When I am trying to split at # , the character is not recognised in SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone tell me how can recognise the Linefeeds from the mail body so that I split the data&lt;/P&gt;&lt;P&gt;accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sneha Sing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 19:32:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/linefeed-conversion/m-p/6303553#M1391505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-28T19:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: LineFeed Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/linefeed-conversion/m-p/6303554#M1391506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try splitting at cl_abap_char_utilities=&amp;gt;horizontal_tab. or vertical_tab or CR_LF (for line feed) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like &lt;/P&gt;&lt;P&gt;split x1 at cl_abap_char_utilities=&amp;gt;CR_LF into ab cd ef. try other attributes(hor tab, vrt tab as well)..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/79/c554d9b3dc11d5993800508b6b8b11/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/79/c554d9b3dc11d5993800508b6b8b11/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Soumyaprakash Mishra on Oct 29, 2009 1:29 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 19:57:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/linefeed-conversion/m-p/6303554#M1391506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-28T19:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: LineFeed Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/linefeed-conversion/m-p/6303555#M1391507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; I have a requirement to read the Mail body as soon it comes into SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you just want to read it.... why do you need to split. I think, when the mail comes into SAP the mail content will be in internal table.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table is type of SOLI where you have only field which is line. The other one you see is not from the table but it is SAP internal. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can read it. If you want to alter it you would have to copy it into internal table. (not sure even if it works).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; For that I have set up the exits in SO50 and its working fine.&lt;/P&gt;&lt;P&gt;&amp;gt; When I look at the mail content , I see that the Mail lines are separated with #.&lt;/P&gt;&lt;P&gt;&amp;gt; When I am trying to split at # , the character is not recognised in SAP.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to find some function modules for read text or similar to this. You may have to pass internal table into the FM.... Also check for any convertion function modules&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 20:03:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/linefeed-conversion/m-p/6303555#M1391507</guid>
      <dc:creator>former_member191735</dc:creator>
      <dc:date>2009-10-28T20:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: LineFeed Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/linefeed-conversion/m-p/6303556#M1391508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am already reading it from SOLI.&lt;/P&gt;&lt;P&gt;I am looking to split the line at the Linefeed because the mail contains valid data.&lt;/P&gt;&lt;P&gt;I need to do some actions based on the data from the mail.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 20:12:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/linefeed-conversion/m-p/6303556#M1391508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-28T20:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: LineFeed Conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/linefeed-conversion/m-p/6303557#M1391509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;declare a constant like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: lv_feed type c value cl_abap_char_utilities=&amp;gt;CR_LF.

now use:
do.
split &amp;lt;your email text &amp;gt; into line1 &amp;lt;your email text &amp;gt;
 if sy-subrc ne 0.
exit.
endif.
 append table.
enddo.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 20:34:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/linefeed-conversion/m-p/6303557#M1391509</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-10-28T20:34:49Z</dc:date>
    </item>
  </channel>
</rss>

