<?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: Screen painter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/4702924#M1105066</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to change the Function Type of the EXIT button to 'E'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The screen where you maintain the GUI status, go there and double click on FCODE for EXIT, it will open "Function attribute" window.Set Function Type = "E"&lt;/P&gt;&lt;P&gt;In the screen flow logic, add a new Module called"EXIT"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE EXIT AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside that module write&lt;/P&gt;&lt;P&gt;LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Swastik Bharati on Nov 4, 2008 11:31 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Swastik Bharati on Nov 4, 2008 11:33 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Nov 2008 10:30:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-04T10:30:31Z</dc:date>
    <item>
      <title>Screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/4702923#M1105065</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 need to quit a screen with a red button OK_CODE = EXIT, but SAP give me a message : we have to fill obligatory fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my purpose is to leave the screen without fill in the obligatory fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 10:28:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/4702923#M1105065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T10:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/4702924#M1105066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to change the Function Type of the EXIT button to 'E'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The screen where you maintain the GUI status, go there and double click on FCODE for EXIT, it will open "Function attribute" window.Set Function Type = "E"&lt;/P&gt;&lt;P&gt;In the screen flow logic, add a new Module called"EXIT"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE EXIT AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside that module write&lt;/P&gt;&lt;P&gt;LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Swastik Bharati on Nov 4, 2008 11:31 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Swastik Bharati on Nov 4, 2008 11:33 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 10:30:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/4702924#M1105066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T10:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/4702925#M1105067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create module using AT EXIT-COMMAND in PAI. Write your code for EXIT into this module.&lt;/P&gt;&lt;P&gt;Search more on AT EXIT-COMMAND to get the examples on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 10:31:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/4702925#M1105067</guid>
      <dc:creator>VikasB</dc:creator>
      <dc:date>2008-11-04T10:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/4702926#M1105068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As said by Swastik in his reply in this thread earlier you need to specify the Function code as 'E' and then in PBI event you can write the code at 'at exit-commant'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jayant Sahu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 10:46:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/4702926#M1105068</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T10:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Screen painter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/4702927#M1105069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi saad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do have obligatory fields on your screen and you have not defined your exit procedure in moduel with addition at exit-command, you'll have to enter values into the obligatory fields before exiting. The only way around is to define the module where you have the code for exiting the screen with addition at exit command. In the PAI section define as follows,&lt;/P&gt;&lt;P&gt;Process After Input.&lt;/P&gt;&lt;P&gt;Module &amp;lt;modulename&amp;gt; at exit-command.&lt;/P&gt;&lt;P&gt;and inside the module write&lt;/P&gt;&lt;P&gt;if ok_code = 'EXIT'.&lt;/P&gt;&lt;P&gt;leave program&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here if you click on the button whose fcode is EXIT, it will bypass and validations as it is defined under at exit-command.&lt;/P&gt;&lt;P&gt;Hope this helps in resolving your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Nov 2008 10:48:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-painter/m-p/4702927#M1105069</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-04T10:48:04Z</dc:date>
    </item>
  </channel>
</rss>

