<?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: stop in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/stop/m-p/2992199#M706686</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;STOP is Absolete in ECC 6.0&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;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Nov 2007 09:07:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-05T09:07:08Z</dc:date>
    <item>
      <title>stop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stop/m-p/2992195#M706682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;difference between stop and exit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 08:19:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stop/m-p/2992195#M706682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T08:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: stop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stop/m-p/2992196#M706683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;stop starts with s and exit starts with e. Why didnt you just read the online help by pressing F1?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 08:27:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stop/m-p/2992196#M706683</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2007-11-05T08:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: stop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stop/m-p/2992197#M706684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;STOP&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;The statement is only intended for use in the INITIALIZATION, AT SELECTION-SCREEN, START-OF-SELECTION, and GET events. During the execution of type 1 programs, it terminates the processing of the associated event blocks and triggers the sending of the selection screen during the event INITIALIZATION, and - in all other cases - triggers the event END-OF-SELECTION of the runtime environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;EXIT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;terminate the loop pass or select..endselect statements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;taken fron SAP HELP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 08:35:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stop/m-p/2992197#M706684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T08:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: stop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stop/m-p/2992198#M706685</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;STOP.&lt;/P&gt;&lt;P&gt;This statement terminates the Current processing block and Triggers the END-of-SELECTION event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;This statement terminates the Current processing block and continue the execution after the Processing block (Loop etc...).&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;reward if Helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 09:04:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stop/m-p/2992198#M706685</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-11-05T09:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: stop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stop/m-p/2992199#M706686</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;STOP is Absolete in ECC 6.0&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;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 09:07:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stop/m-p/2992199#M706686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T09:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: stop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/stop/m-p/2992200#M706687</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;See the full help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;STOP&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;Syntax &lt;/P&gt;&lt;P&gt;STOP. &lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The statement STOP is only to be used in executable programs and in the following event blocks: &lt;/P&gt;&lt;P&gt;&amp;#149;	AT SELECTION-SCREEN (without additions) &lt;/P&gt;&lt;P&gt;&amp;#149;	START-OF-SELECTION &lt;/P&gt;&lt;P&gt;&amp;#149;	GET &lt;/P&gt;&lt;P&gt;You leave these event blocks via STOP, and the runtime environment triggers the event END-OF-SELECTION. &lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;The statement STOP is forbidden in methods and, since Release 6.10, leads to an uncatchable exception during the processing of screens called with CALL SCREEN and in programs not called with SUBMIT. &lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;Ending the event blocks GET sbook after max postings have been issued, and branching to END-OF-SELECTION. &lt;/P&gt;&lt;P&gt;NODES: sflight, sbook. &lt;/P&gt;&lt;P&gt;DATA: bookings TYPE i, &lt;/P&gt;&lt;P&gt;      max TYPE i VALUE 100. &lt;/P&gt;&lt;P&gt;GET sflight. &lt;/P&gt;&lt;P&gt;  WRITE: / sflight-carrid, sflight-connid, sflight-fldate. &lt;/P&gt;&lt;P&gt;GET sbook. &lt;/P&gt;&lt;P&gt;  bookings = bookings + 1. &lt;/P&gt;&lt;P&gt;  WRITE: / sbook-bookid, sbook-customid. &lt;/P&gt;&lt;P&gt;  IF bookings = max. &lt;/P&gt;&lt;P&gt;    STOP. &lt;/P&gt;&lt;P&gt;  ENDIF. &lt;/P&gt;&lt;P&gt;END-OF-SELECTION. &lt;/P&gt;&lt;P&gt;  ULINE. &lt;/P&gt;&lt;P&gt;  WRITE: / 'First', bookings, 'bookings'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;EXIT - processing_block&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax &lt;/P&gt;&lt;P&gt;EXIT. &lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;If the EXIT statement is executed outside of a loop, it will immediately terminate the current processing block. &lt;/P&gt;&lt;P&gt;After the processing block has been executed, the runtime environment behaves in such a way that it follows with the exception Reporting Event Blocks START-OF-SELECTION and GET the schema from Leave Processing Blocks. &lt;/P&gt;&lt;P&gt;After the Reporting Processing Blocks START-OF-SELECTION and GET have been exited using EXIT, the runtime environment does not trigger any further reporting events. Instead, it directly calls the list processor for displaying the basic list. &lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;We recommend using EXIT only within loops (see EXIT - loops ). Instead, use RETURN to leave processing blocks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;EXIT - loop&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax &lt;/P&gt;&lt;P&gt;EXIT. &lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;If the EXIT statement is listed within a loop, it leaves the loop by ending the current loop process. Program execution is continued after the closing statement in the loop. &lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;Outside of a loop, the EXIT statement leaves the current processing block (see EXIT - Processing block). We recommend that you use EXIT within loops only. &lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;Leaving a loop with EXIT if the loop index sy-index is greater than a number limit. &lt;/P&gt;&lt;P&gt;DATA limit TYPE i VALUE 10. &lt;/P&gt;&lt;P&gt;DO. &lt;/P&gt;&lt;P&gt;  IF sy-index &amp;gt; limit. &lt;/P&gt;&lt;P&gt;    EXIT. &lt;/P&gt;&lt;P&gt;  ENDIF. &lt;/P&gt;&lt;P&gt;  WRITE / sy-index. &lt;/P&gt;&lt;P&gt;ENDDO. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;EXIT FROM SQL&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax &lt;/P&gt;&lt;P&gt;EXIT FROM SQL. &lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;This statement, which is forbidden in classes, is only executed during processing of subroutines that were called using the PERFORMING addition EXEC SQL. Otherwise it is ignored. &lt;/P&gt;&lt;P&gt;The statement has the effect that implicit cursor processing is terminated after the current subroutine has finished. Processing of the called ABAP program is continued after ENDEXEC, whereby sy-dbcnt contains the number of rows read up until that point and sy-subrc is set to the value 4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;EXIT FROM STEP-LOOP&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax &lt;/P&gt;&lt;P&gt;EXIT FROM STEP-LOOP. &lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;During the processing of Table Controls or Steploops with the statement LOOP in the Dynpro-flow logic, this statement effects the immediate termination of the loop. The current ABAP- processing block is instantly left and the dynpro flow logic continues after the statement ENDLOOP. During the PBO-processing, the statement effects that the current and the following table-control-rows resp. steploop-groups are not displayed on the screen. If the statement is not processed during execution of a LOOP-loop in the dynpro flow logic, then the program terminates with a termination message. &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;Rama.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 09:46:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/stop/m-p/2992200#M706687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T09:46:00Z</dc:date>
    </item>
  </channel>
</rss>

