<?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: Selection screen event   ON EXIT-COMMAND in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event-on-exit-command/m-p/666831#M29233</link>
    <description>&lt;P&gt;Hello , &lt;/P&gt;&lt;P&gt;When I said not workin properly  that means  CANCEL / BACK / EXIT  do not have expected funcionality and &lt;/P&gt;&lt;P&gt;action after user hit those buttons was - continue execution of program (like F8)&lt;/P&gt;&lt;P&gt;Although in your code I found solution the 'sscrfields' structure needs to be declared as table.&lt;/P&gt;&lt;P&gt;That solved my issue &lt;/P&gt;&lt;P&gt;Thank you  &lt;/P&gt;</description>
    <pubDate>Thu, 06 Dec 2018 07:35:06 GMT</pubDate>
    <dc:creator>k_gjergja</dc:creator>
    <dc:date>2018-12-06T07:35:06Z</dc:date>
    <item>
      <title>Selection screen event   ON EXIT-COMMAND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event-on-exit-command/m-p/666827#M29229</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;
  &lt;P&gt;I rapport with selection screen I add&lt;/P&gt;
  &lt;P&gt;AT SELECTION-SCREEN ON EXIT-COMMAND &lt;/P&gt;
  &lt;P&gt;leave programe&lt;/P&gt;
  &lt;P&gt;The problem is that this screen event is triggered even when &lt;/P&gt;
  &lt;P&gt;user hits 'Get variant' button and than instead to show variants &lt;/P&gt;
  &lt;P&gt;flow foes out of program waht should happen only after &lt;/P&gt;
  &lt;P&gt;cancel , back or exit.&lt;/P&gt;
  &lt;P&gt;Please advice &lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 15:59:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event-on-exit-command/m-p/666827#M29229</guid>
      <dc:creator>k_gjergja</dc:creator>
      <dc:date>2018-12-05T15:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen event   ON EXIT-COMMAND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event-on-exit-command/m-p/666828#M29230</link>
      <description>&lt;P&gt;You don't need to code anything special for leaving a selection screen, just take the statement out. Is there something special you are trying to achieve by capturing the exit event? &lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 17:12:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event-on-exit-command/m-p/666828#M29230</guid>
      <dc:creator>former_member378318</dc:creator>
      <dc:date>2018-12-05T17:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen event   ON EXIT-COMMAND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event-on-exit-command/m-p/666829#M29231</link>
      <description>&lt;P&gt;It is a question of  some program with three transactions. Cancel/ back and Exit buttons before I set  ‘ON EXIT’, didn’t work properly. After I set ‘On EXIT’ they are working properly but Get layout button leaves the program as well,Which is not expected. &lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 22:02:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event-on-exit-command/m-p/666829#M29231</guid>
      <dc:creator>k_gjergja</dc:creator>
      <dc:date>2018-12-05T22:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen event   ON EXIT-COMMAND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event-on-exit-command/m-p/666830#M29232</link>
      <description>&lt;P&gt;If its selection screen, those button work as normal, you dont have to add ON EXIT to make it leave program. what do you mean 'didnt work properly', could you more detail? anw, I code a simple program and dont have any issue with on exit event:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TABLES sscrfields.&lt;BR /&gt;
&lt;BR /&gt;
SELECTION-SCREEN BEGIN OF SCREEN 1100.&lt;BR /&gt;
PARAMETERS: p_carrid TYPE s_carr_id,&lt;BR /&gt;
 p_cityfr TYPE s_from_cit.&lt;BR /&gt;
SELECTION-SCREEN: FUNCTION KEY 1,&lt;BR /&gt;
 FUNCTION KEY 2.&lt;BR /&gt;
SELECTION-SCREEN END OF SCREEN 1100.&lt;BR /&gt;
&lt;BR /&gt;
AT SELECTION-SCREEN ON EXIT-COMMAND.&lt;BR /&gt;
 MESSAGE 'out' TYPE 'I'.&lt;BR /&gt;
&lt;BR /&gt;
AT SELECTION-SCREEN.&lt;BR /&gt;
 CASE sscrfields-ucomm.&lt;BR /&gt;
 WHEN'FC01'.&lt;BR /&gt;
 p_carrid = 'LH'.&lt;BR /&gt;
 p_cityfr = 'Frankfurt'.&lt;BR /&gt;
 WHEN 'FC02'.&lt;BR /&gt;
 p_carrid = 'UA'.&lt;BR /&gt;
 p_cityfr = 'Chicago'.&lt;BR /&gt;
 ENDCASE.&lt;BR /&gt;
&lt;BR /&gt;
START-OF-SELECTION.&lt;BR /&gt;
 sscrfields-functxt_01 = 'LH'.&lt;BR /&gt;
 sscrfields-functxt_02 = 'UA'.&lt;BR /&gt;
&lt;BR /&gt;
 CALL SELECTION-SCREEN 1100.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Dec 2018 00:40:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event-on-exit-command/m-p/666830#M29232</guid>
      <dc:creator>DoanManhQuynh</dc:creator>
      <dc:date>2018-12-06T00:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen event   ON EXIT-COMMAND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event-on-exit-command/m-p/666831#M29233</link>
      <description>&lt;P&gt;Hello , &lt;/P&gt;&lt;P&gt;When I said not workin properly  that means  CANCEL / BACK / EXIT  do not have expected funcionality and &lt;/P&gt;&lt;P&gt;action after user hit those buttons was - continue execution of program (like F8)&lt;/P&gt;&lt;P&gt;Although in your code I found solution the 'sscrfields' structure needs to be declared as table.&lt;/P&gt;&lt;P&gt;That solved my issue &lt;/P&gt;&lt;P&gt;Thank you  &lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 07:35:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-event-on-exit-command/m-p/666831#M29233</guid>
      <dc:creator>k_gjergja</dc:creator>
      <dc:date>2018-12-06T07:35:06Z</dc:date>
    </item>
  </channel>
</rss>

