<?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: How to enable button while changing text in text editor? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enable-button-while-changing-text-in-text-editor/m-p/7953565#M1602054</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;In PAI you have to do., &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check sy-ucomm = space.  " space for Enter key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if lv_text is not initial .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do for enabling save.,    " else set a flag here., In PBO if flag is set  do for enable save. ( loop at screen ..... )&lt;/P&gt;&lt;P&gt;&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;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jun 2011 04:22:56 GMT</pubDate>
    <dc:creator>Kiran_Valluru</dc:creator>
    <dc:date>2011-06-23T04:22:56Z</dc:date>
    <item>
      <title>How to enable button while changing text in text editor?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enable-button-while-changing-text-in-text-editor/m-p/7953560#M1602049</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;I have a text editor in my custom made transaction. I would like to enable the SAVE button immediatly in the application toolbar while chaging the text(after entering a character) in the text editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly provide your inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 12:52:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enable-button-while-changing-text-in-text-editor/m-p/7953560#M1602049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-22T12:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable button while changing text in text editor?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enable-button-while-changing-text-in-text-editor/m-p/7953561#M1602050</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;the class cl_gui_textedit does not have an event for your purpose. Either you keep the button active always or you have to create your own class with an additional event (and the corresponding handler method) for your task.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 13:06:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enable-button-while-changing-text-in-text-editor/m-p/7953561#M1602050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-22T13:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable button while changing text in text editor?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enable-button-while-changing-text-in-text-editor/m-p/7953562#M1602051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can not keep the save button active always since it is depending on other screen fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be i can try for 2nd option, but i have created the text editor using the standard class CL_GUI_TEXTEDIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i have use my own class and event i think i have to change the complete design of that part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any other possibility?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 13:16:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enable-button-while-changing-text-in-text-editor/m-p/7953562#M1602051</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-22T13:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable button while changing text in text editor?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enable-button-while-changing-text-in-text-editor/m-p/7953563#M1602052</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;there is no such Event.,  In ABAP you have to press enter then Enable the Button. Unfortunately there are no events like  OnBlur, OnKeyPress, OnKeyUp ( which  offered by java script ). You have to press Enter &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you enter the text in text editor and press Enter &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if lv_text is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enable button.&lt;/P&gt;&lt;P&gt;&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;hope this helps u.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 13:22:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enable-button-while-changing-text-in-text-editor/m-p/7953563#M1602052</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2011-06-22T13:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable button while changing text in text editor?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enable-button-while-changing-text-in-text-editor/m-p/7953564#M1602053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where can i add the sample code which you have given?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi.,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; there is no such Event.,  In ABAP you have to press enter then Enable the Button. Unfortunately there are no events like  OnBlur, OnKeyPress, OnKeyUp ( which  offered by java script ). You have to press Enter &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Once you enter the text in text editor and press Enter &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; if lv_text is not initial.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; enable button.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; endif.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; hope this helps u.,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;&amp;gt; Kiran&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 13:58:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enable-button-while-changing-text-in-text-editor/m-p/7953564#M1602053</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-22T13:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable button while changing text in text editor?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enable-button-while-changing-text-in-text-editor/m-p/7953565#M1602054</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;In PAI you have to do., &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check sy-ucomm = space.  " space for Enter key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if lv_text is not initial .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do for enabling save.,    " else set a flag here., In PBO if flag is set  do for enable save. ( loop at screen ..... )&lt;/P&gt;&lt;P&gt;&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;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 04:22:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enable-button-while-changing-text-in-text-editor/m-p/7953565#M1602054</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2011-06-23T04:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable button while changing text in text editor?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enable-button-while-changing-text-in-text-editor/m-p/7953566#M1602055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAI will not be triggered by pressing enter in the text editor. That is the problem i am facing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other alternative?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 15:24:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enable-button-while-changing-text-in-text-editor/m-p/7953566#M1602055</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-23T15:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable button while changing text in text editor?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enable-button-while-changing-text-in-text-editor/m-p/7953567#M1602056</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;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; PAI will not be triggered by pressing enter in the text editor. That is the problem i am facing.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why..!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok then code in &lt;STRONG&gt;At User Command&lt;/STRONG&gt; Event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps u.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2011 04:04:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enable-button-while-changing-text-in-text-editor/m-p/7953567#M1602056</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2011-06-24T04:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable button while changing text in text editor?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enable-button-while-changing-text-in-text-editor/m-p/7953568#M1602057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not working with Interactive reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have my own screen which has a text editor. I want to trigger an event as soon as i enter a character in that text editor. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible? if possible how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2011 11:14:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enable-button-while-changing-text-in-text-editor/m-p/7953568#M1602057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-24T11:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable button while changing text in text editor?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enable-button-while-changing-text-in-text-editor/m-p/7953569#M1602058</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;It is not possible as soon as we enter in text editor., ( which was discussed previously ). As you said you have custom screen. So for custom screen PAI Event has to be there..!!  You have to press Enter after Entering in text editor,,  And in PAI based on sy-ucomm you have to make button enable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 04:14:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enable-button-while-changing-text-in-text-editor/m-p/7953569#M1602058</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2011-06-27T04:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable button while changing text in text editor?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enable-button-while-changing-text-in-text-editor/m-p/7953570#M1602059</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;As it has been discussed, it is not possible to trigger an event and make the save button active as soon as you type into the text editor. Unfortunately you cannot do with the ENTER also as there is no event for the ENTER button in the text editor. The only way I find is to keep the save button active and when you are saving, check if the user has entered any new text or made any changes, then only save and give the message as "saved successfully" otherwise do not save.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 05:16:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-enable-button-while-changing-text-in-text-editor/m-p/7953570#M1602059</guid>
      <dc:creator>sridhar_meesala</dc:creator>
      <dc:date>2011-06-27T05:16:42Z</dc:date>
    </item>
  </channel>
</rss>

