<?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: Convert SAPScript text linse to normal stream text format in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-sapscript-text-linse-to-normal-stream-text-format/m-p/6964615#M1490332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this read_text method may help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=79888699" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=79888699&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Orhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jun 2010 08:14:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-01T08:14:03Z</dc:date>
    <item>
      <title>Convert SAPScript text linse to normal stream text format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-sapscript-text-linse-to-normal-stream-text-format/m-p/6964614#M1490331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a custom popup FM that displays text lines from a file provided by SAPScript text format.. (after u2018call function u2018READ_TEXTu2019).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, for example, the Tab indent markers in this text u2013 represented by two commas u2018,,u2019 are printing  instead of spaces representing the indent in our popup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are searching a FM that takes the SAPScript text format and converts it to plain text format (before our Z_popup is called) where the Tab markers are replaced by spaces (in our case this is four spaces for each Tab mark).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have already tried FMu2019s: CONVERT_text; CONVERT_ITF_TO_STREAM_TEXT; CONVERT_ITF_TO_STREAM_TEXT. But none of them seem to fulfill the requirements stated above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please advice?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 07:57:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-sapscript-text-linse-to-normal-stream-text-format/m-p/6964614#M1490331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-01T07:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Convert SAPScript text linse to normal stream text format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-sapscript-text-linse-to-normal-stream-text-format/m-p/6964615#M1490332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this read_text method may help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=79888699" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=79888699&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Orhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 08:14:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-sapscript-text-linse-to-normal-stream-text-format/m-p/6964615#M1490332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-01T08:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Convert SAPScript text linse to normal stream text format</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/convert-sapscript-text-linse-to-normal-stream-text-format/m-p/6964616#M1490333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arnie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of searching for FM you can manually code which is flexible.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; "after gettting text from READ_TEXT in lt_tline.
Data: lt_string type table of string,
         lv_string type string.
CONSTANTS: c_par  TYPE char2 VALUE ',,'. " Sign for tabs

  LOOP AT  lt_tline INTO  wa_tline.
       CONCATENATE lv_string  wa_tline-tdline INTO lv_string SEPARATED BY ' '.
       REPLACE ALL OCCURRENCES OF c_par   IN lv_string WITH ' '.
        Append lv_string to lt_string.  "if needed in string table
  ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiruba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 08:55:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/convert-sapscript-text-linse-to-normal-stream-text-format/m-p/6964616#M1490333</guid>
      <dc:creator>I066686</dc:creator>
      <dc:date>2010-06-01T08:55:23Z</dc:date>
    </item>
  </channel>
</rss>

