<?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 Internal table Key fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-key-fields/m-p/12195469#M1981213</link>
    <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
  &lt;P&gt;Is there any way to adopt the key of database table into internal table without explictly specifying all the key fields in the internal table declaration like&lt;/P&gt;
  &lt;P&gt;data &amp;lt;itab&amp;gt; type standard table of &amp;lt;dbtable&amp;gt; with &amp;lt;key=&amp;gt; it should be all key fields of database table&amp;gt;.&lt;/P&gt;
  &lt;P&gt;Say i have 10 key fields in database table and i dont want to declare them explictly, is there any specific key word which will automatically bring the keys fields into the internal table.&lt;/P&gt;
  &lt;P&gt;Thank You,&lt;/P&gt;
  &lt;P&gt;Shadab&lt;/P&gt;</description>
    <pubDate>Thu, 16 Apr 2020 15:16:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2020-04-16T15:16:00Z</dc:date>
    <item>
      <title>Internal table Key fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-key-fields/m-p/12195469#M1981213</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
  &lt;P&gt;Is there any way to adopt the key of database table into internal table without explictly specifying all the key fields in the internal table declaration like&lt;/P&gt;
  &lt;P&gt;data &amp;lt;itab&amp;gt; type standard table of &amp;lt;dbtable&amp;gt; with &amp;lt;key=&amp;gt; it should be all key fields of database table&amp;gt;.&lt;/P&gt;
  &lt;P&gt;Say i have 10 key fields in database table and i dont want to declare them explictly, is there any specific key word which will automatically bring the keys fields into the internal table.&lt;/P&gt;
  &lt;P&gt;Thank You,&lt;/P&gt;
  &lt;P&gt;Shadab&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 15:16:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-key-fields/m-p/12195469#M1981213</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-04-16T15:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table Key fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-key-fields/m-p/12195470#M1981214</link>
      <description>&lt;P&gt;No, there is no such functionality.&lt;/P&gt;&lt;P&gt;To avoid coding the stuff again and again, you can of course create a DDIC table type with the key defintion. Of course, you have to replicate the key definitions one time again, but then you have at one central position in the ABAP layer at least.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 16:10:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-key-fields/m-p/12195470#M1981214</guid>
      <dc:creator>pfefferf</dc:creator>
      <dc:date>2020-04-16T16:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table Key fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-key-fields/m-p/12195471#M1981215</link>
      <description>&lt;P&gt;No.&lt;BR /&gt;&lt;BR /&gt;But we wants it, my precious. We wants it. Specifically when I'm create a test double for db accesses (pre 7.52).&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 18:51:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-key-fields/m-p/12195471#M1981215</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2020-04-16T18:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table Key fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-key-fields/m-p/12195472#M1981216</link>
      <description>&lt;P&gt;Maybe someone could write a program to make such a type. But it would be a wonderful addition to ABAP to have it part of the language.  &lt;SPAN class="mention-scrubbed"&gt;horst.keller&lt;/SPAN&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 18:53:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-key-fields/m-p/12195472#M1981216</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2020-04-16T18:53:25Z</dc:date>
    </item>
  </channel>
</rss>

