<?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: difference between exit,stop,check in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224020#M137301</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the SAP F1 Help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic form    EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect        -  Within a loop structure:&lt;/P&gt;&lt;P&gt;                 Terminates looop processing (DO, WHILE, LOOP, SELECT).&lt;/P&gt;&lt;P&gt;              -  Within subroutines and other modularization units (but not&lt;/P&gt;&lt;P&gt;                 in a loop structure):&lt;/P&gt;&lt;P&gt;                 Leaves the subroutine or modularization unit (FORM, MODULE,&lt;/P&gt;&lt;P&gt;                 FUNCTION, TOP-OF-PAGE, END-OF-PAGE).&lt;/P&gt;&lt;P&gt;              -  Outside loop structures and modularization units (report&lt;/P&gt;&lt;P&gt;                 processing):&lt;/P&gt;&lt;P&gt;                 Terminates report processing and triggers list display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement is not allowed in an ABAP Objects context. Se&lt;/P&gt;&lt;P&gt;STOP not allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement terminates a processing block in an excutable&lt;/P&gt;&lt;P&gt;program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The statement is only intended for use in the INITIALIZATION,&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN, START-OF-SELECTION, and GET events. It&lt;/P&gt;&lt;P&gt;terminates the current processing block in an executable&lt;/P&gt;&lt;P&gt;program and triggers the END-OF-SELECTION event. In all other&lt;/P&gt;&lt;P&gt;processing blocks, or when you do not want to trigger the&lt;/P&gt;&lt;P&gt;END-OF-SELECTION event, you must use EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic form    CHECK logexp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect        CHECK evaluates the subsequent logical expression. If it is&lt;/P&gt;&lt;P&gt;              true, the processing continues with the next statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              In loop structures like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              DO     ... ENDDO&lt;/P&gt;&lt;P&gt;              WHILE  ... ENDWHILE&lt;/P&gt;&lt;P&gt;              LOOP   ... ENDLOOP&lt;/P&gt;&lt;P&gt;              SELECT ... ENDSELECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              CHECK with a negative outcome terminates the current loop pass&lt;/P&gt;&lt;P&gt;              and goes back to the beginning of the loop to start the next&lt;/P&gt;&lt;P&gt;              pass, if there is one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              In structures like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              FORM     ...  ENDFORM&lt;/P&gt;&lt;P&gt;              FUNCTION ...  ENDFUNCTION&lt;/P&gt;&lt;P&gt;              MODULE   ...  ENDMODULE&lt;/P&gt;&lt;P&gt;              AT events&lt;/P&gt;&lt;P&gt;              GET events&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              CHECK with a negative outcome terminates the routine or&lt;/P&gt;&lt;P&gt;              modularization unit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              If CHECK is neither in a loop nor a routine nor a&lt;/P&gt;&lt;P&gt;              modularization unit, a negative logical expression terminates&lt;/P&gt;&lt;P&gt;              the current event. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Mar 2006 09:42:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-02T09:42:01Z</dc:date>
    <item>
      <title>difference between exit,stop,check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224014#M137295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can anybody tell the difference between exit,stop,check  in all events ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2006 09:32:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224014#M137295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-02T09:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: difference between exit,stop,check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224015#M137296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi senthil,&lt;/P&gt;&lt;P&gt;          Exit statement means coming out of program i.e, triggering END-OF-SELECTION and stop statement means coming out of block/loops.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2006 09:36:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224015#M137296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-02T09:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: difference between exit,stop,check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224016#M137297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;exit statments is exit the current loop. and moving to next loop but stop statement move to end of selection. it's not check all other loops.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2006 09:37:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224016#M137297</guid>
      <dc:creator>vinod_gunaware2</dc:creator>
      <dc:date>2006-03-02T09:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: difference between exit,stop,check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224017#M137298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;exit: if inside loop and endloop , comes out of it.&lt;/P&gt;&lt;P&gt;if outside loop then terminates the program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;stop: triggers end_of_selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check: if the statement with check is true goes to next else not (like if and endif)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2006 09:39:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224017#M137298</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-03-02T09:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: difference between exit,stop,check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224018#M137299</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;CHECK it will check your condition if it satisfies it go further. If not it will Continue to start of loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at bsid_it.&lt;/P&gt;&lt;P&gt;    clear excel_it.&lt;/P&gt;&lt;P&gt;    clear: duedt,&lt;/P&gt;&lt;P&gt;           sbgrp_it,&lt;/P&gt;&lt;P&gt;           output_it,&lt;/P&gt;&lt;P&gt;           t024b_it,&lt;/P&gt;&lt;P&gt;           bkunnr,&lt;/P&gt;&lt;P&gt;           bname1,&lt;/P&gt;&lt;P&gt;           btelf1,&lt;/P&gt;&lt;P&gt;           xblnr,&lt;/P&gt;&lt;P&gt;           adrnr,&lt;/P&gt;&lt;P&gt;           addrnumber,&lt;/P&gt;&lt;P&gt;           tel_ext.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    duedt = bsid_it-zfbdt + bsid_it-zbd1t.&lt;/P&gt;&lt;P&gt;    check duedt in sduedt.&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;-------&lt;/P&gt;&lt;P&gt;................&lt;/P&gt;&lt;P&gt;...................&lt;/P&gt;&lt;P&gt;.....................&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here if this condition satisfies only it will go down.If Not it will be back to loop for next record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exit will terminates the loop completely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;If this helps you reward with points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: KDeepak&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2006 09:40:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224018#M137299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-02T09:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: difference between exit,stop,check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224019#M137300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;exit:&lt;/P&gt;&lt;P&gt;it exits from the inner loop in case of loop, select,try .&lt;/P&gt;&lt;P&gt;and if not inside loop. stops the program executation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check:&lt;/P&gt;&lt;P&gt;contains a logical condition.&lt;/P&gt;&lt;P&gt;next line is only processed iff the condtion results in true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;stop.&lt;/P&gt;&lt;P&gt;it stops event dispatcher. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2006 09:41:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224019#M137300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-02T09:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: difference between exit,stop,check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224020#M137301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the SAP F1 Help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic form    EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect        -  Within a loop structure:&lt;/P&gt;&lt;P&gt;                 Terminates looop processing (DO, WHILE, LOOP, SELECT).&lt;/P&gt;&lt;P&gt;              -  Within subroutines and other modularization units (but not&lt;/P&gt;&lt;P&gt;                 in a loop structure):&lt;/P&gt;&lt;P&gt;                 Leaves the subroutine or modularization unit (FORM, MODULE,&lt;/P&gt;&lt;P&gt;                 FUNCTION, TOP-OF-PAGE, END-OF-PAGE).&lt;/P&gt;&lt;P&gt;              -  Outside loop structures and modularization units (report&lt;/P&gt;&lt;P&gt;                 processing):&lt;/P&gt;&lt;P&gt;                 Terminates report processing and triggers list display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement is not allowed in an ABAP Objects context. Se&lt;/P&gt;&lt;P&gt;STOP not allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement terminates a processing block in an excutable&lt;/P&gt;&lt;P&gt;program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The statement is only intended for use in the INITIALIZATION,&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN, START-OF-SELECTION, and GET events. It&lt;/P&gt;&lt;P&gt;terminates the current processing block in an executable&lt;/P&gt;&lt;P&gt;program and triggers the END-OF-SELECTION event. In all other&lt;/P&gt;&lt;P&gt;processing blocks, or when you do not want to trigger the&lt;/P&gt;&lt;P&gt;END-OF-SELECTION event, you must use EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic form    CHECK logexp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect        CHECK evaluates the subsequent logical expression. If it is&lt;/P&gt;&lt;P&gt;              true, the processing continues with the next statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              In loop structures like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              DO     ... ENDDO&lt;/P&gt;&lt;P&gt;              WHILE  ... ENDWHILE&lt;/P&gt;&lt;P&gt;              LOOP   ... ENDLOOP&lt;/P&gt;&lt;P&gt;              SELECT ... ENDSELECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              CHECK with a negative outcome terminates the current loop pass&lt;/P&gt;&lt;P&gt;              and goes back to the beginning of the loop to start the next&lt;/P&gt;&lt;P&gt;              pass, if there is one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              In structures like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              FORM     ...  ENDFORM&lt;/P&gt;&lt;P&gt;              FUNCTION ...  ENDFUNCTION&lt;/P&gt;&lt;P&gt;              MODULE   ...  ENDMODULE&lt;/P&gt;&lt;P&gt;              AT events&lt;/P&gt;&lt;P&gt;              GET events&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              CHECK with a negative outcome terminates the routine or&lt;/P&gt;&lt;P&gt;              modularization unit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              If CHECK is neither in a loop nor a routine nor a&lt;/P&gt;&lt;P&gt;              modularization unit, a negative logical expression terminates&lt;/P&gt;&lt;P&gt;              the current event. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2006 09:42:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224020#M137301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-02T09:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: difference between exit,stop,check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224021#M137302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Senthil,&lt;/P&gt;&lt;P&gt; In ALL Events..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;lt;b&amp;gt;check&amp;lt;/b&amp;gt; immediately leaves the current event and processing &amp;lt;b&amp;gt;continues with the next event&amp;lt;/b&amp;gt; (or action, such as displaying the selection screen or output list). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;lt;b&amp;gt;stop&amp;lt;/b&amp;gt; immediately leaves the current event and goes directly to the end-of-selection event. Executing stop within end-of-selection leaves the event. &lt;/P&gt;&lt;P&gt;It doesn't cause an infinite loop...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In start-of-selection and events that occur after it &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;lt;b&amp;gt;exit&amp;lt;/b&amp;gt; terminates the report and shows the output list. A single exception exists; within top-of-page, exit behaves like check...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;lt;b&amp;gt;check&amp;lt;/b&amp;gt; leaves the event and processing continues with the next event (or action, such as display of the output list)...&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;check, exit, and stop do not set the value of sy-subrc&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;satesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2006 09:44:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224021#M137302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-02T09:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: difference between exit,stop,check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224022#M137303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In all events &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check immediately leaves the current event and processing continues with the next event (or action, such as displaying the selection screen or output list). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;stop immediately leaves the current event and goes directly to the end-of-selection event. Executing stop within end-of-selection leaves the event. It doesn't cause an infinite loop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In events that occur before start-of-selection &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exit and check have the same behavior. They both leave the event immediately and processing continues with the next event . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In start-of-selection and events that occur after it &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exit terminates the report and shows the output list. A single exception exists; within top-of-page, exit behaves like check. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check leaves the event and processing continues with the next event .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2006 09:46:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224022#M137303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-02T09:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: difference between exit,stop,check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224023#M137304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi senthil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. CHECK&lt;/P&gt;&lt;P&gt;   It simply checks a condition.&lt;/P&gt;&lt;P&gt;   If its true, then it continues further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. EXIT&lt;/P&gt;&lt;P&gt;   Leaves/Exits the current processing block.&lt;/P&gt;&lt;P&gt;   This block can be :&lt;/P&gt;&lt;P&gt;   a) loop / endloop&lt;/P&gt;&lt;P&gt;   b) if / endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. STOP&lt;/P&gt;&lt;P&gt;   Simply leaves the event block.&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2006 10:27:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224023#M137304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-02T10:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: difference between exit,stop,check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224024#M137305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Senthil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*)CONTINUE. &lt;/P&gt;&lt;P&gt;   Terminates a loop pass immediately without any  &lt;/P&gt;&lt;P&gt;   condition, continues with the next loop pass. &lt;/P&gt;&lt;P&gt;*)EXIT. &lt;/P&gt;&lt;P&gt;Acts in following sequence: &lt;/P&gt;&lt;P&gt;-Terminates a loop entirely without any condition and continues the processing after the closing statement (ENDDO, ENDWHILE, ENDSELECT). &lt;/P&gt;&lt;P&gt;-Within nested loops, leaves the current loop; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*) CHECK &amp;lt;condition&amp;gt;. &lt;/P&gt;&lt;P&gt;Acts in following sequence: &lt;/P&gt;&lt;P&gt;-For a loop, if the condition is false, skips all the remaining statements in the current statement block and continues with the next loop pass. &lt;/P&gt;&lt;P&gt;-For processing block, if the condition is false, leaves the processing block and branches to the processing block of the next occurring event; &lt;/P&gt;&lt;P&gt;-For a subroutine, if the condition is false, terminates the subroutine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;P&gt;Rewrd points , if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2006 10:43:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224024#M137305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-02T10:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: difference between exit,stop,check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224025#M137306</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;   Exit :  Exits from the inner most loop.&lt;/P&gt;&lt;P&gt;   Stop :  If this is encountered Control goes to the &lt;/P&gt;&lt;P&gt;           End-of-selection.&lt;/P&gt;&lt;P&gt;   check : If check fails control goes to the next loop&lt;/P&gt;&lt;P&gt;           pass.(If inside a Loop.. endloop.&lt;/P&gt;&lt;P&gt;           Else it goes to end-of-selection.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;GSR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2006 10:53:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-exit-stop-check/m-p/1224025#M137306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-02T10:53:54Z</dc:date>
    </item>
  </channel>
</rss>

