<?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 CATSXT_TEXT_EDITOR Function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/catsxt-text-editor-function-module/m-p/6979257#M1492404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have created another thread in ABAP OOPs forum as I thought this Forum might be widely checked by SDNers (I shall mark ANSWERED once I get a response)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my requirement is that I am using std FM CATSXT_TEXT_EDITOR, I need to have a check on this FM execution.&lt;/P&gt;&lt;P&gt;On execution of this FM, you get a text where you can enter and once you say OK, it saves that text in a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is that I need to do a validation to this FM, if the user doesnt enter any text, it shouldnt allow the user to get out of that Editor, unless he enters something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;I found that I can use Implicit Enhancement, but dont know how to alert the user of entering something and keep the screen till he enters something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jun 2010 11:13:56 GMT</pubDate>
    <dc:creator>former_member184495</dc:creator>
    <dc:date>2010-06-17T11:13:56Z</dc:date>
    <item>
      <title>CATSXT_TEXT_EDITOR Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catsxt-text-editor-function-module/m-p/6979257#M1492404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have created another thread in ABAP OOPs forum as I thought this Forum might be widely checked by SDNers (I shall mark ANSWERED once I get a response)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my requirement is that I am using std FM CATSXT_TEXT_EDITOR, I need to have a check on this FM execution.&lt;/P&gt;&lt;P&gt;On execution of this FM, you get a text where you can enter and once you say OK, it saves that text in a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is that I need to do a validation to this FM, if the user doesnt enter any text, it shouldnt allow the user to get out of that Editor, unless he enters something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible?&lt;/P&gt;&lt;P&gt;I found that I can use Implicit Enhancement, but dont know how to alert the user of entering something and keep the screen till he enters something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 11:13:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catsxt-text-editor-function-module/m-p/6979257#M1492404</guid>
      <dc:creator>former_member184495</dc:creator>
      <dc:date>2010-06-17T11:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: CATSXT_TEXT_EDITOR Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catsxt-text-editor-function-module/m-p/6979258#M1492405</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 think you mentioned wrong FM, its CATSXT_SIMPLE_TEXT_EDITOR. As you said if you go for an enhancement spot to raise an error message to the user you cannot call the same editor again or you can call the same FM in the enhancement. &lt;/P&gt;&lt;P&gt;  Instead what I suppose the below solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHILE text IS INITIAL.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'CATSXT_SIMPLE_TEXT_EDITOR'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      im_title        = 'SOME TITLE'&lt;/P&gt;&lt;P&gt;      im_display_mode = ' '&lt;/P&gt;&lt;P&gt;      im_start_column = 10&lt;/P&gt;&lt;P&gt;      im_start_row    = 10&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      ch_text         = text.&lt;/P&gt;&lt;P&gt;  IF text[]  IS INITIAL.&lt;/P&gt;&lt;P&gt;    MESSAGE 'Can not exit without entering text.' TYPE 'S'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDWHILE.        &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 11:30:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catsxt-text-editor-function-module/m-p/6979258#M1492405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-17T11:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: CATSXT_TEXT_EDITOR Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/catsxt-text-editor-function-module/m-p/6979259#M1492406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;done.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Aditya Varrier on Jun 17, 2010 6:12 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jun 2010 12:36:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/catsxt-text-editor-function-module/m-p/6979259#M1492406</guid>
      <dc:creator>former_member184495</dc:creator>
      <dc:date>2010-06-17T12:36:26Z</dc:date>
    </item>
  </channel>
</rss>

