<?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: issue with the code for free trext in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-code-for-free-trext/m-p/1713386#M311971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if not editor is initial.&lt;/P&gt;&lt;P&gt;   CALL METHOD editor-&amp;gt;DELETE_TEXT.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;award points if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;venki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Nov 2006 20:32:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-17T20:32:08Z</dc:date>
    <item>
      <title>issue with the code for free trext</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-code-for-free-trext/m-p/1713382#M311967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have  code for free text  or long text in my module pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say my free text is in screen 102 and i am in screen 101.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i go to screen 102 and enter my text and come back to 101.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i go back iam seeing the same text ,which i don't want. can anybody tell me what should i do .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my free text code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do i need to clear editor ,mytable and refresh mytablewould solve my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if editor is initial.&lt;/P&gt;&lt;P&gt;CREATE OBJECT TEXTEDIT_CUSTOM_CONTAINER&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;CONTAINER_NAME = 'TEXTEDITOR1'&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;CNTL_ERROR = 1&lt;/P&gt;&lt;P&gt;CNTL_SYSTEM_ERROR = 2&lt;/P&gt;&lt;P&gt;CREATE_ERROR = 3&lt;/P&gt;&lt;P&gt;LIFETIME_ERROR = 4&lt;/P&gt;&lt;P&gt;LIFETIME_DYNPRO_DYNPRO_LINK = 5.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC NE 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;add your handling&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;CREATE OBJECT EDITOR&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;PARENT = TEXTEDIT_CUSTOM_CONTAINER&lt;/P&gt;&lt;P&gt;WORDWRAP_POSITION = '85'&lt;/P&gt;&lt;P&gt;WORDWRAP_MODE = CL_GUI_TEXTEDIT=&amp;gt;WORDWRAP_AT_FIXED_POSITION&lt;/P&gt;&lt;P&gt;WORDWRAP_TO_LINEBREAK_MODE = CL_GUI_TEXTEDIT=&amp;gt;FALSE&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;OTHERS = 1.&lt;/P&gt;&lt;P&gt;refresh mytable.&lt;/P&gt;&lt;P&gt;CLEAR MYTABLE.&lt;/P&gt;&lt;P&gt;FREE MYTABLE.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'POPUP_TO_INFORM'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;TITEL = V_REPID "--&amp;gt; program name&lt;/P&gt;&lt;P&gt;TXT2 = SPACE&lt;/P&gt;&lt;P&gt;TXT1 = 'Error in flush'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 19:13:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-code-for-free-trext/m-p/1713382#M311967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T19:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: issue with the code for free trext</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-code-for-free-trext/m-p/1713383#M311968</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;  Destroy the container using the free method..&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;  Try refreshing the internal table for the text internal table and call the below method..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD editor-&amp;gt;set_text_as_r3table&lt;/P&gt;&lt;P&gt;    EXPORTING table = gt_text_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 19:18:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-code-for-free-trext/m-p/1713383#M311968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T19:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: issue with the code for free trext</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-code-for-free-trext/m-p/1713384#M311969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Everytime you enter the screen with the editor, you should initialize it.  You can try using the DELETE_TEXT method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 19:20:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-code-for-free-trext/m-p/1713384#M311969</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-11-17T19:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: issue with the code for free trext</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-code-for-free-trext/m-p/1713385#M311970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if not editor is initial.&lt;/P&gt;&lt;P&gt;   CALL METHOD editor-&amp;gt;DELETE_TEXT.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;award points if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;venki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 20:31:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-code-for-free-trext/m-p/1713385#M311970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T20:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: issue with the code for free trext</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-code-for-free-trext/m-p/1713386#M311971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swathi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if not editor is initial.&lt;/P&gt;&lt;P&gt;   CALL METHOD editor-&amp;gt;DELETE_TEXT.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;award points if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;venki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 20:32:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-the-code-for-free-trext/m-p/1713386#M311971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T20:32:08Z</dc:date>
    </item>
  </channel>
</rss>

