<?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: Return to SELECTION-SCREEN in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-to-selection-screen/m-p/3288772#M786845</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;high Somnath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i know what to do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS clBfJahr DEFINTION.&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS clBfJahr IMPLEMENTATION.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON BLOCK blocka.&lt;/P&gt;&lt;P&gt;  clBfJahr=&amp;gt;main( ).&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot, Harry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jan 2008 12:50:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-11T12:50:47Z</dc:date>
    <item>
      <title>Return to SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-to-selection-screen/m-p/3288769#M786842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;High Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may this has been postet here in former times, but here's my problem: we use to change from abap to abap-objects. Now i have a simple SELECTION-SCREEN and until now i used the AT SELECTION-SCREEN-statement and an MESSAGE TYPE 'E' to return to this screen if there is now recordset found. So i don't want to validate the values of the screen, i want to start my main-method, gather all the informatin i need and then, when there is no recordset, i want to leave this method and start at the selection-screen. i can not use AT SELECTION... inside my method because this is a break in my method. If i use it outside i can not react on sy-subrc inside the method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot, Harry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 11:54:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-to-selection-screen/m-p/3288769#M786842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T11:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Return to SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-to-selection-screen/m-p/3288770#M786843</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;As per my understanding you want to gather all the informations and then you are looking for validation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are gathering all the information based on the selection criteria then doing this is absolutely wrong. Because getting all the info based on the selection crieria [Without validating] and then finally checking the input data does not make sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So definitely you need to validate the data first of all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is not be the case and you just to doing something before the selection data is coming to your program then you have to call a method at the INITIALIZATION stage and prepare the environment. After that simply AT SELECTION-SCREEN and validate the input values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for validating plant [as an e.g.] create a static method for validating plant and call the method at the AT SELECTION-SCREEN event and give error message and simply LEAVE LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I haven't confused you &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somnath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 12:25:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-to-selection-screen/m-p/3288770#M786843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T12:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Return to SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-to-selection-screen/m-p/3288771#M786844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Somnath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is that all the values are validatet. Then, when they are validatet, i call a method and inside this method i gather information for something, let's say a alv. At this time i left the selection-screen and startet working. i do some selects on tables and now, if there is no recordset (sy-subrc &amp;lt;&amp;gt; 0) i want to break working, show a message at the statusbar and go back to the selection-screen without leaving the program and restart it. until this day i did this with the at selection-screen on blockxxx command. If there was no recordset i raised a message with type 'E' on which the at selection-screen command was listening and went back to my selection-screen (which still had the values i entered before). And this is what i wish to to inside my method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings, Harry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 12:44:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-to-selection-screen/m-p/3288771#M786844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T12:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Return to SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-to-selection-screen/m-p/3288772#M786845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;high Somnath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i know what to do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS clBfJahr DEFINTION.&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS clBfJahr IMPLEMENTATION.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON BLOCK blocka.&lt;/P&gt;&lt;P&gt;  clBfJahr=&amp;gt;main( ).&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot, Harry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 12:50:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-to-selection-screen/m-p/3288772#M786845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T12:50:47Z</dc:date>
    </item>
  </channel>
</rss>

