<?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: Differences in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/differences/m-p/3676271#M885313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the logical expression of a check evaluates to true execution continues with the&lt;/P&gt;&lt;P&gt;next statement.  If it is false then leave current processing block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For an if statement, if the logical expression is true then execute the next statement in the if block.  If it is false either execute  the statement(s0 in eht else block or execute the statement after the end of the if-else-endif block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps a bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Greg Kern&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Apr 2008 19:02:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-16T19:02:50Z</dc:date>
    <item>
      <title>Differences</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differences/m-p/3676268#M885310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends, Pls reply me. What is the difference between Check statment and If statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 18:55:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differences/m-p/3676268#M885310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T18:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Differences</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differences/m-p/3676269#M885311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if has a corresponding endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when condition is satisfied, then it will process the code between if and endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whereas if u write a check statement then it goes ahead only if the cocndition is satisfied.&lt;/P&gt;&lt;P&gt;if condition is not satisfied it goes out of processing block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if u want ur program to exit if the condition is not satisfied then better write check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so  a check statement is equivalent to :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check &amp;lt;condn&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not&amp;lt;condn&amp;gt;&lt;/P&gt;&lt;P&gt; exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 18:59:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differences/m-p/3676269#M885311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T18:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Differences</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differences/m-p/3676270#M885312</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;After check statement , if the condition is not satisfying, remaining code will not work and goes back to loop the other record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After IF, if the condition is not satisfying, remaining code after endif will work.&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>Wed, 16 Apr 2008 19:02:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differences/m-p/3676270#M885312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T19:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Differences</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differences/m-p/3676271#M885313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the logical expression of a check evaluates to true execution continues with the&lt;/P&gt;&lt;P&gt;next statement.  If it is false then leave current processing block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For an if statement, if the logical expression is true then execute the next statement in the if block.  If it is false either execute  the statement(s0 in eht else block or execute the statement after the end of the if-else-endif block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps a bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Greg Kern&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 19:02:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differences/m-p/3676271#M885313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T19:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Differences</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differences/m-p/3676272#M885314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Conditional exiting of a processing block was done by check statement . means if it is not true it will exit automatically ..requres no exit..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report message-id zmsg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: test type i value 10.&lt;/P&gt;&lt;P&gt;if test = 10 .&lt;/P&gt;&lt;P&gt;message i000 with 'this is  equal to 10' .&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report message-id zmsg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: test type i value 10.&lt;/P&gt;&lt;P&gt;check test eq 10.&lt;/P&gt;&lt;P&gt;message i000 with 'this is  equal to 10' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venkat .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 19:06:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differences/m-p/3676272#M885314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T19:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Differences</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differences/m-p/3676273#M885315</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;Adding to what our friend has said: &lt;/P&gt;&lt;P&gt;1) In general if the condition fails using CHECK , then it  terminates the current processing block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)When you use 'CHECK' in LOOP and ENDLOOP , the statement CHECK immediately terminates the current loop pass and the program continues with the next loop pass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 19:07:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differences/m-p/3676273#M885315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T19:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Differences</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differences/m-p/3676274#M885316</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 : The check statement is coded within a loop. It can act very much like continue, passing control immediately to the terminating statement of the loop and bypassing the statements between. Unlike continue, it accepts a logical expression. If the expression is true, it does nothing. If it is false, it jumps to the end of the loop. &lt;/P&gt;&lt;P&gt;Syntax for the check Statement&lt;/P&gt;&lt;P&gt;The following is the syntax for the check statement. It can be used within a do, while, select, or loop.&lt;/P&gt;&lt;P&gt; [do/while/select/loop]&lt;/P&gt;&lt;P&gt;    ---&lt;/P&gt;&lt;P&gt;    check exp.&lt;/P&gt;&lt;P&gt;    ---&lt;/P&gt;&lt;P&gt;    [enddo/endwhile/endselect/endloop]&lt;/P&gt;&lt;P&gt;where: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149;  exp is a logical expression. &lt;/P&gt;&lt;P&gt;&amp;#149; --- represents any number of lines of code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If statement : The if statement in ABAP/4 has relational operators for equality and inequality and special relational operators for string comparisons and for bit masks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax for the if Statement&lt;/P&gt;&lt;P&gt;The following is the syntax for the if statement. &lt;/P&gt;&lt;P&gt;if [not] exp [ and [not] exp ] [ or [not] exp ].&lt;/P&gt;&lt;P&gt;    ---&lt;/P&gt;&lt;P&gt;[elseif exp.&lt;/P&gt;&lt;P&gt;    ---]&lt;/P&gt;&lt;P&gt;[else.&lt;/P&gt;&lt;P&gt;    ---]&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;where: &lt;/P&gt;&lt;P&gt;&amp;#149; exp is a logical expression that evaluates to a true or false condition. &lt;/P&gt;&lt;P&gt;&amp;#149; --- represents any number of lines of code. Even zero lines are allowed. &lt;/P&gt;&lt;P&gt;The following points apply: &lt;/P&gt;&lt;P&gt;&amp;#149; Every if must have a matching endif. &lt;/P&gt;&lt;P&gt;&amp;#149; else and elseif are optional. &lt;/P&gt;&lt;P&gt;&amp;#149; Parentheses can be used. Each parentheses must be separated by a space. For example, if ( f1 = f2 ) or ( f1 = f3 ) is correct, and if (f1 = f2) or (f1 = f3) is incorrect. &lt;/P&gt;&lt;P&gt;&amp;#149; Variables can be compared with blanks or zeros using the addition is initial. For example, if f1 is initial will be true if f1 is type c and is blank. If f1 is any other data type, the statement is true if f1 contains zeros. &lt;/P&gt;&lt;P&gt;&amp;#149; To accomplish negation, not must precede the logical expression. For example, if not f1 is initial is correct. if f1 is not initial is incorrect. &lt;/P&gt;&lt;P&gt;&amp;#149; Variables can be compared with nulls using the addition is null. For example, if f1 is null. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls, reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;rajyalakshmi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rajyalakshmi Attili on Apr 17, 2008 9:44 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rajyalakshmi Attili on Apr 17, 2008 9:47 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 04:14:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differences/m-p/3676274#M885316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-17T04:14:20Z</dc:date>
    </item>
  </channel>
</rss>

