<?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 check&amp;continue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-check-continue/m-p/3561829#M857096</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CHECK evaluates the subsequent logical expression. If it is true, the processing continues with the next statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHECK with a negative outcome terminates the current loop pass and goes back to the beginning of the loop to start the next pass, if there is one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONTINUE terminates the current loop pass, returns the processing to the beginning of the loop and starts the next loop pass, if there is one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;DO loop: Omit an area (10 ... 20) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO 100 TIMES. &lt;/P&gt;&lt;P&gt;IF SY-INDEX &amp;gt;= 10 AND SY-INDEX &amp;lt;= 20. &lt;/P&gt;&lt;P&gt;CONTINUE. &lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;... &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;anya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Mar 2008 05:55:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-18T05:55:55Z</dc:date>
    <item>
      <title>difference between check&amp;continue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-check-continue/m-p/3561826#M857093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;difference between check&amp;amp;continue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 05:52:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-check-continue/m-p/3561826#M857093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-18T05:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: difference between check&amp;continue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-check-continue/m-p/3561827#M857094</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 is conditional,continue  is non conditional.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DO 4 TIMES.
  CHECK sy-index &amp;gt; 2.
  WRITE sy-index.
ENDDO.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;output:&lt;/STRONG&gt;3 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DO 4 TIMES.
  IF not sy-index &amp;gt; 2.
    CONTINUE.
  ENDIF.
  WRITE sy-index.
ENDDO.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;output:&lt;/STRONG&gt;3 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 05:55:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-check-continue/m-p/3561827#M857094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-18T05:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: difference between check&amp;continue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-check-continue/m-p/3561828#M857095</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 statement is like IF and EXIT combined. That is if check statement fails then it skips the programing code next..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Continue statement is used inside the loops if we want to again start the loop with the same record thus there is no exit..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points!!!!!!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 05:55:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-check-continue/m-p/3561828#M857095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-18T05:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: difference between check&amp;continue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-check-continue/m-p/3561829#M857096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CHECK evaluates the subsequent logical expression. If it is true, the processing continues with the next statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHECK with a negative outcome terminates the current loop pass and goes back to the beginning of the loop to start the next pass, if there is one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONTINUE terminates the current loop pass, returns the processing to the beginning of the loop and starts the next loop pass, if there is one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;DO loop: Omit an area (10 ... 20) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO 100 TIMES. &lt;/P&gt;&lt;P&gt;IF SY-INDEX &amp;gt;= 10 AND SY-INDEX &amp;lt;= 20. &lt;/P&gt;&lt;P&gt;CONTINUE. &lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;... &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;anya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 05:55:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-check-continue/m-p/3561829#M857096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-18T05:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: difference between check&amp;continue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-check-continue/m-p/3561830#M857097</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 evaluates the subsequent logical expression. If it is true, the processing continues with the next statement. &lt;/P&gt;&lt;P&gt;CHECK with a negative outcome terminates the current loop pass and goes back to the beginning of the loop to start the next pass, if there is one. Examples of loop structures are: &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;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;Outside loops, a CHECK with a negative outcome will cause you to exit the current processing block (event block, dialog module, procedure). During the reporting event GET, the system terminates the processing of the current entry, read by the logical database, and processes the next entry in the current node of the logical database. Nodes that are subordinate in the hierarchical structure of the logical database are not processed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP recommends that you only use CHECK within loops. Use the RETURN statement to exit processing blocks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within loop structures like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO     ... ENDDO &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHILE ... ENDWHILE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP ... ENDLOOP &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT ... ENDSELECT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONTINUE terminates the current loop pass, returns the processing to the beginning of the loop and starts the next loop pass, if there is one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful.&lt;/P&gt;&lt;P&gt;Reward points if useful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sowmya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 06:00:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-check-continue/m-p/3561830#M857097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-18T06:00:09Z</dc:date>
    </item>
  </channel>
</rss>

