<?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: Error in TYPES internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-types-internal-table/m-p/3438162#M825658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In this case you need to use for all entries in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to use IN than the internal table is to have specific structure with sign option low and high. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Wojciech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2008 20:57:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-21T20:57:44Z</dc:date>
    <item>
      <title>Error in TYPES internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-types-internal-table/m-p/3438161#M825657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to fetch data from table1 and based on the entries I get from first select qry, I  am fetching the records from the another table2 &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TYPES:  BEGIN of tag,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                   &lt;STRONG&gt;data_field type c,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;              &lt;STRONG&gt;END of tag.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DATA: my_tab type table of tag.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;SELECT  fild FROM  table1 INTO TABLE my_tab .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SELECT  xyz  FROM table2 .............WHERE xyz IN my_tab&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting the error as  &lt;STRONG&gt;"the tag structure of the table "my_tab" is incorrect. "&lt;/STRONG&gt; in the last SELECT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is an error in above code ?&lt;/P&gt;&lt;P&gt;Can we specify "IN" with an internal table or do we need to have the subquery with "IN" ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 20:53:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-types-internal-table/m-p/3438161#M825657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T20:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error in TYPES internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-types-internal-table/m-p/3438162#M825658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In this case you need to use for all entries in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to use IN than the internal table is to have specific structure with sign option low and high. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Wojciech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 20:57:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-types-internal-table/m-p/3438162#M825658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T20:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error in TYPES internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-types-internal-table/m-p/3438163#M825659</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;Use the following statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select xyz from table2 into table it_tab for all the entries in my_tab where xyz = my_tab-fild.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This above statement will work only if  field 'fild' of table 'my_tab' is same as that of 'xyz' of table2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 14:24:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-types-internal-table/m-p/3438163#M825659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T14:24:47Z</dc:date>
    </item>
  </channel>
</rss>

