<?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 Line Break in the Method SET_TEXTSTREAM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/line-break-in-the-method-set-textstream/m-p/1992724#M404757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to fill a textedit control with a string using the method SET_TEXTSTREAM. How can i produce a line break in my string?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could be, but it does not work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; text = 'this should be a "\n" linebreak!'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD me-&amp;gt;set_textstream&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        text                   = text&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        error_cntl_call_method = 1&lt;/P&gt;&lt;P&gt;        not_supported_by_gui  = 2&lt;/P&gt;&lt;P&gt;        OTHERS                    = 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2007 12:09:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-21T12:09:35Z</dc:date>
    <item>
      <title>Line Break in the Method SET_TEXTSTREAM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/line-break-in-the-method-set-textstream/m-p/1992724#M404757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to fill a textedit control with a string using the method SET_TEXTSTREAM. How can i produce a line break in my string?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could be, but it does not work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; text = 'this should be a "\n" linebreak!'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD me-&amp;gt;set_textstream&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        text                   = text&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        error_cntl_call_method = 1&lt;/P&gt;&lt;P&gt;        not_supported_by_gui  = 2&lt;/P&gt;&lt;P&gt;        OTHERS                    = 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 12:09:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/line-break-in-the-method-set-textstream/m-p/1992724#M404757</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T12:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Line Break in the Method SET_TEXTSTREAM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/line-break-in-the-method-set-textstream/m-p/1992725#M404758</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;please check out the following:&lt;/P&gt;&lt;P&gt;Break your lines where you want and fill every line in a new table which has only one field ( e.g. types: git_text_tab_t type standard table of tline-tdline ).&lt;/P&gt;&lt;P&gt;Then use the method get_text_as_r3table:&lt;/P&gt;&lt;P&gt;..call method g_editor-&amp;gt;get_text_as_r3table&lt;/P&gt;&lt;P&gt;.....importing&lt;/P&gt;&lt;P&gt;..........table = git_text_tab&lt;/P&gt;&lt;P&gt;.....exceptions&lt;/P&gt;&lt;P&gt;..........others = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope, it will work.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 14:47:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/line-break-in-the-method-set-textstream/m-p/1992725#M404758</guid>
      <dc:creator>thomas13_scheuermann</dc:creator>
      <dc:date>2007-03-21T14:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Line Break in the Method SET_TEXTSTREAM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/line-break-in-the-method-set-textstream/m-p/1992726#M404759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate 'this should be a' CL_ABAP_CHAR_UTILITIES=&amp;gt;NEWLINE 'linebreak!' into text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate 'this should be a' CL_ABAP_CHAR_UTILITIES=&amp;gt;CR_LF 'linebreak!' into text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 14:53:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/line-break-in-the-method-set-textstream/m-p/1992726#M404759</guid>
      <dc:creator>thomasalexander_ritter</dc:creator>
      <dc:date>2007-03-21T14:53:27Z</dc:date>
    </item>
  </channel>
</rss>

