<?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: Internal Table Key in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-key/m-p/1176049#M124356</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jerry,&lt;/P&gt;&lt;P&gt;  If you dont specify explicitly,there wont be any key for the internal table.&lt;/P&gt;&lt;P&gt;So itab2 has similar structure as itab1 but it doesnt take other properties of itab1 unless you specify.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Feb 2006 17:04:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-09T17:04:27Z</dc:date>
    <item>
      <title>Internal Table Key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-key/m-p/1176048#M124355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to the documentation, the default standard key contains the non-numeric components of a structure.  If I only have numeric components, does a key get created?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, below itab1 has a key of my_index.  But what is the key of itab2, if any?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe it is a trivial question, but it is bugging me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  z_itab_keys.

TYPES: BEGIN OF z_index,
         my_index  TYPE i,
         my_salary TYPE p,
       END OF z_index.

DATA:  z_itab1 TYPE TABLE OF z_index WITH NON-UNIQUE KEY my_index,
       z_itab2 TYPE TABLE OF z_index WITH NON-UNIQUE DEFAULT KEY.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2006 17:00:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-key/m-p/1176048#M124355</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-09T17:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table Key</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-key/m-p/1176049#M124356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jerry,&lt;/P&gt;&lt;P&gt;  If you dont specify explicitly,there wont be any key for the internal table.&lt;/P&gt;&lt;P&gt;So itab2 has similar structure as itab1 but it doesnt take other properties of itab1 unless you specify.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2006 17:04:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-key/m-p/1176049#M124356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-09T17:04:27Z</dc:date>
    </item>
  </channel>
</rss>

