<?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: READ ITAB USING LOGICAL EXPRESSIONS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab-using-logical-expressions/m-p/4114408#M983715</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;How have you defined your Internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;data: itab like STANDARD TABLE OF z_table_name WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nikhil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jun 2008 01:27:56 GMT</pubDate>
    <dc:creator>nikhil_chitre</dc:creator>
    <dc:date>2008-06-27T01:27:56Z</dc:date>
    <item>
      <title>READ ITAB USING LOGICAL EXPRESSIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab-using-logical-expressions/m-p/4114407#M983714</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;Could anybody explain me why we cant use logical expression like OR while reading the data from an Internal table using the following command?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE itab INTO wa_itab WITH KEY f1 = 'AB'  f2 = 'CD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Mohan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 00:41:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab-using-logical-expressions/m-p/4114407#M983714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T00:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: READ ITAB USING LOGICAL EXPRESSIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab-using-logical-expressions/m-p/4114408#M983715</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;How have you defined your Internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;data: itab like STANDARD TABLE OF z_table_name WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nikhil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 01:27:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab-using-logical-expressions/m-p/4114408#M983715</guid>
      <dc:creator>nikhil_chitre</dc:creator>
      <dc:date>2008-06-27T01:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: READ ITAB USING LOGICAL EXPRESSIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab-using-logical-expressions/m-p/4114409#M983716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it's the syntax of the &lt;STRONG&gt;Read table statement&lt;/STRONG&gt;. But you can make a work around depending on your requirement. Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 02:57:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab-using-logical-expressions/m-p/4114409#M983716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T02:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: READ ITAB USING LOGICAL EXPRESSIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab-using-logical-expressions/m-p/4114410#M983717</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;For Reading Internal We Can use Key Field Or Index Method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So If You Read Internal Table By Keys Then,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Statement is &lt;/P&gt;&lt;P&gt;READ TABLE ITAB WITH KEY f1,&lt;/P&gt;&lt;P&gt; When We Read table by table index then,&lt;/P&gt;&lt;P&gt;READ TABLE ITAB INTO WA INDEX n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This The Syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sujit Pal on Jun 27, 2008 6:02 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sujit Pal on Jun 27, 2008 6:11 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 04:01:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab-using-logical-expressions/m-p/4114410#M983717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T04:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: READ ITAB USING LOGICAL EXPRESSIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab-using-logical-expressions/m-p/4114411#M983718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The concept of key in Internal table is not exactly as it in database table. They just refer a specific column is the form of a set of values representing the very row of internal table by which you may compare the values only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We use logical operator for single value variables or field value of Database table only as they are unique. That's why the syntax of READ is framed in such a way that you won't get any scope to give Logical operator to them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if found helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anirban Bhattacharjee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 04:12:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-itab-using-logical-expressions/m-p/4114411#M983718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T04:12:48Z</dc:date>
    </item>
  </channel>
</rss>

