<?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 statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/4165211#M995800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHECK &amp;lt;expr&amp;gt; statement within an event block but not within a loop, and the condition &amp;lt;expr&amp;gt; is not fulfilled, the system exits the processing block immediately. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandra Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jul 2008 13:33:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-14T13:33:28Z</dc:date>
    <item>
      <title>check statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/4165206#M995795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where we r using check statement exactly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 13:28:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/4165206#M995795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T13:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: check statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/4165207#M995796</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;we use check statement  to come out of a iteration or an event block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for details check the link with process diagram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9afe35c111d1829f0000e829fbfe/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anirban Bhattacharjee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 13:29:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/4165207#M995796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T13:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: check statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/4165208#M995797</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;If we donot want to process the code below it if some criteria fails then we use check statement  ...&lt;/P&gt;&lt;P&gt;Check out the below link for reference&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/check.htm" target="test_blank"&gt;http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/check.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Santosh Kumar Patha on Jul 14, 2008 7:00 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 13:30:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/4165208#M995797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T13:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: check statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/4165209#M995798</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;There  are different consequences if you use CHECK Statement in between Different Statement(LOOP ...ENDLOOP,DO...ENDO) of program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just Go through the link,Here is Detail description of the uses of CHECK Satement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9afe35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9afe35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will help you understanding the concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Sujit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 13:30:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/4165209#M995798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T13:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: check statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/4165210#M995799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii!&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;&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. 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;You can use the REJECT statement to exit the reporting event GET conditionally. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Abhijeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 13:32:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/4165210#M995799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T13:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: check statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/4165211#M995800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHECK &amp;lt;expr&amp;gt; statement within an event block but not within a loop, and the condition &amp;lt;expr&amp;gt; is not fulfilled, the system exits the processing block immediately. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandra Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 13:33:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/4165211#M995800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T13:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: check statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/4165212#M995801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this link for a clear understanding...&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/9f/db9ad735c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/9f/db9ad735c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;removed_by_moderator&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sinu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Julius Bussche on Jul 14, 2008 1:58 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 13:41:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/4165212#M995801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T13:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: check statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/4165213#M995802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vinay,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Check statement:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;To terminate a single loop pass conditionally, use the CHECK &amp;lt;condition&amp;gt; statement in the statement block of the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the condition is not true, any remaining statements in the current statement block after the CHECK statement are ignored, and the next loop pass starts. &amp;lt;condition&amp;gt; can be any logical expression.&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;Regards,&lt;/P&gt;&lt;P&gt;Sravanthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 13:52:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/4165213#M995802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T13:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: check statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/4165214#M995803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to suggest, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check statement - when we use CHECK statement in a processing block and condition is not fulfilled, we consider cases - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHECK W/O LOOP -&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;&amp;gt; Terminates the processing block   and exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHECK WITH LOOP -&lt;/P&gt;&lt;HR originaltext="-------" /&gt;&lt;P&gt;&amp;gt; Terminates only the loop, but not the processing block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[SDN - Reference for Check statement|&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="353230"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[SAP HELP - Reference for CHECK statement in processing block|http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9afe35c111d1829f0000e829fbfe/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[SAP HELP - Reference for CHECK statement in Unconditional loops|http://help.sap.com/saphelp_nw04s/helpdata/en/fc/eb3564358411d1829f0000e829fbfe/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that's clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck &amp;amp; Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Harsh Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2008 14:28:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/4165214#M995803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-14T14:28:51Z</dc:date>
    </item>
  </channel>
</rss>

