<?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: get_text_as_stream in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-as-stream/m-p/4938521#M1151844</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls check the below simple program....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i am restricting it to 2000 chars and and entering 2000 chars..&lt;/P&gt;&lt;P&gt;I am getting 8 lines( 255 * 8 = 2040 ) in the table &lt;STRONG&gt;gt_table&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETER dummy.

DATA : go_texteditor TYPE REF TO cl_gui_textedit,
       gt_table      TYPE STANDARD TABLE OF char255.

AT SELECTION-SCREEN OUTPUT.

  CREATE OBJECT go_texteditor
    EXPORTING
      max_number_chars = 2000
      parent           = cl_gui_container=&amp;gt;default_screen.

START-OF-SELECTION.

  go_texteditor-&amp;gt;get_text_as_stream( IMPORTING text = gt_table ).

  BREAK-POINT.  " check gt_table&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Dec 2008 15:45:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-11T15:45:27Z</dc:date>
    <item>
      <title>get_text_as_stream</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-as-stream/m-p/4938519#M1151842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use cl_gui_textedit to create text-editor limited to 2000 characters, I save that the users write in the editor in a internal table with method get_text_as_stream. My internal table has lines of 250 characters, but that save is 75 characters. There is a way to increase the dimension of the lines from 75 to 250..?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 14:04:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-as-stream/m-p/4938519#M1151842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-11T14:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: get_text_as_stream</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-as-stream/m-p/4938520#M1151843</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;Check this demo program SAPSCRIPT_DEMO_NOTE_EDITOR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 14:17:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-as-stream/m-p/4938520#M1151843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-11T14:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: get_text_as_stream</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-as-stream/m-p/4938521#M1151844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefano,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls check the below simple program....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i am restricting it to 2000 chars and and entering 2000 chars..&lt;/P&gt;&lt;P&gt;I am getting 8 lines( 255 * 8 = 2040 ) in the table &lt;STRONG&gt;gt_table&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETER dummy.

DATA : go_texteditor TYPE REF TO cl_gui_textedit,
       gt_table      TYPE STANDARD TABLE OF char255.

AT SELECTION-SCREEN OUTPUT.

  CREATE OBJECT go_texteditor
    EXPORTING
      max_number_chars = 2000
      parent           = cl_gui_container=&amp;gt;default_screen.

START-OF-SELECTION.

  go_texteditor-&amp;gt;get_text_as_stream( IMPORTING text = gt_table ).

  BREAK-POINT.  " check gt_table&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Jose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 15:45:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-text-as-stream/m-p/4938521#M1151844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-11T15:45:27Z</dc:date>
    </item>
  </channel>
</rss>

