<?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: CHECK behaviour?? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-behaviour/m-p/4013491#M958976</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check is nothing but in other terms if ...endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so no where it is equal to exit ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; now you can find the difference...do you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jun 2008 19:01:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-10T19:01:25Z</dc:date>
    <item>
      <title>CHECK behaviour??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-behaviour/m-p/4013486#M958971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. clarify my basic doubt that, Wht is CHECK behaviour in the folllowing scenarios?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) LOOP &lt;/P&gt;&lt;P&gt;check not my_itab[] is initial.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) form_1 &lt;/P&gt;&lt;P&gt;check not my_itab[] is initial.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Main Prog. blocks &lt;/P&gt;&lt;P&gt;check not my_itab[] is initial.&lt;/P&gt;&lt;P&gt;logic...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) Is END-OF-SELECTION triggers, if CHECK is true i.e. my_itab does hv records?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) IF &lt;/P&gt;&lt;P&gt;check not my_itab[] is initial.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 18:29:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-behaviour/m-p/4013486#M958971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T18:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: CHECK behaviour??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-behaviour/m-p/4013487#M958972</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;In 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;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;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;In structures like&lt;/P&gt;&lt;P&gt;&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&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHECK with a negative outcome terminates the routine or modularization unit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If CHECK is not in a loop or a routine or a modularization unit, a negative logical expression terminates the current event. In contrast, the statement REJECT terminates the current event, even from loops or subroutines. &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>Tue, 10 Jun 2008 18:35:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-behaviour/m-p/4013487#M958972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T18:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: CHECK behaviour??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-behaviour/m-p/4013488#M958973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where ever you write the check , if the condition fails the subsequent lines after the check will not be executed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 18:35:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-behaviour/m-p/4013488#M958973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T18:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: CHECK behaviour??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-behaviour/m-p/4013489#M958974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanq&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;guess, the EXIT also bhaves the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, then, pls. let the difference btwn CHECK and EXIT?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 18:53:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-behaviour/m-p/4013489#M958974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T18:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: CHECK behaviour??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-behaviour/m-p/4013490#M958975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exit doesnot check for any condition to exit the loop...whereas CHECK does.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 19:00:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-behaviour/m-p/4013490#M958975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T19:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: CHECK behaviour??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-behaviour/m-p/4013491#M958976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check is nothing but in other terms if ...endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so no where it is equal to exit ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; now you can find the difference...do you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 19:01:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-behaviour/m-p/4013491#M958976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T19:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: CHECK behaviour??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-behaviour/m-p/4013492#M958977</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 works similar to CHECK except that it doesn't check a given condition. Usually you would place it in some IF ENDIF clause. In a Loop and endloop statement exit comes out of the loop where the check continues to check the condition for the next record ignoring the code below the check statement... &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>Tue, 10 Jun 2008 19:05:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-behaviour/m-p/4013492#M958977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-10T19:05:52Z</dc:date>
    </item>
  </channel>
</rss>

