<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2940522#M693197</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is arising because of the value-check addition. The program will not reach to the code written in "AT SELECTION-SCREEN" EVENT to leave the program because a system exception is occuring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try out by assigning the function code to function type 'E' and assigned to function key F12 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the above solution does not work then you have to remove the value-check addition with the field and programatically needs to validate the field in AT SELECTION-SCREEN EVENT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Oct 2007 11:12:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-11T11:12:00Z</dc:date>
    <item>
      <title>Selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2940515#M693190</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 put a search help for a field in a screen.&lt;/P&gt;&lt;P&gt;And i also checked the value using value check addition.&lt;/P&gt;&lt;P&gt;If suppose i enter a value which doesn't matches with the input help,&lt;/P&gt;&lt;P&gt;then error message comes in the screen.&lt;/P&gt;&lt;P&gt;If i press a push button cancel in that screen,&lt;/P&gt;&lt;P&gt;then it has to come out.&lt;/P&gt;&lt;P&gt;How to do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 10:13:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2940515#M693190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T10:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2940516#M693191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Declare a Pushbutton in the Selection screen, if after getting the Error mesage, then in the At selection screen event, you need to write the logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-UCOMM = 'OK_CODE'   " OK code is the user command for th e push buton.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2007 10:16:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2940516#M693191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-09T10:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2940517#M693192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried this.&lt;/P&gt;&lt;P&gt;But this is not working.&lt;/P&gt;&lt;P&gt;Pls tell me the right way to do this.&lt;/P&gt;&lt;P&gt;Points will be awarded sure...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 09:10:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2940517#M693192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T09:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2940518#M693193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Shori,&lt;/P&gt;&lt;P&gt;             mayb the problem is because ur displaying an error msg i.e TYPE E,&lt;/P&gt;&lt;P&gt;change it to type 'S' OR 'I' and then try the logic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 09:18:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2940518#M693193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T09:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2940519#M693194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For doing exit or cancel action with the push button, the function code of the button should be 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PAI event, you have to write.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Case Sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'OK_CODE'.&lt;/P&gt;&lt;P&gt;Leave screen.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(here OK_CODE is the internal name of the push button)&lt;/P&gt;&lt;P&gt;Hope this will give you the desired result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Anindita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 10:09:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2940519#M693194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T10:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2940520#M693195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u need to use at selection-screen event like as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;if not &amp;lt;itabname-fieldname&amp;gt; is initial.&lt;/P&gt;&lt;P&gt;select single &amp;lt;fieldname&amp;gt; from &amp;lt;check_table_name&amp;gt; where &amp;lt;fieldname&amp;gt; = &amp;lt;check_table_name-fieldname&amp;gt;.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;message e001(classname).&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for leaving the screen, u'll use function code of button in case statement like as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: ok_code like sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case ok_code.&lt;/P&gt;&lt;P&gt;when 'LEAVE'.&lt;/P&gt;&lt;P&gt;leave program.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 10:48:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2940520#M693195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T10:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2940521#M693196</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 hope the post was made for &amp;lt;b&amp;gt;Screen&amp;lt;/b&amp;gt; and not &amp;lt;b&amp;gt;Selection Screen.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Anindita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 10:52:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2940521#M693196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T10:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2940522#M693197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is arising because of the value-check addition. The program will not reach to the code written in "AT SELECTION-SCREEN" EVENT to leave the program because a system exception is occuring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try out by assigning the function code to function type 'E' and assigned to function key F12 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the above solution does not work then you have to remove the value-check addition with the field and programatically needs to validate the field in AT SELECTION-SCREEN EVENT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 11:12:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/2940522#M693197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T11:12:00Z</dc:date>
    </item>
  </channel>
</rss>

