<?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: Question about check in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-check/m-p/3713241#M893871</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 lv_tmp is initial.&lt;/P&gt;&lt;P&gt;  return.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There will be 3 lines, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check lv_tmp is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;need only one line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why not use it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 May 2008 05:25:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-06T05:25:53Z</dc:date>
    <item>
      <title>Question about check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-check/m-p/3713239#M893869</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;Why exit and check can only used in loop , why cannot it be used in if ... else statement ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this warning message was reported by extended check.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 05:12:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-check/m-p/3713239#M893869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T05:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Question about check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-check/m-p/3713240#M893870</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. endif. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is a conditional statement.&lt;/P&gt;&lt;P&gt;The conditional statement is not a loop statement.&lt;/P&gt;&lt;P&gt;if you use the same in conditional if the check is not satisfied with the condition.the it will go directly to the end of the program.&lt;/P&gt;&lt;P&gt;that is the reason why we not use the same in between if and endif &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;madan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 05:21:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-check/m-p/3713240#M893870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T05:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Question about check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-check/m-p/3713241#M893871</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 lv_tmp is initial.&lt;/P&gt;&lt;P&gt;  return.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There will be 3 lines, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check lv_tmp is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;need only one line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why not use it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 05:25:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-check/m-p/3713241#M893871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T05:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Question about check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-check/m-p/3713242#M893872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Blake Le,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RETURN&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This statement immediately ends the current processing block. It can appear in any area of a processing block and ends this block regardless of which statement block or control structure the statement is in. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After leaving the processing block, the runtime environment, except for the reporting event blockSTART-OF-SELECTION, follows the schema in Leave processing blocks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After you end the reporting event block START-OF-SELECTIONwith RETURN, the runtime environment does not trigger any further reporting events, rather, it calls the list processor directly to display the basic list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CHECK&lt;/STRONG&gt;&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. &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;&lt;STRONG&gt;SAP recommends to use this procedure with the statement CHECK only inside loops&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;raam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 05:40:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-check/m-p/3713242#M893872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T05:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Question about check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-check/m-p/3713243#M893873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, raam, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks , this solve my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 05:47:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-check/m-p/3713243#M893873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T05:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Question about check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-check/m-p/3713244#M893874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Blake,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     &lt;STRONG&gt;if....else&lt;/STRONG&gt; is a condotional statement that iterates only once. There is no chance of iterating more than once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main intention behind using EXIT and CHECK is to come out of a situation which is not satisfies a certain condition at some point of time during iteration. This iteration is not possible in IF condition. because it executes only once.It contains ELSE condition.It specifies what to do &lt;STRONG&gt;IF&lt;/STRONG&gt; condition fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the main reason behind SAP suggestion &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHECK is used in loops. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful, reward points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank u&lt;/P&gt;&lt;P&gt;Prasad G.V.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 06:07:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-about-check/m-p/3713244#M893874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T06:07:37Z</dc:date>
    </item>
  </channel>
</rss>

