<?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 check statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/2328232#M511916</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;define check statement how it works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jun 2007 12:56:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-12T12:56:14Z</dc:date>
    <item>
      <title>check statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/2328232#M511916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;define check statement how it works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 12:56:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/2328232#M511916</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T12:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: check statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/2328233#M511917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;       its just a check statement which returns the expression given is true or false.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHECK log_exp. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;If the statement CHECK is executed in a loop and log_exp is incorrect, the statement CHECK immediately terminates the current loop pass and the program continues with the next loop pass. For log_exp, you can specify any logical expression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant 1 &lt;/P&gt;&lt;P&gt;CHECK log_exp. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;If the statement CHECK is executed outside a loop and log_exp is incorrect, the statement terminates the current process block. You can specify any logical expression for log_exp. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The behavior of the runtime environment after exiting the processing block is described under Exiting Processing Blocks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;SAP recommends to use this procedure with the statement CHECK only inside loops (see CHECK - Loop). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant 2 &lt;/P&gt;&lt;P&gt;CHECK SELECT-OPTIONS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;In this way, you can use CHECK only in event blocks for reporting events GET but not in methods. Regardless of whether the statement is executed inside or outside a loop, the effect is the same. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The statement checks whether the content of theinterface working area that was filled for the the current GET event by the logical database fullfills the conditions in all selection tables that are associated with the current node of the logical database. The name of the node is statically taken from the next highest GET statement in the program. The following restrictions apply: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The statement CHECK SELECT-OPTIONS is only executed when the type of the current node of the logical database is a database table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the node is to be used for unlimited selections, the statement only evaluates the selection criteria that have been declared with the extension NO DATABASE SELECTION of the statement SELECT-OPTIONS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the conditions in one of the selection tables are not fullfilled, the GET event block is exited. The behavior of the runtime environment is described under Exiting Processing Blocks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;*Reward points&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 12:57:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/2328233#M511917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T12:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: check statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/2328234#M511918</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;Conditional termination of a loop pass or a processing block.&lt;/P&gt;&lt;P&gt;Syntax&lt;/P&gt;&lt;P&gt;CHECK &amp;lt;logexp&amp;gt;.&lt;/P&gt;&lt;P&gt;If the logical expression &amp;lt;logexp&amp;gt; is true, the program continues at the next statement. If,&lt;/P&gt;&lt;P&gt;however, &amp;lt;logexp&amp;gt; is false, the current loop pass terminates and the next begins. If the program&lt;/P&gt;&lt;P&gt;is not currently processing a loop, the current processing block terminates. There are special&lt;/P&gt;&lt;P&gt;forms of the CHECK statement for use with selection tables and in GET event blocks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex.&lt;/P&gt;&lt;P&gt;CHECK: WA_SPFLI-CARRID IN S_CARRID,&lt;/P&gt;&lt;P&gt;WA_SPFLI-CITYFR IN S_CITYFR,&lt;/P&gt;&lt;P&gt;WA_SPFLI-CITYTO IN S_CITYTO,&lt;/P&gt;&lt;P&gt;SPFLI-CONNID IN S_CONNID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2007 15:51:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/2328234#M511918</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-12T15:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: check statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/2328235#M511919</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;thanks to all  for responding to my query&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;suri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2007 11:11:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-statement/m-p/2328235#M511919</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-15T11:11:25Z</dc:date>
    </item>
  </channel>
</rss>

