<?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: Multiple criteria for Case statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-criteria-for-case-statement/m-p/1612884#M274690</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 all the case statement has the piece of code...or atlease some of them have the same piece of code..Use RANGES...and group them together...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Sep 2006 17:22:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-19T17:22:06Z</dc:date>
    <item>
      <title>Multiple criteria for Case statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-criteria-for-case-statement/m-p/1612882#M274688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;I have a code segment that would do something if one of about 40 criteria is returns true. I know that in Case statement, you can write as When...or...or...or...and so on but I am really hoping to find a better way (say for example, using internal table) or something so that my statement does not appears to be so long (imagine you have to hard-code in 40 criteria!) Could anyone help me with that? Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;anyi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2006 17:15:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-criteria-for-case-statement/m-p/1612882#M274688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-19T17:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple criteria for Case statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-criteria-for-case-statement/m-p/1612883#M274689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;store all ur cases to one internal table with one field named &amp;lt;b&amp;gt;CASE&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at itab.
 case itab-&amp;lt;b&amp;gt;case&amp;lt;/b&amp;gt;.
 endcase.
endloop&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2006 17:19:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-criteria-for-case-statement/m-p/1612883#M274689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-19T17:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple criteria for Case statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-criteria-for-case-statement/m-p/1612884#M274690</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 all the case statement has the piece of code...or atlease some of them have the same piece of code..Use RANGES...and group them together...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2006 17:22:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-criteria-for-case-statement/m-p/1612884#M274690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-19T17:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple criteria for Case statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-criteria-for-case-statement/m-p/1612885#M274691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having a similar issue.  I don't quite fully understand the idea of using a itab, case, which has all my values.  Can you please clairify..perhaps a sample piece of code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 20:18:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-criteria-for-case-statement/m-p/1612885#M274691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-09T20:18:17Z</dc:date>
    </item>
  </channel>
</rss>

