<?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_OBJECT_READ : wrong line breaks in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-object-read-wrong-line-breaks/m-p/11880988#M1960655</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using the function module SO_OBJECT_READ to read a certain text that we want to send by email.&amp;nbsp; The table OBJCONT that is created by this function, contains the document text, split up in strings with length 255. (type table of SOLI).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. It is possible that a new text line is created, in the middle of a word, e.g. conference.&amp;nbsp; One line in the table OBJCONT ends with 'conf' and the next line starts with 'erence'.&lt;/P&gt;&lt;P&gt;2. Another possibility is that the text is split up between two words, e.g. this conference.&amp;nbsp; One line in the table OBJCONT ends with 'this' and the next line start with 'conference'.&amp;nbsp; The blank between 'this' and 'conference' is omitted in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, when we want to rebuild the full text string by concatenating all different table lines of OBJCONT, we cannot know if we have to concatenate, separated by space of not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we use 'separated by space', we get in situation 1 : 'conf erence' and in situation 2 : 'this conference'.&lt;/P&gt;&lt;P&gt;If we use no separation during the concatenation, we get in situation 1 : 'conference' and in situation 2 : 'thisconference'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone found the same problem, using SO_OBJECT_READ, or are we doing something wrong.&lt;/P&gt;&lt;P&gt;If this really is a problem, do you have another function module that you use, or some work around ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Koen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Sep 2016 13:48:44 GMT</pubDate>
    <dc:creator>koen_boutsen</dc:creator>
    <dc:date>2016-09-27T13:48:44Z</dc:date>
    <item>
      <title>SO_OBJECT_READ : wrong line breaks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-object-read-wrong-line-breaks/m-p/11880988#M1960655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using the function module SO_OBJECT_READ to read a certain text that we want to send by email.&amp;nbsp; The table OBJCONT that is created by this function, contains the document text, split up in strings with length 255. (type table of SOLI).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. It is possible that a new text line is created, in the middle of a word, e.g. conference.&amp;nbsp; One line in the table OBJCONT ends with 'conf' and the next line starts with 'erence'.&lt;/P&gt;&lt;P&gt;2. Another possibility is that the text is split up between two words, e.g. this conference.&amp;nbsp; One line in the table OBJCONT ends with 'this' and the next line start with 'conference'.&amp;nbsp; The blank between 'this' and 'conference' is omitted in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, when we want to rebuild the full text string by concatenating all different table lines of OBJCONT, we cannot know if we have to concatenate, separated by space of not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we use 'separated by space', we get in situation 1 : 'conf erence' and in situation 2 : 'this conference'.&lt;/P&gt;&lt;P&gt;If we use no separation during the concatenation, we get in situation 1 : 'conference' and in situation 2 : 'thisconference'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone found the same problem, using SO_OBJECT_READ, or are we doing something wrong.&lt;/P&gt;&lt;P&gt;If this really is a problem, do you have another function module that you use, or some work around ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Koen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 13:48:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-object-read-wrong-line-breaks/m-p/11880988#M1960655</guid>
      <dc:creator>koen_boutsen</dc:creator>
      <dc:date>2016-09-27T13:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: SO_OBJECT_READ : wrong line breaks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/so-object-read-wrong-line-breaks/m-p/11880989#M1960656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try FM SO_RAW_TO_RTF.&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>Wed, 28 Sep 2016 08:44:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/so-object-read-wrong-line-breaks/m-p/11880989#M1960656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-09-28T08:44:16Z</dc:date>
    </item>
  </channel>
</rss>

