<?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: string for standard text in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-for-standard-text/m-p/2793882#M651994</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : it_lines LIKE tline OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA : l_str TYPE string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'READ_TEXT'
     EXPORTING
          id                      = 'F01'
          language                = sy-langu
          name                    = '4400000386'
          object                  = 'EKKO'
     TABLES
          lines                   = it_lines
     EXCEPTIONS
          id                      = 1
          language                = 2
          name                    = 3
          not_found               = 4
          object                  = 5
          reference_check         = 6
          wrong_access_to_archive = 7
          OTHERS                  = 8.
IF sy-subrc &amp;lt;&amp;gt; 0.
  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.

LOOP AT it_lines.
  CONCATENATE l_str it_lines-tdline INTO l_str SEPARATED BY space.
  CLEAR : it_lines.
ENDLOOP.

WRITE : l_str.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Sep 2007 05:55:27 GMT</pubDate>
    <dc:creator>gopi_narendra</dc:creator>
    <dc:date>2007-09-12T05:55:27Z</dc:date>
    <item>
      <title>string for standard text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-for-standard-text/m-p/2793879#M651991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;can a variable defined as a string hold upto five or six lines of content.&lt;/P&gt;&lt;P&gt;because i will be fetching the content from standard text in an internal table by using the READ_TEXT FM and then i want to store all the info of that internal table into a string type variable and display the same in the script.&lt;/P&gt;&lt;P&gt;can i do it or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;md.ibrahim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 05:46:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-for-standard-text/m-p/2793879#M651991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-12T05:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: string for standard text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-for-standard-text/m-p/2793880#M651992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do it concatnating all the lines into one string variable and display it. That also depends on the size of the text or window into which you are displayin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award points if it helps.&lt;/P&gt;&lt;P&gt;-Gaurang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 05:49:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-for-standard-text/m-p/2793880#M651992</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-12T05:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: string for standard text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-for-standard-text/m-p/2793881#M651993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you can do it .&lt;/P&gt;&lt;P&gt;Declare a variable of size string and after calling Read_text fm which return an internal table TLINE .loop at tline and concatenate into the string .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 05:50:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-for-standard-text/m-p/2793881#M651993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-12T05:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: string for standard text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/string-for-standard-text/m-p/2793882#M651994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : it_lines LIKE tline OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA : l_str TYPE string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'READ_TEXT'
     EXPORTING
          id                      = 'F01'
          language                = sy-langu
          name                    = '4400000386'
          object                  = 'EKKO'
     TABLES
          lines                   = it_lines
     EXCEPTIONS
          id                      = 1
          language                = 2
          name                    = 3
          not_found               = 4
          object                  = 5
          reference_check         = 6
          wrong_access_to_archive = 7
          OTHERS                  = 8.
IF sy-subrc &amp;lt;&amp;gt; 0.
  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.

LOOP AT it_lines.
  CONCATENATE l_str it_lines-tdline INTO l_str SEPARATED BY space.
  CLEAR : it_lines.
ENDLOOP.

WRITE : l_str.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 05:55:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/string-for-standard-text/m-p/2793882#M651994</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2007-09-12T05:55:27Z</dc:date>
    </item>
  </channel>
</rss>

