<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2148195#M453346</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls explain below :iam new to abap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.data:begin of iab occurs 0&lt;/P&gt;&lt;P&gt;     lifnr like lfa1-lifnr,&lt;/P&gt;&lt;P&gt;     -&lt;/P&gt;&lt;HR originaltext="-----" /&gt;&lt;P&gt;     -&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.DATA:itab type kna1 occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.DATA: itab like standerd table of str with unique key.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Apr 2007 13:16:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-18T13:16:28Z</dc:date>
    <item>
      <title>internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2148195#M453346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls explain below :iam new to abap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.data:begin of iab occurs 0&lt;/P&gt;&lt;P&gt;     lifnr like lfa1-lifnr,&lt;/P&gt;&lt;P&gt;     -&lt;/P&gt;&lt;HR originaltext="-----" /&gt;&lt;P&gt;     -&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.DATA:itab type kna1 occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.DATA: itab like standerd table of str with unique key.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 13:16:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2148195#M453346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T13:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2148196#M453347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;All are different ways of declaring internal tables&lt;/P&gt;&lt;P&gt;first one with just needed fields&lt;/P&gt;&lt;P&gt;second one with complete table fields&lt;/P&gt;&lt;P&gt;third one also like std table &lt;/P&gt;&lt;P&gt;so depending on your requirement you will be declaring and using the internal tables.&lt;/P&gt;&lt;P&gt;reward if useful&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 13:20:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2148196#M453347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T13:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2148197#M453348</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;  In the first scenario you can define more than one table fields in to an internal table. &lt;/P&gt;&lt;P&gt;Eg: Data: Begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;                 lifnr like lfa1-lifnr,&lt;/P&gt;&lt;P&gt;                 kunnr like kna1-kunnr,&lt;/P&gt;&lt;P&gt;                 matnr like kna1-matnr,&lt;/P&gt;&lt;P&gt;                 text    type c,&lt;/P&gt;&lt;P&gt;              End of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this you can define even variables in the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the second scenario you can define one internal table with only one table. It means that one internal table can hold only one table records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Haritha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 13:23:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2148197#M453348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T13:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2148198#M453349</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;Those nothing but internal table declarations. All are different ways of declaring internal tables.&lt;/P&gt;&lt;P&gt;First declaration is having just required fields.&lt;/P&gt;&lt;P&gt;Second one is having all the fields of the table kna1.&lt;/P&gt;&lt;P&gt;Third one is like std table kna1 having all the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;sksingh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 13:25:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2148198#M453349</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T13:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2148199#M453350</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;1.data:begin of iab occurs 0&lt;/P&gt;&lt;P&gt;lifnr like lfa1-lifnr,&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----" /&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;(this will be useful for including more than one data dictionary structure in an internal table and for incluuding some of the field in a data dictionary structure.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.DATA:itab type kna1 occurs 0 with header line.&lt;/P&gt;&lt;P&gt;(this will be useful incase of refering internaltable using only one data dictionary table)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 13:26:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2148199#M453350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T13:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2148200#M453351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All these are different ways of declaring internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.data:begin of iab occurs 0&lt;/P&gt;&lt;P&gt;lifnr like lfa1-lifnr,&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----" /&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------" /&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An internal table "itab" declaration,defining fields,&lt;/P&gt;&lt;P&gt;from one table or more than one table as required &lt;/P&gt;&lt;P&gt;and is with a header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table is created with a header line - a field with&lt;/P&gt;&lt;P&gt;the same name as the table. Its type is the same as the&lt;/P&gt;&lt;P&gt;line type of the internal table.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.DATA:itab type kna1 occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An Internal table "itab" declaration, defining fields from table &lt;/P&gt;&lt;P&gt;'kna1', with a  header line.The OCCURS value, determine the initial &lt;/P&gt;&lt;P&gt;number of table lines created. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table is created with a header line - a field with&lt;/P&gt;&lt;P&gt;the same name as the table. Its type is the same as the&lt;/P&gt;&lt;P&gt;line type of the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.DATA: itab like standerd table of str with unique key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab like standard table of str with Default key with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above case,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We cannot use the UNIQUE key addition with a standard table.&lt;/P&gt;&lt;P&gt;The key is always NON-UNIQUE by default. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An internal table "itab" declaration, defining fields from str and &lt;/P&gt;&lt;P&gt;is with header line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table is created with a header line - a field with&lt;/P&gt;&lt;P&gt;the same name as the table. Its type is the same as the&lt;/P&gt;&lt;P&gt;line type of the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award points if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Ravi Sankara Kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 16:33:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2148200#M453351</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T16:33:06Z</dc:date>
    </item>
  </channel>
</rss>

