<?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: cl_gui_cfw=&amp;gt;set_new_ok_code and function type in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-cfw-gt-set-new-ok-code-and-function-type/m-p/9611489#M1759748</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jul 2013 10:03:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-07-29T10:03:10Z</dc:date>
    <item>
      <title>cl_gui_cfw=&gt;set_new_ok_code and function type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-cfw-gt-set-new-ok-code-and-function-type/m-p/9611487#M1759746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the cl_gui_cfw=&amp;gt;set_new_ok_code method to set a new ok code within an event handler for a toolbar function (cl_gui_toolbar). Unfortunately it's not possible to set the function type of the new ok code, like 'E' = Exit-Command. Therefore I can't use a toolbar button like the cancel button (F12) in the sap gui. &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1662/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt; Does anybody know how to set a new ok code with a function type within an event handler for a toolbar function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viktor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 09:30:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-cfw-gt-set-new-ok-code-and-function-type/m-p/9611487#M1759746</guid>
      <dc:creator>viktoru</dc:creator>
      <dc:date>2013-07-29T09:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: cl_gui_cfw=&gt;set_new_ok_code and function type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-cfw-gt-set-new-ok-code-and-function-type/m-p/9611488#M1759747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To work your case I have an alternate way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raise some other ok_code (non-error) and call the routine which is being called if the Error ok_code is set.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 09:35:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-cfw-gt-set-new-ok-code-and-function-type/m-p/9611488#M1759747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-29T09:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: cl_gui_cfw=&gt;set_new_ok_code and function type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-cfw-gt-set-new-ok-code-and-function-type/m-p/9611489#M1759748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 10:03:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-cfw-gt-set-new-ok-code-and-function-type/m-p/9611489#M1759748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-29T10:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: cl_gui_cfw=&gt;set_new_ok_code and function type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-cfw-gt-set-new-ok-code-and-function-type/m-p/9611490#M1759749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kishore,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is: there is a dynpro with some fields and a toolbar control (cl_gui_toolbar). The toolbar contains a close button for the dynpro. The close button works fine except one case: if the user has an invalid input in a dynpro field and want to leave the dynpro (without correction of invalid input), then the close button doesn't work. Therefore some dynpro fields have a convertion exit maintained in the screen painter and if the value of a field is invalid, the convertion exit sends an error message and interrupts the pai execution. The only way to handle this is the use of an ok code with the type 'E'=Exit-Command. But that is not possible with the method set_new_ok_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cloud you please describe a litte bit more how can your proposal help in my case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Viktor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 11:17:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-cfw-gt-set-new-ok-code-and-function-type/m-p/9611490#M1759749</guid>
      <dc:creator>viktoru</dc:creator>
      <dc:date>2013-07-29T11:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: cl_gui_cfw=&gt;set_new_ok_code and function type</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-cfw-gt-set-new-ok-code-and-function-type/m-p/9611491#M1759750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Viktor,&lt;/P&gt;&lt;P&gt; i dont think you can achieve this, coz the exit type 'E' can be only set in GUI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 01:25:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-cfw-gt-set-new-ok-code-and-function-type/m-p/9611491#M1759750</guid>
      <dc:creator>Aiolos</dc:creator>
      <dc:date>2013-07-30T01:25:39Z</dc:date>
    </item>
  </channel>
</rss>

